Website
This website is built using Mintlify, a modern website generator.
How to get a notebook rendered on the website
See here for instructions on how to get a notebook in the notebook
directory rendered on the website.
Build documentation locally
To build and test documentation locally, first install Node.js. For example,
nvm install --lts
Then, install the required packages by running the following commands:
pip install pydoc-markdown pyyaml termcolor nbclient
You also need to install quarto. Please click on the
Pre-release
tab from this website to download the latest version ofquarto
and install it. Ensure that thequarto
version is1.5.23
or higher.Finally, run the following commands to build and serve the documentation:
./scripts/docs_serve.sh
The last command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build with devcontainer
To build and test documentation using devcontainer, open the project using VSCode, press Ctrl+Shift+P
and select Dev Containers: Reopen in Container
.
This will open the project in a devcontainer with all the required dependencies installed.
Open a terminal and run the following command to build and serve the documentation:
./scripts/docs_serve.sh
Once done you should be able to access the documentation at http://localhost:3000/
.
Last updated