docs: make API reference rendering independent of page order (#3107)
This commit is contained in:
parent
e464f72c12
commit
497f7afa61
1 changed files with 146 additions and 35 deletions
|
|
@ -188,6 +188,13 @@ plugins:
|
|||
handlers:
|
||||
python:
|
||||
paths: [src, src/mcp-types]
|
||||
# Zensical renders pages in undefined (filesystem-dependent) order
|
||||
# against one shared griffe collection, so a cross-package re-export
|
||||
# (`mcp` -> `mcp_types`) resolves only if its target package happens
|
||||
# to have been collected first. Chasing exported aliases into their
|
||||
# packages at load time makes resolution order-independent;
|
||||
# scripts/docs/check_render_order.py enforces that property.
|
||||
load_external_modules: true
|
||||
options:
|
||||
relative_crossrefs: true
|
||||
members_order: source
|
||||
|
|
|
|||
Loading…
Reference in a new issue