[docs] Migrate docs from AsciiDoc to Markdown#2451
[docs] Migrate docs from AsciiDoc to Markdown#2451colleenmcginnis merged 16 commits intoelastic:mainfrom
Conversation
|
Documentation changes preview: https://ecs_bk_2451.docs-preview.app.elstc.co/diff |
|
@colleenmcginnis There were some changes made to ECS after the docs freeze. Are the new docs generated from the latest main branch? Most of the changes are to the schema files, so I think docs should get the latest changes from automatic generation. One other thing I saw is |
No. They were generated at the start of the docs freeze.
Is the automatic generation still creating AsciiDoc files? If so, they will need to be updated to Markdown. |
I resolved the merge conflicts. Do these look like the only updates that would have been made? 5cb6754?file-filters%5B%5D=.md&show-deleted-files=true&show-viewed-files=true |
|
@mdbirnstiehl this should fix the inbound link validation error: elastic/apm-agent-dotnet#2563 |
|
@mjwolf Could you help us out here on the test failing. Also, do you know if there were any additional changes made other than the ones mentioned by @colleenmcginnis? |
|
Hi @colleenmcginnis, @mdbirnstiehl, there will need to be an update to the ECS generators to create markdown files from the schema files. Right now it's being done in this python script to generate asciidoc: https://github.com/elastic/ecs/blob/main/scripts/generators/asciidoc_fields.py I don't see an equivilent in this PR to create markdown. This might be tricky to do, so I can work on it. It also looks like the |
Signed-off-by: bmorelli25 <brandon.morelli@elastic.co>
Thank you, @mjwolf!
Ah, yes, this does need to be updated. We are using a new documentation publication tool. I pushed 5a6d593 which updates the script to use this new |
* Update docs generator to markdown * generate fieldset docs * Update fieldset formatting * Update fieldset formatting * Change otel dir * Update more formatting * Include usage in docs * Update otel docs generation * update template files to fix images, links, tables * commit updated markdown files * fix extra pipe * fix otel docs formatting * Update fieldset * update more formatting * Update unit tests * More formatting fixes * fix usage section in fieldset template * update nested fieldset * fix syntax issues causing build errors * only build ext link if it's needed * commit generated markdown files --------- Co-authored-by: Colleen McGinnis <colleen.mcginnis@elastic.co>
mjwolf
left a comment
There was a problem hiding this comment.
This now has the generator scripts updated to create markdown docs; the docs will be kept up-to-date with future schema changes.
|
@mjwolf is it ok if I update these two files to change the link syntax used from AsciiDoc to Markdown? |
Per Slack, we will do this in a follow-up PR. |
* delete asciidoc files * add migrated files * clean up cross-repo links * add missing ecs and otel pages * add mapped_pages * fix external links * Update makefile to use docs-builder Signed-off-by: bmorelli25 <brandon.morelli@elastic.co> * Remove tabs from ecs-code_signature.md * Remove tabs from ecs-device.md * Remove remaining beta tabs * [work in progress] Migrate docs md generator (#1) * Update docs generator to markdown * generate fieldset docs * Update fieldset formatting * Update fieldset formatting * Change otel dir * Update more formatting * Include usage in docs * Update otel docs generation * update template files to fix images, links, tables * commit updated markdown files * fix extra pipe * fix otel docs formatting * Update fieldset * update more formatting * Update unit tests * More formatting fixes * fix usage section in fieldset template * update nested fieldset * fix syntax issues causing build errors * only build ext link if it's needed * commit generated markdown files --------- Co-authored-by: Colleen McGinnis <colleen.mcginnis@elastic.co> * Fix lint errors * clean up spacing * commit changes to layout --------- Signed-off-by: bmorelli25 <brandon.morelli@elastic.co> Co-authored-by: Mike Birnstiehl <114418652+mdbirnstiehl@users.noreply.github.com> Co-authored-by: bmorelli25 <brandon.morelli@elastic.co> Co-authored-by: lcawl <lcawley@elastic.co> Co-authored-by: Michael Wolf <michael.wolf@elastic.co>
Migrate docs from AsciiDoc to Markdown. The preview can be built after #2450 is merged.