You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assembled documentation is the product of building many [documentation sets](documentation-set.md) and weaving them into a global navigation to produce the fully assembled documentation site.
8
+
9
+
## How it works
10
+
11
+
The assembler:
12
+
13
+
1. Clones multiple documentation repositories.
14
+
2. Reads the [configuration files](../configure/site/index.md) and builds [a global navigation](../configure/site/navigation.md).
15
+
3. Builds each documentation set independently using the global configuration and navigation to inform path prefixes.
16
+
4. Produces a unified documentation website.
17
+
18
+
## Configuration
19
+
20
+
Assembled documentation is configured through the site configuration, which defines:
21
+
22
+
*[assembler.yml](../configure/site/index.md): Which repositories to include and [their branching strategy](../contribute/branching-strategy.md).
23
+
*[navigation.yml](../configure/site/index.md): Navigation and url prefixes for TOC's.
24
+
*[versions.yml](../configure/site/versions.md): Defines the various versioning schemes of products/solutions being documented.
25
+
*[products.yml](../configure/site/products.md): Defines the product catalog (id, name) and ties it to a specific versioning scheme.
26
+
27
+
Refer to [Site Configuration](../configure/site/index.md) for details on configuring assembled documentation.
28
+
29
+
:::{important}
30
+
The `docs-builder` command makes no assumptions about how repositories, products, solutions and versions tie into each other.
31
+
:::
32
+
33
+
## Build process
34
+
35
+
The typical build process for assembled documentation consists of three steps:
36
+
37
+
1. Clone all configured repositories using `docs-builder assembler clone`.
38
+
2. Build all documentation sets using `docs-builder assembler build`.
39
+
3. Serve the documentation on http://localhost:4000 using `docs-builder assembler serve`.
40
+
41
+
This uses the embedded configuration files inside the `docs-builder` binary. To build a specific configuration:
42
+
43
+
1. Fetch the latest config to `$(pwd)/config``docs-builder assembler config init --local`.
44
+
2. Clone all configured repositories using `docs-builder assembler clone --local`.
45
+
3. Build all documentation sets using `docs-builder assembler build --local`.
46
+
4. Serve the documentation on http://localhost:4000 using `docs-builder assembler serve`.
47
+
48
+
## Related concepts
49
+
50
+
*[Documentation Set](documentation-set.md): The individual units being assembled.
51
+
*[Distributed Documentation](distributed-documentation.md): How documentation sets work independently.
52
+
*[Link Catalog](link-catalog.md): How the assembler knows what to include.
0 commit comments