docs-builder
Loading

Assembled documentation

Assembled documentation is the product of building many documentation sets and weaving them into a global navigation to produce the fully assembled documentation site.

The assembler:

  1. Clones multiple documentation repositories.
  2. Reads the configuration files and builds a global navigation.
  3. Builds each documentation set independently using the global configuration and navigation to inform path prefixes.
  4. Produces a unified documentation website.

Assembled documentation is configured through the site configuration, which defines:

Refer to Site Configuration for details on configuring assembled documentation.

Important

The docs-builder command makes no assumptions about how repositories, products, solutions and versions tie into each other.

The typical build process for assembled documentation consists of three steps:

  1. Clone all configured repositories using docs-builder assembler clone.
  2. Build all documentation sets using docs-builder assembler build.
  3. Serve the documentation on http://localhost:4000 using docs-builder assembler serve.

This uses the embedded configuration files inside the docs-builder binary. To build a specific configuration:

  1. Fetch the latest config to $(pwd)/config docs-builder assembler config init --local.
  2. Clone all configured repositories using docs-builder assembler clone --local.
  3. Build all documentation sets using docs-builder assembler build --local.
  4. Serve the documentation on http://localhost:4000 using docs-builder assembler serve.