|
1 | 1 | --- |
2 | | -navigation_title: Site |
| 2 | +navigation_title: Site-level |
3 | 3 | --- |
4 | 4 |
|
5 | | -# Site configuration |
6 | | - |
7 | | -Start by understanding how the new V3 system works at the site level compared to how our custom AsciiDoctor system works. The system consists of: |
| 5 | +# Site-level configuration |
8 | 6 |
|
| 7 | +Start by understanding how the new V3 system works at the site level compared to how our custom AsciiDoctor system works. At the site-level, we have: |
9 | 8 |
|
10 | 9 | | System property | Asciidoc | V3 | |
11 | 10 | | -------------------- | -------------------- | -------------------- | |
12 | 11 | | **Content sources** --> Collections of markup files containing doc content. These are split up across many docs repos. | _Books_ | _Content sets_ | |
13 | | -| **Content configuration** --> A way to specify where to find those content sources, and in what order they should be added to the site. | Configuration file ([`conf.yml`](https://github.com/elastic/docs/blob/master/conf.yaml) in elastic/docs) | Config file location TBD | |
14 | | -| **Cross-site values** --> Key-value pairs that should be substituted across all sources as web pages are built. | Shared attributes ([`shared/`](https://github.com/elastic/docs/tree/master/shared) in elastic/docs) | Shared attrs file TBD | |
15 | | -| **Docs build tool** --> An engine used to take the markup in the content sources and transform it into web pages. | Customized version of AsciiDoctor (lives in [**elastic/docs**](https://github.com/elastic/docs)) | Customized doc builder using open source tools (lives in [**elastic/docs-builder**](https://github.com/elastic/docs-builder)) | |
| 12 | +| **Content configuration** --> A way to specify where to find those content sources, and in what order they should be added to the site. | Configuration file ([`conf.yml`](https://github.com/elastic/docs/blob/master/conf.yaml) in elastic/docs) | Config file `assembler.yml` | |
16 | 13 |
|
17 | 14 | Where these pieces live and what format they are in varies between the two systems, but they generally achieve the same goal. |
18 | 15 |
|
19 | | -## Asciidoc |
| 16 | +## Content sources |
20 | 17 |
|
21 | | - |
| 18 | +TBD |
| 19 | + |
| 20 | +## Content configuration |
| 21 | + |
| 22 | +In both the AsciiDoctor- and V3-based system, there is site-wide configuration where you list all content sources, where to find those sources, and in what order they should be added to the site. |
| 23 | + |
| 24 | +In the AsciiDoctor system, this all happens in one YAML file in the `/docs` repo. In the V3 system, this happens in the `assembler.yml` file in `docs-content`. |
| 25 | + |
| 26 | +[assembler.yml](./content.md) |
| 27 | + |
| 28 | +## Landing page |
22 | 29 |
|
23 | | -## V3 |
| 30 | +See [landing page](./landing-page.md) |
24 | 31 |
|
25 | | -DIAGRAM NEEDED |
| 32 | +## Redirects |
| 33 | + |
| 34 | +Plan still needed |
| 35 | + |
| 36 | +## V3 site-level diagram |
| 37 | + |
| 38 | +DIAGRAM NEEDED |
| 39 | + |
| 40 | +## Asciidoc site-level diagram |
| 41 | + |
| 42 | + |
0 commit comments