Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

View your Jupyter Book

Before you deliver your work for review by ECMWF staff, it’s worth doing a quick self-check. You can either build the book locally on your computer, or use GitHub to build and host it for you.

Prerequisites

Option 1: View locally

Create a conda/mamba environment for building Jupyter Books:

conda create -y -n jupyter-build -c conda-forge python=3.12
conda activate jupyter-build
conda install jupyter-book

With your jupyter-build environment activated, run:

jupyter book clean  # confirm with "Yes" if prompted
jupyter book start

This will start a server that renders your book as a locally-served website. By default, it will be available at http://localhost:3000/. Open this URL in your web browser to inspect the rendered book.

Option 2: View via GitHub pages

Go to the “Settings” tab, then navigate to “Pages” on the left-hand menu pane. In the “Build and deployment” section set the source to “GitHub Actions” from the dropdown menu.

To get the link to the rendered Jupyter Book (GitHub pages), go to the “Actions” tab. You will see that the “Initial commit” action failed, this was because the pages were not enabled. You can then click the “Re-run all jobs” buttons in the top right to re-run the actions. This time it should succeed and provide a link to your GitHub pages in the flow diagram.

Self-review checklist

Before opening a pull request for review, verify that your notebook has filled in (or, where applicable, removed) each of the sections introduced by the template. The checklist below mirrors the manual-review criteria; the pull request template asks you to demonstrate that each criterion has been addressed. Where applicable, provide a link to the relevant section in the deployed notebook.

Some manual-review criteria are notebook-wide checks rather than direct notebook sections. Use the pull request template to justify these items when they are not explicit in the notebook text:

If a section does not apply to your notebook, remove it (or mark it not applicable) rather than leaving the placeholder text in place.