Docs Dependencies#
When running bazel run :docs, the documentation build system orchestrates multiple interconnected dependencies to produce HTML documentation.
Gather inputs (Bazel may do this parallelized):
Extract source code links from files via
sourcelinks_jsonrule.Optionally, merge source links using the
merge_sourcelinksrule.
Needs (requirements) are gathered from the bundles listed in
external_needs. The olderneeds_jsonandneeds_json_filetargets are still accepted there, and evendatacan still supply legacyneeds_jsondependencies.
Documentation sources are read from the specified source directory (default:
docs/). Sphinx processes the documentation sources along with the merged data to generate the final HTML output.