os1ai
  • os1
  • Maintainers
  • NOTICE
  • os1: Responsible AI FAQs
  • Devcontainer Configurations for os1
  • .github
    • ISSUE_TEMPLATE
    • PULL_REQUEST_TEMPLATE
  • notebook
    • Contributing
  • Website
  • OS1
    • agentchat
      • contrib
        • agent_eval
        • captainagent
          • tools
Powered by GitBook
On this page
  • How to get a notebook rendered on the website
  • Build documentation locally
  • Build with devcontainer

Website

PreviousContributingNextOS1

Last updated 4 months ago

This website is built using , a modern website generator.

How to get a notebook rendered on the website

See for instructions on how to get a notebook in the notebook directory rendered on the website.

Build documentation locally

  1. To build and test documentation locally, first install . For example,

nvm install --lts

Then, install the required packages by running the following commands:

pip install pydoc-markdown pyyaml termcolor nbclient
  1. You also need to install quarto. Please click on the Pre-release tab from to download the latest version of quarto and install it. Ensure that the quarto version is 1.5.23 or higher.

  2. Finally, run the following commands to build and serve the documentation:

./scripts/docs_serve.sh

The last command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build with devcontainer

To build and test documentation using devcontainer, open the project using , press Ctrl+Shift+P and select Dev Containers: Reopen in Container.

This will open the project in a devcontainer with all the required dependencies installed.

Open a terminal and run the following command to build and serve the documentation:

./scripts/docs_serve.sh

Once done you should be able to access the documentation at http://localhost:3000/.

Mintlify
here
Node.js
this website
VSCode