Repository navigation
docs: make the logging docs mountable by integrating projects - #446
Merged
Merged
Conversation
Use a relative docname for the verification report link and commit the generated dependency pages, so projects that mount the logging docs (e.g. reference_integration) resolve both without running docs/conf.py. A new workflow checks that the committed pages match the Bazel dependency graph. Signed-off-by: Anton Krivoborodov <anton.krivoborodov@bmw.de>
antonkri
requested review from
arsibo,
hoppe-and-dreams,
pawelrutkaq and
rmaddikery
as code owners
November 23, 2026 11:11
antonkri
temporarily deployed
to
workflow-approval
November 23, 2026 11:11 — with
GitHub Actions
Inactive
Contributor
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
Contributor
|
Documentation preview for this pull request is available at: |
rmaddikery
approved these changes
Nov 23, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 23, 2026
This branch was previously deployed
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.
Problem
reference_integration mounts the logging documentation into its own Sphinx build (docs-as-code bundles). Two things break there and are currently fixed with local patches in reference_integration:
003-relative-verification-report-links.patch:chklst_impl_inspection.rstof the datarouter links the verification report with an absolute docname (</verification_report/module_verification_report>). In a mounted tree, the absolute docname points to the root of the integrating project, not to logging's own report.007-docs-drop-generated-dependency-pages.patch: the dependency pages (dependencies,backend_dependencies,frontend_dependencies) are generated bydocs/conf.pyviabazel queryand are gitignored. Mounted docs do not run logging'sconf.py, so the pages are missing and the toctree entries and:doc:links are broken.Fix
docs/conf.pystill regenerates them for local docs builds.Dependency reports up to daterunsscripts/generate_dependency_report.py ... --check, so the committed pages cannot drift from the Bazel graph.With this, reference_integration can drop both patches.
Note: on current
mainthe generator marksdependencies(datarouter) andbackend_dependenciesas incomplete because targets depend on the missing packagescore/mw/log/detail/dlt_trace. The committed pages show that warning, exactly as logging's own docs build does today; fixing the dangling dependency is out of scope here.