Skip to content

Fix grammar, typos, and awkward phrasing in site docs#188

Open
elharo wants to merge 2 commits into
apache:masterfrom
elharo:fix-docs-grammar-etc
Open

Fix grammar, typos, and awkward phrasing in site docs#188
elharo wants to merge 2 commits into
apache:masterfrom
elharo:fix-docs-grammar-etc

Conversation

@elharo

@elharo elharo commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Various documentation fixes:

  • custom.apt: "its provides" → "it provides"
  • index.apt.vm: "Toolchains Plugins enables" → "Toolchain Plugin enables", "discover and selects" → "discovers and selects", "let user copy/paste" → "lets the user copy and paste"
  • usage.apt.vm: "plugin that require" → "plugin that requires"
  • jdk.apt.vm: "In plugin's selection" → "In the plugin configuration", clarify jdkHome is a child of configuration, add missing articles
  • jdk-discovery.apt.vm: reword awkward "can be used to define whether...can be used" sentence

elharo and others added 2 commits July 23, 2026 11:51
- custom.apt: its provides -> it provides
- index.apt.vm: Toolchains Plugins -> Toolchain Plugin (singular)
- index.apt.vm: discover and selects -> discovers and selects
- index.apt.vm: let user copy/paste -> lets the user copy and paste
- usage.apt.vm: plugin that require -> plugin that requires
- jdk.apt.vm: In plugin's selection -> In the plugin configuration
- jdk.apt.vm: clarify jdkHome is child of configuration element
- jdk.apt.vm: add missing articles (The, the)
- jdk-discovery.apt.vm: reword awkward useJdk sentence
Clarified the description of the generate JDK toolchains XML goal to improve readability.
@elharo elharo added the documentation Improvements or additions to documentation label Jul 23, 2026
@elharo
elharo requested review from Copilot and vsiveton July 23, 2026 11:57

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 pull request updates the Maven Toolchains Plugin site documentation to improve grammar, fix typos, and rephrase a few sentences for clarity across the usage page and several toolchain-related docs.

Changes:

  • Fixes multiple typos/grammar issues (e.g., “require” → “requires”, “its provides” → “it provides”).
  • Improves phrasing/clarity in the introduction and JDK toolchain documentation.
  • Rewords the useJdk sentence in JDK discovery docs (though the updated wording currently references an incorrect property name).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/site/apt/index.apt.vm Fixes grammar and improves phrasing in the site introduction and goals overview.
src/site/apt/toolchains/custom.apt Fixes a typo in the custom toolchains documentation.
src/site/apt/toolchains/jdk.apt.vm Clarifies wording around JDK toolchain provides/configuration and improves sentence flow.
src/site/apt/toolchains/jdk-discovery.apt.vm Rewords a sentence about controlling whether the current JDK is used (but should reference toolchain.jdk.mode).
src/site/apt/usage.apt.vm Fixes a grammar issue in the usage description.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

* <<<env>>> / <<<toolchain.jdk.env>>>: the name of an environment variable that the JDK toolchain must match

The <<<useJdk>>> can be used to define whether the current JDK can be used if it matches the requirements.
The <<<useJdk>>> property controls whether the current JDK is used when it matches the requirements.
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.

2 participants