Skip to content

Split the documentation into learning, concept and reference layers - #5

Merged
Miguel249 merged 1 commit into
mainfrom
docs/restructure
Aug 9, 2026
Merged

Split the documentation into learning, concept and reference layers#5
Miguel249 merged 1 commit into
mainfrom
docs/restructure

Conversation

@Miguel249

Copy link
Copy Markdown
Owner

Readers described the site as painful to use. It was six flat pages: a
308-line Getting started that doubled as the reference for ray casts,
events, sensors, filtering, joints and terrain; an Architecture page that
mixed ownership rules with the binding generator; a Benchmarks page that
opened with which 0.2.0 figures failed to reproduce; a Gallery that spent
a third of its length on the software rasterizer.

Now

Getting started        install, first simulation, the loop, where next
Guides                 bodies · shapes · collision filtering · queries ·
                       events · joints · terrain and meshes · characters ·
                       debug draw
Concepts               the simulation step · memory and ownership ·
                       handle validity · threading and determinism ·
                       the native layer
Examples               the sixteen samples, and what each one teaches
Gallery                the nine scenes
Benchmarks             numbers first, corrections at the end
Reference              API reference · API coverage · Architecture

Guides and Concepts have their own toc.yml, so each section gets a real
sidebar instead of a navbar dropdown.

Not a deletion pass. Every technical claim was checked against the
source; what left a page moved to the page that owns it. Two claims were
dropped rather than repeated because I could not source them from the
code, and one rule of thumb about height field size was replaced with
ByteCount, which the reader can measure.

Cross-links point at the generated API pages as file links: the
apiPage output format does not publish uids to the xref map, so
xref: URIs do not resolve.

Built with dotnet docfx docs/docfx.json --warningsAsErrors: 0 warnings.
Every anchor referenced across pages was verified against the generated
HTML, and the site was checked in a browser.

🤖 Generated with Claude Code

The site was six flat pages. Getting started was 308 lines covering
install, body types, the fixed step, user data, ray casts, callbacks,
events, sensors, filtering, joints, terrain and a pitfalls list, so
looking up one subject meant scrolling a tutorial. Architecture mixed
what a user needs to know about ownership with how the bindings are
generated. Benchmarks led with which figures failed to reproduce in
0.2.0 rather than with what the wrapper costs. Gallery spent a third of
its length on the rasterizer that drew it.

Nine guides and five concept pages now hold that material, one subject
each, reachable from a sidebar. Getting started is install, first
simulation, the loop and where to go next. Architecture keeps only the
contributor half: the submodule, the generator, the ABI dump and what CI
checks. Benchmarks leads with the numbers and keeps the corrections at
the end, where they still say what they said.

Nothing was deleted for length. The prose that went is prose that was
saying something twice, and the rest moved to the page that owns it.

Cross-links point at the generated API pages, which the apiPage output
format does not expose as xrefs, so they are file links rather than
xref: URIs.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Miguel249
Miguel249 merged commit 5295bd5 into main Aug 9, 2026
18 checks passed
@Miguel249
Miguel249 deleted the docs/restructure branch August 9, 2026 19:55
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