mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-09-24 10:58:09 +08:00
parameter_reference.md renders ~3100 parameters as ~111k elements, so the browser spends seconds on style recalculation and layout before the page responds (about 1.2 s of long tasks on a fast desktop and 6.8 s at 4x CPU throttling), and sidebar navigation to it takes 0.8-3.7 s. Wrap each parameter group and each parameter in a div, and give them content-visibility: auto so the browser skips off-screen content. The per-parameter level keeps deep links into large groups such as Actuator Outputs (701 parameters) fast. Group headings stay outside the wrappers so the page outline still tracks them. Exclude the generated page from Prettier: with the wrappers it needs over 4 GB of heap, which would break the docs metadata auto-sync. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
4 lines
199 B
Plaintext
4 lines
199 B
Plaintext
# Generated by src/lib/parameters/px4params/markdownout.py, whose output is
|
|
# already consistently formatted. Prettier needs over 4 GB of heap to format it.
|
|
en/advanced_config/parameter_reference.md
|