mdxify.navigation
Navigation structure management.
Functions
get_all_documented_modules
build_hierarchical_navigation
generated_modules
: List of module namesoutput_dir
: Directory where MDX files are writtendocs_root
: Root directory for docs (to calculate relative paths). If None, paths are relative to output_dirskip_empty_parents
: Whether to skip empty parent modules
- A string (the path to the MDX file without extension)
- A dict with “group” and “pages” keys for modules with submodules
find_mdxify_placeholder
find_mdxify_anchor_or_group
find_mdxify_anchor
update_docs_json
docs_json_path
: Path to docs.json filegenerated_modules
: List of module names that were generatedoutput_dir
: Directory where MDX files are writtenregenerate_all
: If True, replace all content; if False, merge with existingskip_empty_parents
: Whether to skip empty parent modulesanchor_name
: Name of the navigation anchor or group to update (searches both) Note: Despite the parameter name, this searches for both anchors and groups.