Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 06f9e62

Browse files
ianhipre-commit-ci[bot]
andauthored
add favicon and local build instructions (#343)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1ff836d commit 06f9e62

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

‎README.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,26 @@ cd xarray-tutorial
4343
pixi run tutorial
4444
```
4545

46+
### Building the Documentation Locally
47+
48+
To build and serve the tutorial website locally as a development server:
49+
50+
1. Build the Jupyter Book:
51+
52+
```bash
53+
pixi run build
54+
```
55+
56+
2. Serve the built site locally:
57+
58+
```bash
59+
pixi run python -m http.server --directory _build/html
60+
```
61+
62+
Then visit http://localhost:8000 in your browser.
63+
64+
Note: The `build` command does not have live rebuilding. You'll need to re-run `pixi run build` after making changes to see updates.
65+
4666
## Contributing
4767

4868
Contributions are welcome and greatly appreciated! See our [CONTRIBUTING.md](./CONTRIBUTING.md) document.

‎_config.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ html:
1818
extra_footer: '<p>Xarray is a fiscally sponsored project of <a href="https://numfocus.org">NumFOCUS</a>, a nonprofit dedicated to supporting the open-source scientific computing community.<br> Theme by the <a href="https://ebp.jupyterbook.org">Executable Book Project</a>.</p> Content licensed under the terms of the <a href="https://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0 License</a>.'
1919
analytics:
2020
google_analytics_id: G-JRQHYVFQR7
21+
favicon: "images/favicon.ico"
2122

2223
parse:
2324
# https://jupyterbook.org/content/content-blocks.html?highlight=myst%20substitution#define-substitutions-for-your-whole-book

‎images/favicon.ico‎

1.23 KB
Binary file not shown.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /