This documentation website is built using Docusaurus 3.0, a modern static website generator.
As Docusaurus 3.0 lacks support for search functionality, we utilize Docusaurus 2.4 plugins. When installing, include the --legacy-peer-deps keyword to handle legacy peer dependencies.
npm install --legacy-peer-depsTo initiate a local development server and open a browser window, execute the following command. Most changes are reflected live without requiring a server restart.
npm run startSince we employ local searching features, you need to build first and then serve it to see the result, as it builds its index during runtime.
npm run searchIt will do both and show you a result. You have to run it again, if you want to see more changes.
To include the notebooks a template from the open-source project, check out the superduper project into the same parent directory.
Then run:
jupyter nbconvert ../superduper/templates/$name/build.ipynb --clear-output
jupyter nbconvert ../superduper/templates/$name/build.ipynb --to markdown
mv ../superduper/templates/$name/build.md docs/templates/$name.mdGenerate static content into the build directory using the following command. The output can be served using any static content hosting service.
npm run buildUSE_SSH=true npm run deployGIT_USER=<Your GitHub username> npm run deployIf you use GitHub Pages for hosting, this command conveniently builds the website and pushes it to the gh-pages branch.