Repo for langfuse.com, based on Nextra
Pre-requisites: Node.js 18+, pnpm
- Optional: Create env based on .env.template
- Run
pnpm ito install the dependencies. - Run
pnpm devto start the development server on localhost:3333
All Jupyter notebooks are in the cookbook/ directory.
To render them within the documentation site, we convert them to markdown using jupyter nbconvert, move them to right path in the pages/ directory where they are rendered by Nextra (remark).
Steps after updating notebooks:
- Load python shell/env which has jupyter installed, e.g.
poetry install && poetry shell - Run
bash scripts/update_cookbook_docs.sh - Commit the changed markdown files
API reference is automatically generated based on the OpenAPI spec of the current production deployment of Langfuse Cloud.
Interested in stack of Q&A docs chatbot? Checkout the blog post for implementation details (all open source)
Run pnpm run analyze to analyze the bundle size of the production build using @next/bundle-analyzer.