feat(Dokumentation-Tool) Add Dokumentation-Tool to Template
This commit is contained in:
parent
f4a57076bc
commit
f8df5fc7b4
@ -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[]
|
||||||
|
----
|
||||||
@ -70,6 +70,5 @@ include::chapters/templates/maven-verify-template.adoc[leveloffset=2]
|
|||||||
|
|
||||||
== weitere Gilden-Tools
|
== weitere Gilden-Tools
|
||||||
|
|
||||||
include::chapters/templates/sonar7.adoc[leveloffset=2]
|
include::chapters/templates/tool-sonar7.adoc[leveloffset=2]
|
||||||
|
include::chapters/templates/tool-documentation-tool.adoc[leveloffset=2]
|
||||||
Weitere Templates für die Tools der CI Gilde, sind in den jeweiligen Repos zu finden.
|
|
||||||
|
|||||||
27
tool-documentation.gitlab-ci.yml
Normal file
27
tool-documentation.gitlab-ci.yml
Normal 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
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user