Repository navigation
docs: reference pages by component, nested navigation, Fira fonts - #25
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
PropellerModelinterface and the shared coefficients; index of the two pages belowTablePropeller, APC performance filesMotorSpec, QPROP motor files, datasheet valuesPropulsionComponentesc_current_limit, andct/cpare 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 throughmkdocs-redirects, added to thedocsextra so the docs workflow installs it.Navigation
navigation.sectionsremoved).navigation.indexes): Propellers opens its overview, and the home page is the User Guide tab's own page.User Guide
Look
mathjax@3.Verification
mkdocs build --strictpasses.mkdocs serve: all pages and the redirects respond, and the new navigation renders as nested submenus.No code changes.
🤖 Generated with Claude Code