This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new d8ac2688 Give code blocks a real language instead of unknown
d8ac2688 is described below
commit d8ac2688251dabaa9242f4d49075e68b5bcfd897
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Nov 1 15:15:16 2026 +0000
Give code blocks a real language instead of unknown
---
src/site/markdown/examples/aggregate-dependency-sources.md.vm | 6 +++---
src/site/markdown/examples/aggregate.md.vm | 4 ++--
src/site/markdown/examples/exclude-package-names.md | 2 +-
src/site/markdown/examples/group-configuration.md.vm | 2 +-
src/site/markdown/examples/javadoc-resources.md.vm | 2 +-
src/site/markdown/examples/tag-configuration.md.vm | 2 +-
src/site/markdown/examples/test-javadocs.md.vm | 2 +-
src/site/markdown/index.md | 2 +-
8 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/site/markdown/examples/aggregate-dependency-sources.md.vm
b/src/site/markdown/examples/aggregate-dependency-sources.md.vm
index 035c8a8f..ba886119 100644
--- a/src/site/markdown/examples/aggregate-dependency-sources.md.vm
+++ b/src/site/markdown/examples/aggregate-dependency-sources.md.vm
@@ -30,7 +30,7 @@ under the License.
Consider the following project dependency graph:
-```unknown
+```text
org.test:project-distro:0.1
|
@@ -103,7 +103,7 @@ Fine-Tuning Included Dependencies
Unifying the javadocs of your project and its dependencies is fine, but let's
not go too far. Along with your own upstream projects, your distribution may
include dependencies on external projects. It may not be appropriate to include
javadocs for these projects in your distribution; linking to them is usually
better. In any case, you may not have enough influence over these external
projects to get them to produce source artifacts like the ones discussed above.
In our original example, [...]
-```unknown
+```text
`--> commons-cli:commons-cli:1.0
```
@@ -148,7 +148,7 @@ This is a pretty common direct dependency for projects that
provide command-line
**NOTE:** The above configuration excludes **only** commons-cli. If you have
multiple external dependencies, it may be easier to configure which
dependencies are **included**, as follows:
-```unknown
+```xml
[...]
<configuration>
<!-- switch on dependency-driven aggregation -->
diff --git a/src/site/markdown/examples/aggregate.md.vm
b/src/site/markdown/examples/aggregate.md.vm
index 1f9e846b..67454d3a 100644
--- a/src/site/markdown/examples/aggregate.md.vm
+++ b/src/site/markdown/examples/aggregate.md.vm
@@ -29,7 +29,7 @@ under the License.
For example, consider the following directory structure:
-```unknown
+```text
Project
|-- pom.xml
@@ -185,7 +185,7 @@ Since Java 9 it is possible to add module descriptors to
your projects, which ca
Occasionally, automatic modules need to import named modules. For example,
-```unknown
+```text
error: package org.w3c.dom is not visible
(package org.w3c.dom is declared in module java.xml, but module foobar
does not read it)
```
diff --git a/src/site/markdown/examples/exclude-package-names.md
b/src/site/markdown/examples/exclude-package-names.md
index c19f9a89..0a71ed32 100644
--- a/src/site/markdown/examples/exclude-package-names.md
+++ b/src/site/markdown/examples/exclude-package-names.md
@@ -30,7 +30,7 @@ To exclude specific packages, use
[<excludePackageNames/>](../javadoc-mojo
For instance, with the following packages:
-```unknown
+```text
com.mycompany.myapp
com.mycompany.myapp.package1
com.mycompany.myapp.package1.subpackage1
diff --git a/src/site/markdown/examples/group-configuration.md.vm
b/src/site/markdown/examples/group-configuration.md.vm
index 8ed538e7..8e3081d6 100644
--- a/src/site/markdown/examples/group-configuration.md.vm
+++ b/src/site/markdown/examples/group-configuration.md.vm
@@ -31,7 +31,7 @@ To set a grouping for different packages, use the
[<groups/>](../javadoc-m
For instance, with the following packages:
-```unknown
+```text
com.mycompany.myapp
com.mycompany.myapp.package1
com.mycompany.myapp.package1.subpackage1
diff --git a/src/site/markdown/examples/javadoc-resources.md.vm
b/src/site/markdown/examples/javadoc-resources.md.vm
index 662af10d..218491eb 100644
--- a/src/site/markdown/examples/javadoc-resources.md.vm
+++ b/src/site/markdown/examples/javadoc-resources.md.vm
@@ -30,7 +30,7 @@ The
[<javadocDirectory/>](../javadoc-mojo.html#javadocDirectory) parameter
Here is a typical set of resources files used by the Maven Javadoc plugin:
-```unknown
+```text
yourproject
|-- src
diff --git a/src/site/markdown/examples/tag-configuration.md.vm
b/src/site/markdown/examples/tag-configuration.md.vm
index fbe48044..e4f1c4c5 100644
--- a/src/site/markdown/examples/tag-configuration.md.vm
+++ b/src/site/markdown/examples/tag-configuration.md.vm
@@ -82,7 +82,7 @@ public class App {}
the Javadoc tool will generate the following Javadoc:
-```unknown
+```text
public class App
extends Object
diff --git a/src/site/markdown/examples/test-javadocs.md.vm
b/src/site/markdown/examples/test-javadocs.md.vm
index ff7c7356..5ed780b9 100644
--- a/src/site/markdown/examples/test-javadocs.md.vm
+++ b/src/site/markdown/examples/test-javadocs.md.vm
@@ -28,7 +28,7 @@ under the License.
Here is a typical project used by the Maven Javadoc plugin:
-```unknown
+```text
yourproject
|-- src
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index c3a919b4..03c4b63e 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -31,7 +31,7 @@ The Javadoc Plugin uses the Javadoc tool to generate javadocs
for the specified
The Javadoc Plugin gets the parameter values that will be used from the plugin
configuration specified in the pom. To hold all javadoc arguments, packages or
files, the Javadoc Plugin generates [argument
files](http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javadoc.html#argumentfiles)
and calls the Javadoc tool as follow:
-```unknown
+```text
javadoc.exe(or .sh) @options @packages | @argfile
```