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-jxr.git
The following commit(s) were added to refs/heads/master by this push:
new d811ce3 Give code blocks a real language instead of unknown
d811ce3 is described below
commit d811ce3695f76c31661acc30fa05c3537fab8a6d
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Nov 1 15:20:07 2026 +0000
Give code blocks a real language instead of unknown
---
maven-jxr-plugin/src/site/markdown/examples/aggregate.md.vm | 2 +-
src/site/markdown/examples/java.md | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/maven-jxr-plugin/src/site/markdown/examples/aggregate.md.vm
b/maven-jxr-plugin/src/site/markdown/examples/aggregate.md.vm
index eb81967..d2696f6 100644
--- a/maven-jxr-plugin/src/site/markdown/examples/aggregate.md.vm
+++ b/maven-jxr-plugin/src/site/markdown/examples/aggregate.md.vm
@@ -30,7 +30,7 @@ The `aggregate` parameter of the JXR Plugin can be used to
generate JXR files fo
For example, you have the following directory structure:
-```unknown
+```text
Project
|-- pom.xml
|-- Module1
diff --git a/src/site/markdown/examples/java.md
b/src/site/markdown/examples/java.md
index 5ee4ed0..f21222c 100644
--- a/src/site/markdown/examples/java.md
+++ b/src/site/markdown/examples/java.md
@@ -32,7 +32,7 @@ The cross-referencing API is pretty basic. You can generate
xref for a given Jav
JXR handles several options like an input/output encoding. See the
[API](../apidocs/org/apache/maven/jxr/JXR.html) for more information.
-```unknown
+```java
JXR jxr = new JXR();
jxr.setDest( "/target/jxr" );
jxr.setLog( new DummyLog() );
@@ -58,7 +58,7 @@ The generated JXR structure should be like the following:
You can transform a single Java source file with the following:
-```unknown
+```java
File sourceFile = new File( "/src/main/java/Test.java" );
PackageManager packageManager = new PackageManager( new DummyLog(),