Skip to content

Conversation

@jhradilek
Copy link
Contributor

This is the definitive list of titles that are recognized during the DITA conversion and mapped to the corresponding <prereq>, <step>/<steps-unordered>, <result>, <tasktroubleshooting>, <postreq>, and <related-links> elements. It also matches the corresponding vale rule that can be used to report unsupported block titles in procedures.

I have also removed the mention that these need to be in this order because while it makes sense and DITA insists on this order, the conversion tooling actually maps them correctly regardless in what order they appear. This re-shuffling is necessary because any contents preceding the first block title in AsciiDoc is mapped to <context> and while in our documentation it comes first, in DITA it appears after the <prereq> element.

The same update has already been merged in the official Modular Documentation project.

@jhradilek
Copy link
Contributor Author

This time I did not forget to update the test file.

@jhradilek
Copy link
Contributor Author

Hi @mmuehlfeldRH, I am not sure if you get notified when a new pull request is opened so I am tagging you just in case.

@mmuehlfeldRH mmuehlfeldRH self-assigned this May 30, 2025
@mmuehlfeldRH mmuehlfeldRH merged commit 6e8777e into redhat-documentation:main May 30, 2025
@mmuehlfeldRH
Copy link
Collaborator

Thanks for your update.
I'll publish a new version of newdoc.

@jhradilek jhradilek deleted the procedure-titles branch May 30, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants