commit | 7636c6d15858d7f8532cd38f3f21a79f984cfcb5 | [log] [tgz] |
---|---|---|
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Tue Mar 02 16:44:22 2021 +0100 |
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Tue Mar 02 16:44:22 2021 +0100 |
tree | 65be9b2da88b043a578557d3b98be47536e345e7 | |
parent | 10d53fb3e539082ca3c0a72f67cea209a1b689a1 [diff] |
blog: Move Asciidoc to src/docs, add Maven lifecycle binding. Change-Id: Iee806beb48a4f5d072df892e92c10d328a133d5c
diff --git a/blog/README.md b/blog/README.md index fcc98c3..699fad6 100644 --- a/blog/README.md +++ b/blog/README.md
@@ -16,6 +16,18 @@ ``` +## Generating the Slide Show + +Generate the slide show by calling the `asciidoctor:process-asciidoc` +Maven goal: + +```shell script +./mvnw asciidoctor:process-asciidoc +``` + +You can find the HTML file at `target/generated-docs/SLIDES.html`. + + ## Packaging and running the application The application can be packaged using:
diff --git a/blog/pom.xml b/blog/pom.xml index ca5c806..55cff1b 100644 --- a/blog/pom.xml +++ b/blog/pom.xml
@@ -137,6 +137,15 @@ </revealjsdir> </attributes> </configuration> + <executions> + <execution> + <id>asciidoc-to-html</id> + <phase>prepare-package</phase> + <goals> + <goal>process-asciidoc</goal> + </goals> + </execution> + </executions> <dependencies> <dependency> <groupId>org.asciidoctor</groupId>
diff --git a/blog/src/main/asciidoc/COPYING.grayscalecss.txt b/blog/src/docs/asciidoc/COPYING.grayscalecss.txt similarity index 100% rename from blog/src/main/asciidoc/COPYING.grayscalecss.txt rename to blog/src/docs/asciidoc/COPYING.grayscalecss.txt
diff --git a/blog/src/main/asciidoc/SLIDES.adoc b/blog/src/docs/asciidoc/SLIDES.adoc similarity index 100% rename from blog/src/main/asciidoc/SLIDES.adoc rename to blog/src/docs/asciidoc/SLIDES.adoc
diff --git a/blog/src/main/asciidoc/SLIDES.css b/blog/src/docs/asciidoc/SLIDES.css similarity index 100% rename from blog/src/main/asciidoc/SLIDES.css rename to blog/src/docs/asciidoc/SLIDES.css
diff --git a/blog/src/main/asciidoc/UML.png b/blog/src/docs/asciidoc/UML.png similarity index 100% rename from blog/src/main/asciidoc/UML.png rename to blog/src/docs/asciidoc/UML.png Binary files differ
diff --git a/blog/src/main/asciidoc/UML.uml b/blog/src/docs/asciidoc/UML.uml similarity index 100% rename from blog/src/main/asciidoc/UML.uml rename to blog/src/docs/asciidoc/UML.uml
diff --git a/blog/src/main/asciidoc/grayscale.css b/blog/src/docs/asciidoc/grayscale.css similarity index 100% rename from blog/src/main/asciidoc/grayscale.css rename to blog/src/docs/asciidoc/grayscale.css