This guide walks you through the minimum setup to create your own Jupyter Book based from this ECMWF Jupyter Book template.
Clone the repository¶
To clone this template repository and create your own Jupyter Book project, follow these steps:
Open the template repository on GitHub.
Click Use this template (green button, top-right).
Choose a repository name and owner.
Update myst.yml¶
Update the project metadata to reflect your project details. In particular, update the github and thebe.binder.repo fields with your repository name:
project:
title: <book title> # replace <book title> with your project title
# ...
github: ecmwf-training/<your-repo-name> # replace with your repository name
# ...
thebe:
binder:
repo: ecmwf-training/<your-repo-name> # replace with your repository name (same as above)Choose branding (optional)¶
By default, the template uses Copernicus Climate Change Service (C3S) branding. You can easily switch to ECMWF or Copernicus Atmosphere Monitoring Service (CAMS) branding instead:
Open the
myst.ymlfile in the root of your Jupyter Book repository.Change the
extendsline to select the desired branding configuration:
extends:
- branding/ecmwf.ymlextends:
- branding/c3s.ymlextends:
- branding/cams.ymlThat is all that is required.
Next steps¶
Remove the example content and start adding your own pages and notebooks, following the best practices.
Before submitting your work for ECMWF review, review your Jupyter Book yourself by following the quality assurance guidelines.
That’s it! You’re now ready to start drafting your book.