You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.0 kB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Website
  2. This website is built using [Docusaurus 3](https://docusaurus.io/), a modern static website generator.
  3. ## Prerequisites
  4. 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/).
  5. On Windows, you can install via the npm package manager (npm) which comes bundled with Node.js:
  6. ```console
  7. npm install --global yarn
  8. ```
  9. ## Installation
  10. ```console
  11. pip install pydoc-markdown pyyaml colored
  12. cd website
  13. yarn install
  14. ```
  15. ### Install Quarto
  16. `quarto` is used to render notebooks.
  17. Install it [here](https://github.com/quarto-dev/quarto-cli/releases).
  18. > Note: Ensure that your `quarto` version is `1.5.23` or higher.
  19. ## Local Development
  20. Navigate to the `website` folder and run:
  21. ```console
  22. pydoc-markdown
  23. python ./process_notebooks.py render
  24. yarn start
  25. ```
  26. This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.