Skip to content

Docs: rename sections, drop search, add PFL code style - #49

Merged
richteague merged 1 commit into
masterfrom
docs/pfl-brand-theme
Nov 25, 2026
Merged

richteague merged 1 commit into
masterfrom
docs/pfl-brand-theme

Conversation

@richteague

Copy link
Copy Markdown
Collaborator
  • Rename the sidebar sections to Fitting Rotation Maps, Velocity Profiles and Velocity Fluctuations, retitle the FAQs to match, and list each FAQ last in its section as "FAQ". File names are unchanged so existing URLs keep working.
  • Remove the sidebar search box and its styling.
  • Add a Pygments style in the PFL palette (docs/_pygments/pfl.py) with bold near-black keywords, and use it for furo's dark code style too, so OS dark mode no longer gives charcoal code blocks on a light page.
  • Set furo's font and geometry variables on body rather than :root. Furo defines them on body, so the :root values never applied and the brand fonts (TeX Gyre Heros, JetBrains Mono) were not being used.

- Rename the sidebar sections to Fitting Rotation Maps, Velocity
  Profiles and Velocity Fluctuations, retitle the FAQs to match, and
  list each FAQ last in its section as "FAQ". File names are unchanged
  so existing URLs keep working.
- Remove the sidebar search box and its styling.
- Add a Pygments style in the PFL palette (docs/_pygments/pfl.py) with
  bold near-black keywords, and use it for furo's dark code style too,
  so OS dark mode no longer gives charcoal code blocks on a light page.
- Set furo's font and geometry variables on body rather than :root.
  Furo defines them on body, so the :root values never applied and the
  brand fonts (TeX Gyre Heros, JetBrains Mono) were not being used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@richteague
richteague merged commit 3316498 into master Nov 25, 2026
1 check 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