elastic / docs-builder

https://elastic.github.io/docs-builder/
Apache License 2.0
0 stars 0 forks source link

Add support for multiple documentation sets #50

Open bmorelli25 opened 2 weeks ago

bmorelli25 commented 2 weeks ago

Summary

Our V3 documentation build system needs the capability to build multiple documentation content sets from multiple source repositories. While we aim to consolidate from our current list of 75+ repositories, Elastic's documentation source files will continue to be distributed across multiple repos. V3 should be flexible enough to accommodate this multi-repository structure without compromising build efficiency.

Existing Solutions

There are precedents for handling multi-repo documentation builds within Elastic’s existing build systems, though each system takes a different approach:

Requirements

  1. Flexible Content Sourcing: Support for multiple source repos (regardless of whether that means at build time or at merge time).
  2. Content Set Configuration: V3 must support defining multiple documentation content sets within a centralized configuration file (e.g., site.yaml), where each set can specify things like its source repository, paths, dependencies, and other settings.
  3. Global Navigation and Version Management: V3 should provide a mechanism to generate a global navigation structure that can include content sets from multiple repositories.