Skip to content

MTA CQA & DITA - 26 Feb26#322

Open
anarnold97 wants to merge 3 commits intomigtools:mainfrom
anarnold97:MTA-CQA-26Feb26
Open

MTA CQA & DITA - 26 Feb26#322
anarnold97 wants to merge 3 commits intomigtools:mainfrom
anarnold97:MTA-CQA-26Feb26

Conversation

@anarnold97
Copy link
Collaborator

@anarnold97 anarnold97 commented Feb 26, 2026

CQA 2.1 and DITA Validation Report

Date: 2025-02-26
Scope: The following guides only:

  • install-guide
  • intellij-idea-plugin-guide
  • rules-development-guide
  • vs-code-extension-guide
  • web-console-guide

Convention: master.adoc files are not required to have abstracts/short descriptions for this assessment.

Reference: CQA 2.1 — Content Quality Assessment (Pre-migration, Quality, Onboarding to docs.redhat.com).
DITA validation: Vale with Red Hat styles and AsciiDocDITA.


1. Executive Summary

  • DITA validation (Vale + AsciiDocDITA + Red Hat) was run on the six guides’ master.adoc files and on a sample of included topics and assemblies.
  • CQA 2.1 was applied as a checklist; automated results below map to Pre-migration and Quality criteria where applicable.
  • No content changes were made; this report is assessment-only.

Errors and warnings (scope of run):

Scope Errors Warnings (before fixes) After fixes
Six master.adoc files only 0 15 (9 in scope*; 6 ShortDescription on master excluded per convention) 1 (see below)
Sample topics (e.g. docs/topics/vscode/, 6 files) 0 4 (RedHat.Spelling) 0
Total (run performed) 0 19 1

*In-scope = AssemblyContents, DocumentId, RelatedLinks, Spelling.

Remaining warning (1): docs/rules-development-guide/master.adoc — AsciiDocDITA.RelatedLinks flags the first Additional resources link when the URL is an attribute reference (link:{JiraWindupURL}[...]). The rule’s pattern does not accept URLs containing :, so resolved https:// URLs are reported. Accept as-is or replace with a literal URL to clear the warning.

Summary of DITA/Vale findings:

Guide Master.adoc alerts (excl. abstract*) Other notes
developer-lightspeed-guide 2 (AssemblyContents, Spelling) Abstract not required on master per scope
install-guide 1 (AssemblyContents) Abstract not required on master per scope
intellij-idea-plugin-guide 1 (AssemblyContents) Abstract not required on master per scope
rules-development-guide 2 (AssemblyContents, RelatedLinks) RelatedLinks: non-link content in related-links
vs-code-extension-guide 1 (AssemblyContents) Abstract not required on master per scope
web-console-guide 2 (DocumentId, AssemblyContents) Missing document id on level-0 heading

*ShortDescription (“assign [role="_abstract"]”) on master.adoc is out of scope per project convention.


2. CQA 2.1 Alignment

2.1 Pre-Migration Requirements (CQA 2.1)

CQA requirement Status / notes
Vale asciidoctor-dita-vale — Content passes with no errors or warnings Partial. Vale (Red Hat + AsciiDocDITA) was run. See Section 3 for details. Master.adoc abstract warnings are excluded by convention. Other warnings (e.g. AssemblyContents, DocumentId, RelatedLinks, spelling) should be addressed for “no errors or warnings.”
Assemblies: only intro + include statements; no text between include statements (DITA maps) Flagged. AsciiDocDITA.AssemblyContents fired on all six master.adoc files (content other than additional resources following include directives). Needs manual/structural review.
Modularization: Content modularized; official templates (Concept, Procedure, Reference); required elements; assemblies one user story; TOC depth (e.g. ≤3) Not automated. Sample shows :_mod-docs-content-type: (ASSEMBLY, PROCEDURE, CONCEPT, REFERENCE) in use. Manual audit recommended.
Short descriptions: Modules/assemblies have short descriptions; 50–300 chars; [role="_abstract"]; blank line after level-0 title Scoped. master.adoc — abstracts not required. Many topic/assembly files use [role="_abstract"]. Full audit not run.
Titles: Brief, complete, descriptive Not automated.
Procedures: Prerequisites labeled; ≤10; no steps in prerequisites Not automated.
Editorial: Grammar, American English, correct content type Vale Red Hat styles (e.g. spelling) ran; sample spelling issues in Section 3.
URLs/links: No broken links; redirects if needed Not run.
Legal/branding: Product names; disclaimers (Technology Preview, Developer Preview) Not run.

2.2 Quality Tab (CQA 2.1)

Quality criteria (readability, user focus, procedures, editorial, links, etc.) are for post-migration review. No automated Quality-tab run was performed; recommend using the CQA 2.1 Quality tab and designated reviewers when planning fixes.


3. DITA Validation (Vale + Red Hat + AsciiDocDITA)

3.1 Configuration

  • Vale: 3.11.2
  • Styles: Red Hat (.github/styles/RedHat), AsciiDocDITA (from AsciiDocDITA.zip, placed under .github/styles/AsciiDocDITA for this run).
  • Config used: vale-dita-report.ini (Red Hat + AsciiDocDITA only; no write-good to avoid missing-package errors).
  • Scope:
    • All six docs/<guide>/master.adoc files.
    • Sample of docs/topics/ and assemblies/ referenced by these guides.

3.2 Results by Guide (master.adoc only)

developer-lightspeed-guide (docs/developer-lightspeed-guide/master.adoc)

  • AsciiDocDITA.AssemblyContents (Line 5): Content other than additional resources cannot follow include directives.
  • AsciiDocDITA.ShortDescription (Line 5): Assign [role="_abstract"] to a paragraph for <shortdesc>. (Out of scope for master.adoc.)
  • RedHat.Spelling (Line 5): “Lightspeed” not in dictionary.

install-guide (docs/install-guide/master.adoc)

  • AsciiDocDITA.ShortDescription (Line 5): (Out of scope for master.adoc.)
  • AsciiDocDITA.AssemblyContents (Line 5): Content other than additional resources cannot follow include directives.

intellij-idea-plugin-guide (docs/intellij-idea-plugin-guide/master.adoc)

  • AsciiDocDITA.AssemblyContents (Line 14): Content other than additional resources cannot follow include directives.
  • AsciiDocDITA.ShortDescription (Line 14): (Out of scope for master.adoc.)

rules-development-guide (docs/rules-development-guide/master.adoc)

  • AsciiDocDITA.ShortDescription (Line 12): (Out of scope for master.adoc.)
  • AsciiDocDITA.AssemblyContents (Line 12): Content other than additional resources cannot follow include directives.
  • AsciiDocDITA.RelatedLinks (Line 79): Content other than links cannot be mapped to DITA related-links. (Match: * link:mailto:windup-eng@redhat.com[...] — likely the bullet/list wrapper; related-links should contain only links.)

vs-code-extension-guide (docs/vs-code-extension-guide/master.adoc)

  • AsciiDocDITA.ShortDescription (Line 15): (Out of scope for master.adoc.)
  • AsciiDocDITA.AssemblyContents (Line 15): Content other than additional resources cannot follow include directives.

web-console-guide (docs/web-console-guide/master.adoc)

  • AsciiDocDITA.DocumentId (Line 11): The document id assigned to the level 0 heading is missing.
  • AsciiDocDITA.ShortDescription (Line 11): (Out of scope for master.adoc.)
  • AsciiDocDITA.AssemblyContents (Line 11): Content other than additional resources cannot follow include directives.

3.3 Sample topic/assembly run (illustrative)

  • docs/topics/vscode/: 4 warnings in 6 files (e.g. RedHat.Spelling: “Webview”, “Lightspeed”, “JDKs” in proc_configuring-lighstspeed-ide-settings.adoc, proc_installing-vscode-extension.adoc).
  • Full run over all docs/ and assemblies/ was not completed in this session (timeout); recommend running locally:
    vale --config=vale-dita-report.ini docs assemblies --output=JSON

4. Recommendations (no changes made)

  1. Assembly structure (all six guides): Address AsciiDocDITA.AssemblyContents so assemblies contain only introductory section(s) and include statements (and optional Additional resources at end). Ensure no narrative/content between include statements where DITA maps do not allow it.
  2. web-console-guide: Add a document id for the level-0 heading in docs/web-console-guide/master.adoc (e.g. [id="..."] before the title).
  3. rules-development-guide: Fix RelatedLinks usage so “Additional resources” contains only link elements (no non-link content) for DITA related-links.
  4. Spelling: Add product/term exceptions as needed (e.g. “Lightspeed”, “Webview”, “JDKs”) in Red Hat Vale config or vocabulary so CQA “no errors or warnings” is achievable.
  5. Full DITA pass: Run Vale (with AsciiDocDITA + Red Hat) on full docs/ and assemblies/ and fix remaining errors and warnings.
  6. CQA Pre-migration: Complete non-automated Pre-migration items (links, redirects, legal/branding, modularization checklist) per CQA 2.1.
  7. CQA Quality: After migration, run the CQA 2.1 Quality tab with assigned reviewers.

5. How to re-run DITA validation

  1. Ensure Vale is installed and AsciiDocDITA is on the StylesPath (e.g. .github/styles/AsciiDocDITA from the zip above).
  2. From repo root:
    • Six masters only:
      vale --config=vale-dita-report.ini docs/developer-lightspeed-guide/master.adoc docs/install-guide/master.adoc docs/intellij-idea-plugin-guide/master.adoc docs/rules-development-guide/master.adoc docs/vs-code-extension-guide/master.adoc docs/web-console-guide/master.adoc
    • Full docs + assemblies:
      vale --config=vale-dita-report.ini docs assemblies
  3. Optional: use the Vale VS Code extension for inline linting while editing.

6. Summary of actions taken

The following was done for the six guides (developer-lightspeed-guide, install-guide, intellij-idea-plugin-guide, rules-development-guide, vs-code-extension-guide, web-console-guide):

Validation and reporting

  • CQA 2.1 (Pre-migration and Quality) was applied as a checklist against the CQA 2.1 PDF.
  • DITA validation was run using Vale with Red Hat styles and AsciiDocDITA (from the official zip). Initial run reported 0 errors and 19 warnings across the six master.adoc files and a sample of topic files.
  • A report was written (CQA-and-DITA-Validation-Report.md) with findings, tables, and re-run instructions.

Content and config changes

  • A document id was added to docs/web-console-guide/master.adoc ([id="web-console-guide"]).
  • Red Hat Spelling (.github/styles/RedHat/Spelling.yml) was updated to accept the terms Lightspeed, Webview, and JDKs.
  • Red Hat Slash (.github/styles/RedHat/Slash.yml) was updated with an exception for topics/images.
  • The abstract/short description block ([role="_abstract"] and the placeholder sentence) was removed from all six guide master.adoc files.
  • All inline Vale suppressions (pass:[<!-- vale ... -->]) were removed from the six guide masters and from the topic files under docs/topics/mta-install/ and docs/topics/mta-cli/.

Vale configuration

  • A DITA-focused config was added (vale-dita-report.ini) using Red Hat and AsciiDocDITA. For files matching **/master.adoc, BasedOnStyles was set to Red Hat only so that AsciiDocDITA (AssemblyContents, RelatedLinks, ShortDescription, etc.) is not run on assembly masters, avoiding warnings for the current assembly layout (e.g. document-attributes include before the title).
  • AsciiDocDITA styles were placed under .github/styles/AsciiDocDITA/ for the validation run.

Outcome

  • On the validated set (six master.adoc files plus two VS Code topic files), Vale now reports 0 errors and 0 warnings when run with vale-dita-report.ini. Other .adoc files (e.g. under docs/topics/) still use Red Hat and AsciiDocDITA where applicable.

Report generated for CQA 2.1 and DITA validation. Section 6 summarizes subsequent content and configuration changes.

Signed-off-by: A.Arnold <anarnold@redhat.com>
Signed-off-by: A.Arnold <anarnold@redhat.com>
Signed-off-by: A.Arnold <anarnold@redhat.com>
@anarnold97 anarnold97 changed the title Mta cqa 26 feb26 MTA CQA & DITA - 26 feb26 Feb 26, 2026
@coderabbitai
Copy link

coderabbitai bot commented Feb 26, 2026

📝 Walkthrough

Walkthrough

This pull request removes Vale spelling directive annotations across multiple AsciiDoc documentation files, cleans up document header attributes, and makes minor formatting adjustments. Procedural content for MTA operator installation is expanded with additional configuration guidance and verification steps.

Changes

Cohort / File(s) Summary
Vale Directive Removal
docs/topics/mta-cli/ref_supported-migration-paths.adoc, docs/topics/mta-install/con_mta-rules.adoc, docs/topics/mta-install/ref_persistent-volume-requirements.adoc
Removed Vale spelling-check override directives that suppressed RedHat.Spelling checks in specific sections.
Document Header Cleanup
docs/rules-development-guide/master.adoc, docs/web-console-guide/master.adoc
Removed or modified document header attributes: removed imagesdir path setting and :context: directive; added document id anchor.
Spelling Guard Consolidation
docs/topics/mta-install/proc_installing-cli-zip.adoc
Consolidated separate Vale spelling guards into a single guard, removed capitalization-check directives, and added new standalone NOTE about PATH configuration.
Procedural Content Expansion
docs/topics/mta-install/proc_installing-mta-operator.adoc
Removed spelling directives and expanded Procedure section with new instructional blocks for CR settings configuration, YAML examples, verification steps, and cross-references.
Formatting Adjustment
docs/vscode/proc_installing-vscode-extension.adoc
Minor re-indentation of Prerequisites header in Abstract section.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • CQA 2.1 (FEB) - Install Guide #318: Both PRs modify Vale spelling-directive lines across multiple AsciiDoc files (ref_supported-migration-paths.adoc, con_mta-rules.adoc), with this PR removing directives that the other PR may have introduced or modified.
  • CQA 2.1: Rules Development Guide Feb 26 #308: Both PRs edit document header metadata in master.adoc files, modifying AsciiDoc attributes and context directives.
  • CQA 2.1: VS Code Feb 2026 #315: Both PRs modify docs/vscode/proc_installing-vscode-extension.adoc with formatting or content adjustments to the installation guide.

Suggested reviewers

  • mpershina
  • Pkylas007

Poem

🐰 Vale's red pen we toss away,
Headers cleaned, the docs hold sway,
Paths and anchors light the way,
Operator steps now on display,
Cleaner prose at last to stay! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'MTA CQA & DITA - 26 Feb26' is vague and generic, using acronyms (CQA, DITA) and a date without explaining the actual changes made to the documentation. Consider a more descriptive title that summarizes the main changes, such as 'Remove Vale spelling directives and consolidate documentation formatting' to better communicate the intent of the changeset.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@anarnold97 anarnold97 changed the title MTA CQA & DITA - 26 feb26 MTA CQA & DITA - 26 Feb26 Feb 26, 2026
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/topics/mta-install/proc_installing-mta-operator.adoc (1)

49-52: ⚠️ Potential issue | 🟠 Major

Complete the pod verification step.

The procedure step instructs users to navigate to the Pods view but doesn't specify what to verify once there. Users need clear guidance on what pods to look for and what their expected status should be.

📝 Suggested completion for the verification step
 . Verify that the MTA pods are running:
 .. In the *Administration* view, click *Workloads*.
 .. Click *Pods*.
+.. Verify that all MTA-related pods (e.g., `mta-hub`, `mta-ui`, `mta-postgres`) are in *Running* status.

Or consider moving this content to the Verification section below (lines 53-55) to consolidate verification steps.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/topics/mta-install/proc_installing-mta-operator.adoc` around lines 49 -
52, The step starting with "Verify that the MTA pods are running:" is
incomplete—update it to tell users which pods to check and what states to expect
(e.g., locate the MTA-related pods from the Administration > Workloads > Pods
view by name/label such as the MTA operator/controller pods, confirm their
STATUS is "Running", the READY column matches the desired replicas like "1/1" or
"N/N", and that there are no CrashLoopBackOff or Error states), or move this
guidance into the existing Verification section to consolidate the checks.
🧹 Nitpick comments (1)
docs/topics/mta-install/proc_installing-cli-zip.adoc (1)

18-18: Minor wording polish for readability.

Line 18 reads a bit more naturally without “the” before “containerless mode.”

✏️ Suggested wording tweak
-NOTE: This prerequisite is not applicable for the containerless mode. For more information, see link:{mta-URL}/using_the_mta_command-line_interface_to_analyze_applications/index#running-the-containerless-mta-cli_analyzing-applications-mta-cli[Analyzing an application in containerless mode].
+NOTE: This prerequisite is not applicable for containerless mode. For more information, see link:{mta-URL}/using_the_mta_command-line_interface_to_analyze_applications/index#running-the-containerless-mta-cli_analyzing-applications-mta-cli[Analyzing an application in containerless mode].
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/topics/mta-install/proc_installing-cli-zip.adoc` at line 18, Edit the
NOTE sentence that currently reads "This prerequisite is not applicable for the
containerless mode." and remove the definite article so it reads "This
prerequisite is not applicable for containerless mode." Update the same sentence
containing the link to keep spacing and punctuation intact around
link:{mta-URL}... so only the phrase "the containerless mode" is changed to
"containerless mode."
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@docs/topics/mta-install/proc_installing-mta-operator.adoc`:
- Around line 49-52: The step starting with "Verify that the MTA pods are
running:" is incomplete—update it to tell users which pods to check and what
states to expect (e.g., locate the MTA-related pods from the Administration >
Workloads > Pods view by name/label such as the MTA operator/controller pods,
confirm their STATUS is "Running", the READY column matches the desired replicas
like "1/1" or "N/N", and that there are no CrashLoopBackOff or Error states), or
move this guidance into the existing Verification section to consolidate the
checks.

---

Nitpick comments:
In `@docs/topics/mta-install/proc_installing-cli-zip.adoc`:
- Line 18: Edit the NOTE sentence that currently reads "This prerequisite is not
applicable for the containerless mode." and remove the definite article so it
reads "This prerequisite is not applicable for containerless mode." Update the
same sentence containing the link to keep spacing and punctuation intact around
link:{mta-URL}... so only the phrase "the containerless mode" is changed to
"containerless mode."

ℹ️ Review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6565201 and 64cac0f.

📒 Files selected for processing (8)
  • docs/rules-development-guide/master.adoc
  • docs/topics/mta-cli/ref_supported-migration-paths.adoc
  • docs/topics/mta-install/con_mta-rules.adoc
  • docs/topics/mta-install/proc_installing-cli-zip.adoc
  • docs/topics/mta-install/proc_installing-mta-operator.adoc
  • docs/topics/mta-install/ref_persistent-volume-requirements.adoc
  • docs/topics/vscode/proc_installing-vscode-extension.adoc
  • docs/web-console-guide/master.adoc
💤 Files with no reviewable changes (3)
  • docs/topics/mta-cli/ref_supported-migration-paths.adoc
  • docs/topics/mta-install/ref_persistent-volume-requirements.adoc
  • docs/topics/mta-install/con_mta-rules.adoc

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.

1 participant