Documentation Site for bamboost
This is a Next.js application generated with Create Fumadocs.
To edit doc content, modify the files under content/docs.
The rendering pipeline uses Quarto and Fumadocs.
The site is updated automatically when changes are pushed to the
main branch.
- pnpm - node package manager
- Node.js - JavaScript runtime environment
- uv - python package manager
- Quarto - something something
Sync python environment using uv:
uv syncInstall node dependencies using pnpm:
pnpm installExtract the API of bamboost and dump it to lib/:
The package that provides the command fumadocs-autodoc is custom and part of
this repository (but fetched from pypi).
fumadocs-autodoc bamboost -d libTo execute the quarto rendering pipeline and generate the doc content, run:
pnpm quarto-buildThe dev command includes the quarto build step automatically.
To start the development server, run:
pnpm devTo build the site for production, run:
pnpm buildTo update the orama cloud index, run (needs private API key):
pnpm sync-oramacloud- the config for the api docs is in
fumapy.config.ts. To add another package to be documented, add it in sources. E.g.nbformatat the route/nbformat:
{
sources: {
bamboost: {
baseUrl: "apidocs",
title: "API Reference",
pkgName: "bamboost",
options: {
className: "route-api",
},
sortClassMethods: true,
gitUrl: "https://gitlab.com/cmbm-ethz/bamboost/-/blob/main/bamboost",
excludeModules: [],
},
nbformat: {
baseUrl: "nbformat",
title: "API Reference",
pkgName: "nbformat",
options: {
className: "route-api",
},
sortClassMethods: true,
gitUrl: "https://gitlab.com/cmbm-ethz/bamboost/-/blob/main/bamboost",
excludeModules: [],
},
},
}