Skip to content

Add a Read the Docs site and cut the README to a quick start - #278

Open
adamw wants to merge 1 commit into
masterfrom
orca-docs-setup
Open

adamw wants to merge 1 commit into
masterfrom
orca-docs-setup

Conversation

@adamw

@adamw adamw commented Sep 26, 2026

Copy link
Copy Markdown
Member

Adds a Read the Docs site under docs/ and cuts the README down to a quick start.

Docs site

  • Sphinx + MyST + RTD theme, built straight from docs/ (.readthedocs.yaml, docs/conf.py, requirements.txt, Makefile, watch.sh), the same setup as sttp-ai minus mdoc. Orca's snippets are scala-cli scripts, so there is nothing for mdoc to compile; sbt updateDocs now walks docs/ to bump the version pins on release.
  • 24 pages in six blocks: Getting started, Using Orca, Authoring flows, API reference, Glossary (users and developers), Development. Everything the old README covered has a home; the table of contents and every page went through a critique pass for coverage, clarity and conciseness.
  • Canonical URL is https://orca.virtuslab.com. The Read the Docs project and the custom domain still need to be created on the RTD side.
  • A docs CI job runs sphinx-build -W, so a broken link or toctree entry fails CI.

README

Intro kept as is, then install, first run, one example flow, and pointers to the docs. The old example had a scoping bug (it reused a per-task session in the final review); the example and the tutorial now mint a final-fixer session like flows/implement.sc does.

Shell

orca create / orca fork used to hand the authoring agent the README as its API reference. The build now concatenates the docs pages in toctree order (project/ConcatDocs.scala) into orca-docs.md and bundles that instead; the prompts and their tests point at it, and the last-resort URL is the docs/ tree at the build's git ref.

Also

  • AGENTS.md, CONTRIBUTING.md and the example READMEs point at the docs instead of README sections.

🤖 Generated with Claude Code

Sphinx + MyST under docs/, built straight from the Markdown (no mdoc);
24 pages covering usage, built-in flows, settings, authoring, API,
glossaries and development. README keeps the intro, install and first
run. The shell bundles the concatenated docs instead of the README as
the authoring agent's reference. A docs CI job runs sphinx-build -W.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant