Skip to content

Restyle the docs with the PFL brand theme and section FAQs - #46

Merged
richteague merged 5 commits into
masterfrom
docs/pfl-brand-theme
Nov 24, 2026
Merged

richteague merged 5 commits into
masterfrom
docs/pfl-brand-theme

Conversation

@richteague

Copy link
Copy Markdown
Collaborator
  • Swap sphinx_rtd_theme for furo with the Planet Formation Lab brand, and MathJax for KaTeX prerendered at build time (CSS and fonts vendored, no CDN calls).
  • Replace the User Guide and API pages with an FAQ at the head of each section (Velocity Maps, Annuli, Structure Functions). The NumPyro tutorial is dropped; NUTS stays documented in the velocity-maps FAQ.
  • Replace the structure function tutorial with a coming-soon page while it is revised (the notebook stays in the repo, excluded from the build).
  • Install Node.js on Read the Docs, which KaTeX prerendering needs.

The annuli FAQ documents fit_annuli(fit_vz=True), so merge the fit_vz PR first. Draft until the Read the Docs build of this branch has been checked.

🤖 Generated with Claude Code

richteague and others added 5 commits November 23, 2026 13:58
Switch the Sphinx theme to furo with the Planet Formation Lab brand
styling, and render math with vendored KaTeX so the built docs make no
third-party network calls. Add the brand sidebar, fonts, favicon and the
interactive deprojection widget. Group the tutorials into Velocity Maps,
Annuli and Structure Functions sections, and drop the numeric prefixes
from the tutorial titles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Open each docs section with an FAQ page (docs/faq/) covering the common
questions for velocity maps, annuli and structure functions. Fold the
useful prose from the User Guide pages into them: the deprojection
widget, the grid= and noise-realization notes, and the 3.2.0 rename
table. The old one-question FAQ notebook becomes part of the velocity-maps
FAQ.

Drop the NumPyro/NUTS tutorial. On CPU it was much slower than emcee for
the fit it demonstrated, so NUTS is now documented as an option in the
velocity-maps FAQ, with guidance on finite priors, dense_mass and tree
depth. The User Guide's autodoc listings are removed with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The saved notebook had been run out of order and called plot_polar_field,
which no cell defined, so it could not be executed from scratch. Define
the helper where it is used and re-run every cell in order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The tutorial is being revised, so it is excluded from the build and a
placeholder takes its place in the toctree. Also install Node.js on
Read the Docs, which sphinxcontrib-katex needs to prerender math.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@richteague
richteague marked this pull request as ready for review November 24, 2026 15:29
@richteague
richteague merged commit 73a2e93 into master Nov 24, 2026
1 of 2 checks passed
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