-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do we have a Modular Documentation checklist? #206
Comments
Hi, @rohennes.
|
Hi @bredamc, I raised this issue in today's Modular Documentation Steering Committee meeting and got support for it from @emmurphy1 and @mjahoda. |
@rolfedh That's great, many thanks for raising the issue and letting me know the result! |
The AsciiDoc Vale rules are an attempt to highlight potential issues with AsciiDoc syntax that can cause problems in output, unclosed tables, incorrect ifdefs, etc. You could consider it like an imperfect and (very) limited AsciiDoc Parser. Note that a lot of these validations are done by default with the asciidoctor.js validation in the VS Code plugin. The OpenShiftAsciiDoc are probably closer to what a Mod Docs rule set would look like. These are project-specific AsciiDoc usage guidelines. |
Click into the rules above to see a one-liner describing what the rule catches. |
Hey Rolfe, +1 to Aidan's comments. AsciiDoc rules are aimed at basic syntax validation. It is a vanilla rule set that can be used inside/outside of Red Hat, so isn't based on any Red Hat specific guidelines like the mod docs guidelines. For more custom metadata, we created the OpenShiftAsciiDoc rules. I don't think you could see them as a checklist for mod docs, although they are complimentary. A vale rule set for mod docs might be possible, but probably fairly limited. You could have a rule for the following:
It may be more effort than it's worth though. You'd also need to configure you .vale.ini to ensure module or assembly specific mod-docs rules applied only to assemblies/modules. Bit of a headache... |
A few years ago, I started a Vale style for exactly this which I recently decided to revive. I do not think it is mature enough and some of the changes I have implemented locally are maybe not suitable for all projects, but I currently have the following functionality:
Unpushed I also have experimental version of rules that:
|
Wow! This is a great start, @jhradilek. If you're interested, the newdoc tool that @msuchane created for generating new mod doc files has a deprecated For background:
|
In #211 (comment), which is very much WIP, @mjahoda proposes having an abbreviated checklist in addition to the comprehensive one. For simplicity and ease of maintenance, I propose having a single checklist with two parts:
The checklist and tooling completement each other:
We'll work to ensure that the mod docs standard, checklist, and tooling all align with one another. |
@jhradilek, I created an issue for the Mod Docs community to discuss the Vale Style for Mod Docs: #212 |
The validation feature in |
@rolfedh the checklist is a great start. I believe the original request was for a checklist that writers can use when reviewing modularized content. The discussion around vale is really great as well, and it possible it would be fantastic to get check in there. However, I think these are two separate projects. I made a few comments in the MR. In general, I think we need to make the checks more specific. |
The Modular documentation reference guide and associated templates are very useful when learning about mod docs, thank you!
Do we also have a Modular Documentation checklist? Such a document would be very useful for those who are new to mod docs, and for peer reviews by reviewers who are not familiar with all of the mod doc rules.
The text was updated successfully, but these errors were encountered: