feat(Dokumentation-Tool) Add Dokumentation-Tool to Template

This commit is contained in:
mfeix 2021-07-23 11:18:58 +02:00
parent f4a57076bc
commit f8df5fc7b4
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03
3 changed files with 40 additions and 3 deletions

View File

@ -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[]
----

View File

@ -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]

View File

@ -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