Chroma's docs are designed to be as extensible as possible with little-to-no magic.
This repo is a NextJS + Markdoc project.
It also incldues Shadcn with Tailwind for components and styling.
- add accordion for troubleshooting
- keep tab state in query params
- bring in codgen and make it easy
- swag element in light/dark mode. eg the graphic on the index route
- turn on algolia once indexed
- turn back on "edit on github" button when public
- add more examples
- Breadcrumbs
- Table of Contents
- Sidenav with a "folder" structure
- Search
- Dark/Light Mode
- Responsive
- Global and Local state management with localstorage persistence
- Tabs
- Code styling with Prism
- Toasts
Chroma's documentation must be:
- well structured
- easy to understand
- easy to navigate
- easy to search
Too much of documentation, in AI in particular, is written in a way that is confusing and just downright poor techincal communication.
Chroma's docs are designed to "ladder complexity" and guide users through a beginner-intermediate-advanced journey.
Chroma's docs should heavily use examples and graphics to help developers understand learn quickly. No one reads walls of text.
yarn # install
yarn dev # run nextjsThe docs are deployed to Vercel.
yarn
yarn gen-js
pip install -r requirements.txt
yarn gen-python