diff --git a/documentation/chapters/templates/tool-documentation-tool.adoc b/documentation/chapters/templates/tool-documentation-tool.adoc new file mode 100644 index 0000000..1daff7d --- /dev/null +++ b/documentation/chapters/templates/tool-documentation-tool.adoc @@ -0,0 +1,11 @@ +:sourcedir: ../../../ + += Dokumentation-Tool-template + +Das Dokumentation-Tool template. +Mehr Details und die Variablendokumentation sind zu finden hier: https://gitlab.exxcellent.de/gilden/ci/exxcellent-documentation-tool[Gilde CI/CD: exxcellent-documentation-tool]. + +.dokumentation-tool +---- +include::{sourcedir}/tool-documentation.gitlab-ci.yml[] +---- \ No newline at end of file diff --git a/documentation/document.adoc b/documentation/document.adoc index c4f9efd..7833d81 100644 --- a/documentation/document.adoc +++ b/documentation/document.adoc @@ -70,6 +70,5 @@ include::chapters/templates/maven-verify-template.adoc[leveloffset=2] == weitere Gilden-Tools -include::chapters/templates/sonar7.adoc[leveloffset=2] - -Weitere Templates für die Tools der CI Gilde, sind in den jeweiligen Repos zu finden. +include::chapters/templates/tool-sonar7.adoc[leveloffset=2] +include::chapters/templates/tool-documentation-tool.adoc[leveloffset=2] diff --git a/tool-documentation.gitlab-ci.yml b/tool-documentation.gitlab-ci.yml new file mode 100644 index 0000000..f0b3cb4 --- /dev/null +++ b/tool-documentation.gitlab-ci.yml @@ -0,0 +1,27 @@ +.pages-template: + image: gitlab.exxcellent.de:4567/gilden/ci/exxcellent-documentation-tool:latest + variables: + DOCUMENT_ROOT: . + INPUT_FILE: "*.adoc" + INPUT_FILE_REVEALJS: "*.-revealjs.adoc" + IMAGES_DIR: images + OUTPUT_DIR: public + PRINT_TOC: "true" + PRINT_SECTNUMS: "true" + REV_NUMBER: $CI_COMMIT_SHORT_SHA + CONFLUENCE_URL: "https://www.exxcellent.de/confluence/rest/api/" + CREATE_SUB_PAGES: "true" + REMOVE_ORPHANS: "true" + COMPACT_CHAPTER_LABELS: "true" + PAGE_PREFIX: "" + PAGE_SUFFIX: "" + before_script: [ ] + script: + - generate --type html + - generate --type pdf + - publish + artifacts: + paths: [ public/ ] + rules: + - when: manual +