Skip to content

About

Documentation for CodeOtter, the self-hosted AI pull request reviewer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

CodeOtter Docs

Source for docs.codeotter.io, the documentation for CodeOtter, the self-hosted AI pull request reviewer.

Built with Fumadocs (Next.js, Fumadocs MDX) as a static export, served from Cloudflare Workers static assets.

Writing docs

Pages are MDX files in content/docs. Sidebar order and section headings are in content/docs/meta.json. Images go in public/images.

npm install
npm run dev        # http://localhost:3000

Every page has an Edit on GitHub link, and pull requests are welcome. Keep the existing slugs stable: codeotter.io/docs/* redirects here by slug.

Checks

npm run lint
npm run types:check
npm run build      # writes the static site to out/

CI runs all three on every pull request.

Deploy

Pushes to main deploy through Cloudflare Workers Builds (build command npm run build, deploy command npx wrangler deploy). wrangler.jsonc uploads out/ and binds the docs.codeotter.io custom domain. To deploy by hand:

npm run build && npm run deploy

Project layout

Path Purpose
content/docs Documentation pages (MDX)
app/page.tsx, public/_redirects / redirects to /docs
app/docs Docs layout and page renderer
app/api/search/route.ts Static Orama search index
app/llms.txt, app/llms-full.txt, app/llms.mdx Markdown versions of the docs for LLMs
app/og Generated Open Graph images
lib/shared.ts Site name, URLs and GitHub repositories
lib/layout.shared.tsx Navigation shared by all layouts

About

Documentation for CodeOtter, the self-hosted AI pull request reviewer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages