Skip to content

docs: reference pages by component, nested navigation, Fira fonts - #25

Merged
karakayahuseyin merged 1 commit into
mainfrom
docs/reference-by-component
Nov 18, 2026
Merged

karakayahuseyin merged 1 commit into
mainfrom
docs/reference-by-component

Conversation

@karakayahuseyin

Copy link
Copy Markdown
Contributor

Summary

The reference split one component across several pages: the motor's equations were in Theory, its fields in the API reference, its file formats in Data Files, and its notes again in the solver guide. This PR gives each component one page with its model, symbols, API, file formats and references, and tidies the User Guide and the site's look.

Reference

Page Content
Propellers PropellerModel interface and the shared coefficients; index of the two pages below
↳ Tabulated Propeller TablePropeller, APC performance files
↳ Blade-Element Propeller symbols, QPROP propeller files, API, theory, differences from QPROP, verification, references
Motor Drela's model, MotorSpec, QPROP motor files, datasheet values
Battery the former Battery Model page, with the battery API tables added
Propulsion Solver power chain, equilibrium RPM, RPM bracket, API, feasibility rules, bus solver
OpenMDAO PropulsionComponent
  • Content moves as it was, with duplicates removed. A script compared every table row and display equation of the old pages with the new ones; the only ones not carried over are duplicates.
  • Two fixes on the way: the feasibility rules list esc_current_limit, and ct/cp are described as the coefficients at the solved point (they are derived from thrust and torque since refactor!: give the solver a propeller model instead of a coefficient table #21).
  • /theory/, /api_reference/, /data_files/ and /battery_model/ redirect to the new pages through mkdocs-redirects, added to the docs extra so the docs workflow installs it.

Navigation

  • Groups are collapsible submenus instead of flat sections (navigation.sections removed).
  • A group's first page is its index (navigation.indexes): Propellers opens its overview, and the home page is the User Guide tab's own page.

User Guide

  • The solver guide becomes Solving an Operating Point and links to the reference instead of repeating it. It gains a blade-element example with QPROP propeller and motor files; the example was run against the test files.
  • Getting Started installs from PyPI first; installing from source stays for development.
  • The home page mentions the blade-element model and QPROP files.

Look

  • Fira Sans and Fira Code, and MathJax 4.1.3 with its Fira math font, so text and formulas share one typeface. MathJax is pinned to 4.1.3 instead of the unpinned mathjax@3.
  • Long display equations are split so they fit the page width.

Verification

  • mkdocs build --strict passes.
  • Checked on a local mkdocs serve: all pages and the redirects respond, and the new navigation renders as nested submenus.

No code changes.

🤖 Generated with Claude Code

The reference split one component across several pages: the motor's
equations were in Theory, its fields in the API reference, its file
formats in Data Files, and its notes again in the solver guide. Each
component now has one page with its model, symbols, API, file formats
and references:

- Propellers: an overview with the PropellerModel interface and the
  shared coefficients, with Tabulated Propeller and Blade-Element
  Propeller beneath it.
- Motor, Battery (the former Battery Model page with the API tables
  added), Propulsion Solver (power chain, equilibrium, RPM bracket,
  API, feasibility rules, bus solver) and OpenMDAO.

The content moves as it was, with duplicates removed. Two fixes on the
way: the feasibility rules list esc_current_limit, and ct and cp are
the coefficients at the solved point, not interpolated ones. Theory,
API Reference, Data Files and Battery Model redirect to their new pages
through mkdocs-redirects, now in the docs extra.

Navigation: groups are collapsible submenus instead of flat sections,
and a group's first page is its index, so Propellers opens its overview
and the home page is the User Guide tab's own page.

User Guide: the solver guide becomes "Solving an Operating Point" and
links to the reference; it gains a blade-element example with QPROP
files. Getting Started installs from PyPI first, and the home page
mentions the blade-element model.

Fonts: Fira Sans and Fira Code, and MathJax 4.1.3 with its Fira math
font, pinned instead of the unpinned mathjax@3, so text and formulas
share one typeface. Long display equations are split to fit the page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@karakayahuseyin
karakayahuseyin merged commit ffcafce into main Nov 18, 2026
4 checks passed
@karakayahuseyin
karakayahuseyin deleted the docs/reference-by-component branch November 18, 2026 23:23
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