Skip to content

zrlf/bamboost-docs

Repository files navigation

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.

Dependencies

  • pnpm - node package manager
  • Node.js - JavaScript runtime environment
  • uv - python package manager
  • Quarto - something something

Installation

Sync python environment using uv:

uv sync

Install node dependencies using pnpm:

pnpm install

Development

Extract 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 lib

To execute the quarto rendering pipeline and generate the doc content, run:

pnpm quarto-build

The dev command includes the quarto build step automatically. To start the development server, run:

pnpm dev

To build the site for production, run:

pnpm build

To update the orama cloud index, run (needs private API key):

pnpm sync-oramacloud

Tips

  • the config for the api docs is in fumapy.config.ts. To add another package to be documented, add it in sources. E.g. nbformat at 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: [],
    },
  },
}

About

Documentation site of bamboost

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •