Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Repository files navigation

Ocelot documentation website

Docusaurus builds the reference in docs/docu and the worked examples in docs/tutorial. The sidebars follow the directory structure. Images and other downloadable files are served from static.

Build and check

Use Node.js 22 and the committed lockfile.

npm ci
npm start

Before submitting a change, run the production build and check internal links, images and fragments against the generated HTML.

npm run build
python3 scripts/check_links.py build

The pull-request workflow runs both checks. A successful push build on main publishes the checked output to the Pages branch. The KaTeX styles and fonts are bundled from the same package as the equation renderer.

Update a notebook-backed page

Record the Ocelot revision used to generate the example (git rev-parse HEAD). Edit the notebook in demos/ipython_tutorials or demos/docs in that checkout. From a temporary copy of its directory, including its companion lattice and data files, execute and export it:

jupyter nbconvert --execute --to notebook example.ipynb --output example.executed.ipynb
jupyter nbconvert --to markdown example.executed.ipynb

Update the affected inputs, outputs and figures in the website. Retain the page's front matter, figure URLs, heading targets, explanatory text and link to the source notebook. Label release-specific calls. Distinguish numeric agreement with a stated reference from a notebook that completes successfully. The site build renders the checked-in Markdown. Execute the Python examples separately.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages