2021-12-16 17:11:33 -08:00
# Website
2024-01-31 14:11:47 -08:00
This website is built using [Docusaurus 3 ](https://docusaurus.io/ ), a modern static website generator.
2021-12-16 17:11:33 -08:00
## Prerequisites
To build and test documentation locally, begin by downloading and installing [Node.js ](https://nodejs.org/en/download/ ), and then installing [Yarn ](https://classic.yarnpkg.com/en/ ).
On Windows, you can install via the npm package manager (npm) which comes bundled with Node.js:
```console
npm install --global yarn
```
## Installation
```console
2024-02-03 12:01:00 -05:00
pip install pydoc-markdown pyyaml colored
2021-12-16 17:11:33 -08:00
cd website
yarn install
```
2024-01-30 17:54:44 -05:00
### Install Quarto
`quarto` is used to render notebooks.
2024-03-13 20:49:39 -04:00
Install it [here ](https://github.com/quarto-dev/quarto-cli/releases ).
2024-01-30 17:54:44 -05:00
2024-03-13 20:49:39 -04:00
> Note: Ensure that your `quarto` version is `1.5.23` or higher.
2024-01-31 14:11:47 -08:00
2021-12-16 17:11:33 -08:00
## Local Development
2024-01-30 17:54:44 -05:00
Navigate to the `website` folder and run:
2021-12-16 17:11:33 -08:00
```console
pydoc-markdown
2024-02-29 15:47:30 -05:00
python ./process_notebooks.py render
2021-12-16 17:11:33 -08:00
yarn start
```
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.