This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-training.git
The following commit(s) were added to refs/heads/develop by this push:
new 1acdfc1 chore: Commented out the diagram types, that we currently
can't reliably build on all OS/Architectures (Mainly Apple Silicon is a problem
here)
1acdfc1 is described below
commit 1acdfc15af7884239e01f30f26ec0bd071a78985
Author: Christofer Dutz <[email protected]>
AuthorDate: Mon Sep 23 16:15:33 2024 +0200
chore: Commented out the diagram types, that we currently can't reliably
build on all OS/Architectures (Mainly Apple Silicon is a problem here)
---
.../src/main/resources/archetype-resources/README.md | 14 --------------
.../archetype-resources/src/main/asciidoc/index.adoc | 4 ++++
2 files changed, 4 insertions(+), 14 deletions(-)
diff --git
a/tools/content-archetype/src/main/resources/archetype-resources/README.md
b/tools/content-archetype/src/main/resources/archetype-resources/README.md
index 12b59cc..cf2dfe4 100644
--- a/tools/content-archetype/src/main/resources/archetype-resources/README.md
+++ b/tools/content-archetype/src/main/resources/archetype-resources/README.md
@@ -21,7 +21,6 @@
Remarks:
- In order to use the preview of the IntelliJ asciidoctor plugin, you need to
set an attribute in the plugin settings: `imagesdir` = `../resources/images`
-- In order to generate the diagrams, GraphVIS needs to be installed locally.
Get it from: http://www.graphviz.org/
- Any css adjustments can go to `src/main/theme/apache.css` as this is
automatically embedded into the themes directory.
## Building the presentation
@@ -56,16 +55,3 @@ The following link should do the trick:
http:///{someFilePath}/?print-pdf
```
As soon as that's loaded, the presentation will look a bit odd. Now just use
the normal `print` functionality of the browser and select `print as PDF`.
-
-## Installing third party software:
-
-### Mermaid
-
-```
-npm install mermaid.cli
-```
-This will install mermaid under `node_modules/.bin/mmdc`.
-
-### PhantomJS
-
-https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip
diff --git
a/tools/content-archetype/src/main/resources/archetype-resources/src/main/asciidoc/index.adoc
b/tools/content-archetype/src/main/resources/archetype-resources/src/main/asciidoc/index.adoc
index 58f3608..5abf891 100644
---
a/tools/content-archetype/src/main/resources/archetype-resources/src/main/asciidoc/index.adoc
+++
b/tools/content-archetype/src/main/resources/archetype-resources/src/main/asciidoc/index.adoc
@@ -356,6 +356,7 @@ Person *--1 Location
--
--
+////
=== Mermaid: Flowchart
mermaid::diagrams/mermaid-flowchart-test.mmd[png]
@@ -401,6 +402,7 @@ gantt
Create tests for renderer :2d
Add to mermaid :1d
....
+////
=== SVGBob: Mindmap
@@ -523,6 +525,7 @@
validity</panel_attributes><additional_attributes>transparentSelection=false</ad
....
////
+////
=== Vega
[vega,vega-test,svg]
@@ -588,6 +591,7 @@
validity</panel_attributes><additional_attributes>transparentSelection=false</ad
]
}
....
+////
== Embedded HTML/JavaScript