|
1 | 1 | # Migration Guide |
2 | 2 |
|
3 | | -How to migrate content from Asciidoc to V3. |
| 3 | +Migrate content from Asciidoc to V3 |
4 | 4 |
|
5 | | -## Migration tooling |
6 | | - |
7 | | -Use the [adoc-to-md](https://github.com/elastic/adoc-to-md) conversion tool to migrate content sets from Asciidoc syntax to docs-builder syntax. Instructions to use the tool are in the readme file. |
8 | | - |
9 | | -After running the migration tool, you can move and manipulate files while viewing a live preview of the content with docs-builder. |
10 | | - |
11 | | -## Building migrated content sets for the bug bash |
12 | | - |
13 | | -Assuming the following directory structure: |
14 | | - |
15 | | -```markdown |
16 | | -{GitHub_Repo_Dir}/ |
17 | | -├── tools/ |
18 | | -│ ├── docs-builder-mac-arm64.zip |
19 | | -│ └── docs-builder |
20 | | -├── elasticsearch.md |
21 | | -├── observability-docs.md |
22 | | -└── kibana.md |
23 | | -``` |
24 | | - |
25 | | -You can build migrated content sets on a Mac by running the following commands. |
26 | | - |
27 | | -```{tip} |
28 | | -For other systems, see [Contribute locally](../../contribute/locally.md) |
29 | | -``` |
30 | | - |
31 | | -```bash |
32 | | -# move to GitHub dir |
33 | | -cd {GitHub_Repo_Dir} |
34 | | - |
35 | | -# clone req'd repos |
36 | | -git clone https://github.com/elastic/elasticsearch.md.git |
37 | | -git clone https://github.com/elastic/observability-docs.md.git |
38 | | -git clone https://github.com/elastic/kibana.md.git |
39 | | - |
40 | | -# move back to GitHub dir |
41 | | -cd {GitHub_Repo_Dir} |
42 | | -mkdir tools |
43 | | -cd tools |
44 | | - |
45 | | -# mac-specific |
46 | | -curl -LO https://github.com/elastic/docs-builder/releases/latest/download/docs-builder-mac-arm64.zip |
47 | | -unzip docs-builder-mac-arm64.zip |
48 | | - |
49 | | -# Build ES Guide |
50 | | -./docs-builder serve -p ../elasticsearch.md/docs |
51 | | - |
52 | | -# Build Obs Guide |
53 | | -./docs-builder serve -p ../observability-docs.md/docs |
54 | | - |
55 | | -# Build Kib Guide |
56 | | -./docs-builder serve -p ../kibana.md/docs |
57 | | -``` |
58 | | - |
59 | | -## Pre-migrated content sets available for testing: |
60 | | - |
61 | | -* [elasticsearch.md](https://github.com/elastic/elasticsearch.md) |
62 | | -* [integration-docs.md](https://github.com/elastic/integration-docs.md) |
63 | | -* [kibana.md](https://github.com/elastic/kibana.md) |
64 | | -* [logstash.md](https://github.com/elastic/logstash.md) |
65 | | -* [machine-learning.md](https://github.com/elastic/machine-learning.md) |
66 | | -* [observability-docs.md](https://github.com/elastic/observability-docs.md) |
| 5 | +* [Migrate automated documentation](./automated.md) — for developers |
| 6 | +* [Migrate narrative content manually](./tooling.md) — handled by the docs team |
| 7 | +* [Build pre-migrated content sets](./bug-bash.md) — for the docs team bug bash |
0 commit comments