|
@ -3,8 +3,6 @@ |
|
|
|
|
|
|
|
|
#SERVICE_URL=https://git.swarmlab.io:3000/docs/Documentation.git |
|
|
#SERVICE_URL=https://git.swarmlab.io:3000/docs/Documentation.git |
|
|
|
|
|
|
|
|
#SERVICE_NAME=cloud |
|
|
|
|
|
#SERVICE_NAME_MENOU=cloud |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SOURCE="${BASH_SOURCE[0]}" |
|
|
SOURCE="${BASH_SOURCE[0]}" |
|
@ -137,9 +135,8 @@ if [[ ! -d "${dname}/modules" || ! -d "${dname}/supplemental-ui" || ! -d "${dnam |
|
|
exit 1 |
|
|
exit 1 |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
exit 1 |
|
|
|
|
|
|
|
|
|
|
|
cat << EOF > $dname/antora.yml |
|
|
cat << EOF > ${dname}/antora.yml |
|
|
|
|
|
|
|
|
name: swarmlab_${SERVICE_NAME} |
|
|
name: swarmlab_${SERVICE_NAME} |
|
|
title: swarmlab_${SERVICE_NAME} |
|
|
title: swarmlab_${SERVICE_NAME} |
|
@ -148,7 +145,7 @@ cat << EOF > $dname/antora.yml |
|
|
- modules/ROOT/nav.adoc |
|
|
- modules/ROOT/nav.adoc |
|
|
EOF |
|
|
EOF |
|
|
|
|
|
|
|
|
cat << EOF > $dname/site.yml |
|
|
cat << EOF > ${dname}/site.yml |
|
|
site: |
|
|
site: |
|
|
title: Swarmlab ${SERVICE_NAME} |
|
|
title: Swarmlab ${SERVICE_NAME} |
|
|
url: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs |
|
|
url: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs |
|
@ -171,11 +168,11 @@ asciidoc: |
|
|
- asciidoctor-plantuml |
|
|
- asciidoctor-plantuml |
|
|
EOF |
|
|
EOF |
|
|
|
|
|
|
|
|
cat << EOF > $dname/modules/ROOT/nav.adoc |
|
|
cat << EOF > ${dname}/modules/ROOT/nav.adoc |
|
|
* xref:index.adoc[${SERVICE_NAME_MENOU}] |
|
|
* xref:index.adoc[${SERVICE_NAME_MENOU}] |
|
|
EOF |
|
|
EOF |
|
|
|
|
|
|
|
|
cat << EOF > $dname/modules/ROOT/pages/index.adoc |
|
|
cat << EOF > ${dname}/modules/ROOT/pages/index.adoc |
|
|
|
|
|
|
|
|
= ${SERVICE_NAME_MENOU} |
|
|
= ${SERVICE_NAME_MENOU} |
|
|
|
|
|
|
|
|