Commit 08d24c1
docs(site): introduce Starlight documentation site (#65)
* docs(site): introduce Starlight documentation site
Adds an Astro + Starlight documentation site under `docs/site/`,
published to GitHub Pages via `.github/workflows/docs.yml`.
Sidebar structure:
- Overview — intro + "Why AgentCore Runtime" + inline-SVG
architecture diagram.
- Setup Guide — Prepare agent for RL (with Before/After Tabs +
Expressive Code `ins` annotations), three backend setup pages
(slime detailed, rllm + verl as previews).
- Examples — short per-example pages (math, appworld, migration,
officebench) linking to the full upstream READMEs.
- API Reference — generated from source docstrings via
`docs/site/scripts/gen_api.py` (griffe). Covers the public
surface: `AgentCoreRLApp`, `RolloutClient` + `RolloutFuture` +
`BatchResult` family, `RewardFunction`, `SlimeRunner`, and the
two SGLang patch scripts.
- Troubleshooting — per-backend known-issues pages (slime has
real content; rllm + verl are preview stubs).
Other plumbing:
- Custom CSS (`src/styles/custom.css`) tightens typography site-wide
and styles the landing-page hero + architecture diagram.
- Staging banner rendered site-wide via a custom component.
- `pnpm gen:api` regenerates API reference pages from source;
output is committed so the Astro build has no Python dependency.
* docs(site): rename rllm-model-gateway to model-gateway, drop Tinker references, remove .vscode
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs(site): remove Tinker references, use rllm only
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs(site): rename rllm-model-gateway to model-gateway in index
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs(site): remove Tinker from sidebar navigation labels
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs(site): lowercase slime in labels, titles, and links
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs(site): refine rllm/slime setup guides and add rllm extra
- Adopt agentcore-rl-toolkit-centric install flow for the rllm backend
guide; install via [rllm] extra from this repo, link rllm install docs.
- Simplify data-prep sections on both rllm and slime guides to just the
JSONL row shape and one example.
- Move S3 bucket into prereqs as its own bullet on both guides; refer
to runtime ARN / S3 bucket as required SlimeRunner / rllm config args.
- Merge required AgentCore config overrides with general rllm CLI knobs
into one snippet.
- Add [rllm] optional extra in pyproject (rllm @ git+https://...) without
pulling rllm[agentcore] to avoid a circular dependency.
- Misc edits to overview, index, agent-adaptation, verl guide,
troubleshooting/slime, custom.css, and astro.config.mjs.
* docs(site): remove staging banner
Drop the orange "Staging preview" notice now that the site reflects
intended content. Removes the StagingBanner.astro component and the
Banner override in astro.config.mjs; per-page frontmatter banners
still work via Starlight's default behavior.
* docs(site): mark verl as coming soon, drop empty troubleshooting items
- Label the verl backend setup link as "(coming soon)" in the sidebar.
- Remove troubleshooting sidebar entries for rllm and verl (no
matching pages yet); slime troubleshooting remains.
* chore: allow direct references in hatch metadata for [rllm] extra
The [rllm] optional extra pins rllm via `git+https://...`, which is a
PEP 508 direct reference. Hatchling rejects these by default and CI
fails at `uv sync` with: "cannot be a direct reference unless field
`tool.hatch.metadata.allow-direct-references` is set to `true`".
Opt in so the editable install builds in CI.
* docs(site): rename Migration example to MigrationBench
Use the upstream benchmark name (MigrationBench) consistently in the
sidebar label, page title, and examples overview link.
* docs(app): fix reserved-keys bullets in app.py docstring
The save_result reserved-keys list rendered as a code block on the
generated API page (https://lliquid.github.io/agentcore-rl-toolkit/api/core/app/)
because the bullets were indented 4 spaces and used RST double-backticks.
Markdown turned the indented block into a preformatted block and showed
the backticks literally.
Use single backticks and a flush-left list. Also fix the matching note
in rollout_entrypoint. Regenerated docs/site/src/content/docs/api/core/app.md.
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2c93684 commit 08d24c1
34 files changed
Lines changed: 7220 additions & 8 deletions
File tree
- .github/workflows
- docs/site
- public
- scripts
- src
- assets
- content/docs
- api
- backends/slime
- core
- examples
- guides
- troubleshooting
- styles
- src/agentcore_rl_toolkit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments