Skip to content

docs(markdown): fix grammar, typos, and markup in .md.vm files - #1364

Merged
slachiewicz merged 1 commit into
mojohaus:masterfrom
kranthipoturaju:docs/fix-markdown-grammar-and-typos
May 1, 2026
Merged

slachiewicz merged 1 commit into
mojohaus:masterfrom
kranthipoturaju:docs/fix-markdown-grammar-and-typos

Conversation

@kranthipoturaju

Copy link
Copy Markdown
Contributor

Summary

Fixes grammar, typos, broken markup, and two functional documentation errors across all .md.vm template files and the main index.md.

Changes

Functional documentation fixes (incorrect behaviour if copy-pasted):

  • display-dependency-updates.md.vm โ€” <artifact>myartifact</artifact> โ†’ <artifactId>myartifact</artifactId> (invalid Maven POM element)
  • usage.md.vm โ€” Link text lock-snapshots pointing at use-releases.html corrected to use-releases
  • ignore-versions.md.vm โ€” Internal link ../version-rules.md.vm โ†’ ../version-rules.html (raw template path exposed in generated HTML)
  • update-properties.md.vm โ€” autoLinkItemDependencies โ†’ autoLinkDependencies (references a non-existent parameter name)

Grammar and language fixes:

  • change-recorder.md.vm โ€” "Writing a own" โ†’ "Writing Your Own"; "Changerecoder is stateful component" โ†’ "ChangeRecorder is a stateful component"
  • versions-api/index.md.vm โ€” "Writing an extensions" โ†’ "Writing Extensions"; "allow you write extension" โ†’ "allows you to write extensions"; "as used versions-maven-plugin use" โ†’ "as the one used by versions-maven-plugin";
    "Version Maven Plugin" โ†’ "the Versions Maven Plugin"
  • advancing-dependency-versions.md.vm + index.md โ€” Six goal descriptions: "which have been a newer X" โ†’ "for which a newer X is available" (grammatically incorrect in all occurrences)
  • advancing-dependency-versions.md.vm โ€” Duplicate column header "Considers releases" โ†’ "Considers -SNAPSHOTs" in goal matrix; missing - list bullet on use-latest-versions
  • versions-enforcer/index.md.vm โ€” "Below a rundimentary example" โ†’ "Below is a rudimentary example"
  • update-properties.md.vm โ€” "then the all dependencies"; double space; "disable the searching the reactor at all"; trailing comma โ†’ semicolon on allowSnapshots sentence
  • display-dependency-updates.md.vm โ€” "As said before" โ†’ "As mentioned above"
  • usage.md.vm โ€” Heading "Checking for new versions of specified by" โ†’ "specified by"
  • version-rules.md.vm โ€” "somewhat simpler to" โ†’ "somewhat similar to"; incomplete sentence "The described" completed; broken XML comment <!-- if provided, closed and annotated

Markdown syntax fixes:

  • update-properties.md.vm โ€” Mixed bold/backtick syntax on includes/excludes โ†’ consistent backticks
  • display-plugin-updates.md.vm โ€” Invalid <!--- triple-dash comment โ†’ <!--; "Note: that" โ†’ "Note that"
  • ignore-versions.md.vm โ€” Two bare code fences for log output โ†’ ```log
  • change-recorder.md.vm + usage.md.vm โ€” Bare code fences for shell commands โ†’ ```shell

Motivation

Several .md.vm template files had accumulated issues ranging from copy-paste errors and broken parameter names to grammatically incorrect goal descriptions repeated across multiple files. The two most impactful were the invalid
POM element (users copying the example would get a Maven parse error) and the autoLinkItemDependencies reference to a parameter that does not exist in the plugin.

Impact

  • Documentation readers and users only โ€” no source code changes
  • The <artifactId> and autoLinkDependencies corrections fix examples that were silently wrong
  • The version-rules.html link fix prevents a broken link in the generated site
  • All other changes are purely editorial; meaning and intent are preserved throughout

Testing

Documentation-only changes. Verified by inspecting each modified file to confirm no unintended changes to code samples, link targets, or Velocity macro syntax (#set, #parse, $h3, etc.).

Notes

  • The goal matrix table in advancing-dependency-versions.md.vm has a separate pre-existing structural issue (blank vs. Yes cells for use-next-releases/use-latest-releases) that requires semantic clarification from the plugin
    maintainers; it has not been changed here

Copilot AI review requested due to automatic review settings April 30, 2026 09:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the generated Maven site documentation for the Versions project by correcting copy/paste errors in examples, fixing broken link targets, and cleaning up grammar/Markdown formatting across the .md.vm templates and top-level docs.

Changes:

  • Fixes several โ€œfunctionalโ€ documentation issues (incorrect XML element name, incorrect parameter name, incorrect link text/targets).
  • Standardizes and clarifies wording across multiple pages (goal descriptions, headings, and explanatory text).
  • Improves Markdown rendering details (code fence languages and minor markup fixes).

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
versions-maven-plugin/src/site/markdown/version-rules.md.vm Grammar fixes and clarifies an XML comment/example text.
versions-maven-plugin/src/site/markdown/usage.md.vm Improves code fence language, fixes a mislabeled link, and corrects a heading.
versions-maven-plugin/src/site/markdown/index.md Fixes repeated grammatical issues in goal descriptions and improves wording/capitalization.
versions-maven-plugin/src/site/markdown/faq.md Fixes punctuation and cleans up a malformed example sentence.
versions-maven-plugin/src/site/markdown/examples/use-releases.md Corrects dependencyManagement spelling in documentation.
versions-maven-plugin/src/site/markdown/examples/update-properties.md.vm Fixes a wrong parameter name and improves multiple sentences/markup.
versions-maven-plugin/src/site/markdown/examples/unlock-snapshots.md Corrects dependencyManagement spelling in documentation.
versions-maven-plugin/src/site/markdown/examples/setaggregator.md Improves grammar in explanatory text.
versions-maven-plugin/src/site/markdown/examples/resolve-ranges.md Corrects dependencyManagement spelling in documentation.
versions-maven-plugin/src/site/markdown/examples/lock-snapshots.md Corrects dependencyManagement spelling in documentation.
versions-maven-plugin/src/site/markdown/examples/ignore-versions.md.vm Fixes an internal link target and improves code fence language for logs.
versions-maven-plugin/src/site/markdown/examples/display-plugin-updates.md.vm Fixes minor wording and corrects an HTML comment marker.
versions-maven-plugin/src/site/markdown/examples/display-dependency-updates.md.vm Fixes code fence language, wording, and corrects <artifactId> in an XML example.
versions-maven-plugin/src/site/markdown/examples/compare-dependencies.md Fixes a CLI example to use -DupdatePropertyVersions=true.
versions-maven-plugin/src/site/markdown/examples/advancing-dependency-versions.md.vm Fixes repeated grammar and a table header label for snapshot behavior.
versions-enforcer/src/site/markdown/index.md.vm Fixes grammar in the sample configuration introduction.
versions-api/src/site/markdown/index.md.vm Improves page/title wording and clarifies a classloader/versioning sentence.
versions-api/src/site/markdown/change-recorder.md.vm Fixes heading wording and improves a code block fence language.
README.md Improves grammar, punctuation, and code fence language in contributor/release instructions.

๐Ÿ’ก Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@slachiewicz slachiewicz added the documentation Improvements or additions to documentation label May 1, 2026
@slachiewicz
slachiewicz merged commit de05de6 into mojohaus:master May 1, 2026
20 of 21 checks passed
@github-actions github-actions Bot added this to the 2.21.1 milestone May 1, 2026
@kranthipoturaju
kranthipoturaju deleted the docs/fix-markdown-grammar-and-typos branch May 5, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants