diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d07299bade9f50d37d4f4f7631238f18a08caeca..340e07cd3d435ade01867ec7193fb1aca003c6b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,7 +55,7 @@ ragdoc_build: needs: - build script: - - JAVA_FILES=$(find dumpAstWithPlantuml/src/ -name '*.java') + - JAVA_FILES=$(find dumpAst/src/ -name '*.java') - /ragdoc-builder/start-builder.sh -excludeGenerated -d data/ $JAVA_FILES artifacts: paths: diff --git a/pages/docs/adding.md b/pages/docs/adding.md index 2822997b946d501554f3644f016452e95a1ee0a7..388ea3d7b1769824b927b8cacee98e8b9d136157 100644 --- a/pages/docs/adding.md +++ b/pages/docs/adding.md @@ -47,13 +47,11 @@ task grammar2uml(type: JavaExec) { ### dumpAst -To use `DumpAst` or `DumpAstWithPlantuml`, add it as a dependency: +To use `DumpAst`, add it as a dependency: ``` dependencies { - implementation group: 'de.tudresden.inf.st', name: 'dumpAst', version: '0.3.4' - // or - implementation group: 'de.tudresden.inf.st', name: 'dumpAstWithPlantuml', version: '0.3.4' + implementation group: 'de.tudresden.inf.st', name: 'dumpAst', version: '0.3.7' } ``` @@ -66,7 +64,7 @@ If you want to build the tools of `Relast2Uml` from source, first build the jar git clone https://git-st.inf.tu-dresden.de/jastadd/relast2uml.git cd relast2uml ./gradlew jar -ls dumpAst/build/libs/ dumpAstWithPlantuml/build/libs/ +ls dumpAst/build/libs/ ``` Those JARs can then be copied to your project. diff --git a/pages/docs/img/dumpAst.png b/pages/docs/img/dumpAst.png index db1fecd4eeef97f01d961f003ca2e2cd2e55d525..919d8b1df6856c215f512fb2fe0101b9b8510b90 100644 Binary files a/pages/docs/img/dumpAst.png and b/pages/docs/img/dumpAst.png differ diff --git a/pages/docs/index.md b/pages/docs/index.md index 43ab1c3a63dc9349e98eba10d6f0e7bc6a18c17a..80e8008f7e47b4ebc8676959db78292d306c4e76 100644 --- a/pages/docs/index.md +++ b/pages/docs/index.md @@ -23,9 +23,9 @@ Using the return value, the following methods are supported and can be chained t |---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | customPreamble | Add the given string as preamble to the visualization. | | disableTypes | Disable all objects with types matching at least one of the given regex strings. Disabled objects won't be included in any output. However, their children are still processed. | -| dumpAsPNG | Write out content as PNG image generated by plantuml. (**Only available in dumpAstWithPlantuml**) | +| dumpAsPNG | Write out content as PNG image generated by plantuml. | | dumpAsSource | Write out content as plantuml source code | -| dumpAsSVG | Write out content as SVG image generated by plantuml. (**Only available in dumpAstWithPlantuml**) | +| dumpAsSVG | Write out content as SVG image generated by plantuml. | | dumpAsYaml | Write out content as YAML representation of the ASTNode | | enableDebug | Add debug information in dumped content, mainly version numbers. | | excludeAttributesFor | *experimental, documentation missing* |