Skip to content

Joho enhance sphinx build#200

Merged
castler merged 7 commits intomainfrom
joho_enhance_sphinx_build
May 6, 2026
Merged

Joho enhance sphinx build#200
castler merged 7 commits intomainfrom
joho_enhance_sphinx_build

Conversation

@hoe-jo
Copy link
Copy Markdown
Contributor

@hoe-jo hoe-jo commented May 6, 2026

No description provided.

hoe-jo added 6 commits May 6, 2026 10:46
Add an 'ancillary' depset field to SphinxSourcesInfo for files that must be
physically present in the Sphinx tree (e.g. for sub-toctrees or .. uml::
directives) but are NOT top-level toctree entries.
Instead of rendering all FTA diagrams inline with '.. uml::' in a single
'Root Causes' section, generate one RST wrapper page per preprocessed diagram
using make_puml_rst_wrappers() and reference them via a toctree.
Instead of passing raw TRLC source files into SphinxSourcesInfo, run each
source through the trlc_rst renderer (same tool used by requirements.bzl) to
produce a proper .rst file for inclusion in the Sphinx documentation build.
…ctions

Split the 'requirements' attribute handling into separate feature_requirements
and assumed_system_requirements sections, accepting both FeatureRequirementsInfo
and AssumedSystemRequirementsInfo providers on the requirements attr.

Restructure the index template accordingly:
- 'Assumed System' section: assumed_system_requirements + assumptions_of_use
- 'Software Architectural Level' section: feature_requirements + architectural_design + dependability_analysis
- Components are now referenced directly in the outer toctree (no intermediate components/index.rst)
@hoe-jo hoe-jo force-pushed the joho_enhance_sphinx_build branch from e1a2138 to 5f9d81c Compare May 6, 2026 09:59
@castler castler merged commit 8a95cc5 into main May 6, 2026
5 checks passed
@castler castler deleted the joho_enhance_sphinx_build branch May 6, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants