-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #182 from mojavelinux/issue-170
- Loading branch information
Showing
13 changed files
with
282 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Content included from the file _include.adoc. |
26 changes: 20 additions & 6 deletions
26
src/it/maven-site-plugin/src/site/asciidoc/file-with-toc.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,30 @@ | ||
= Maven Site Plugin Test | ||
= File with TOC | ||
:toc: | ||
|
||
This is an example file to test asciidoctor-maven-plugin with maven-site-plugin. | ||
[.lead] | ||
This is an example file that was processed by the site module in the Asciidoctor Maven Plugin. | ||
|
||
== First section | ||
|
||
= First section | ||
This is the first section of the page. | ||
|
||
== Sub section | ||
include::_include.adoc[] | ||
|
||
=== Sub section | ||
|
||
This is a subsection of the first section | ||
|
||
= Second section | ||
TIP: You can control the number of section levels displayed in the TOC using the `toclevels` attribute. | ||
|
||
== Second section | ||
|
||
This is the first section of the page. | ||
|
||
== Sub section | ||
=== Sub section | ||
|
||
This is a subsection of the second section. | ||
|
||
[source,xml,indent=0] | ||
---- | ||
include::../../../pom.xml[tag=plugin-decl] | ||
---- |
1 change: 1 addition & 0 deletions
1
src/it/maven-site-plugin/src/site/asciidoc/templates/paragraph.html.slim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
p class=role =content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<project name="Maven Site Plugin IT"> | ||
<body> | ||
<menu name="AsciiDoc Pages"> | ||
<item name="File with TOC" href="/file-with-toc.html"/> | ||
</menu> | ||
${reports} | ||
</body> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 0 additions & 42 deletions
42
src/main/java/org/asciidoctor/maven/site/AsciidoctorLegacySiteModule.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.