diff --git a/CloudComputing_and_Services_Lab/antora.yml b/CloudComputing_and_Services_Lab/antora.yml index d6a028a..fefc141 100644 --- a/CloudComputing_and_Services_Lab/antora.yml +++ b/CloudComputing_and_Services_Lab/antora.yml @@ -1,6 +1,6 @@ - name: swarmlab_cloud - title: swarmlab_cloud + name: swarmlab_CloudComputing_and_Services_Lab + title: swarmlab_CloudComputing_and_Services_Lab version: docs nav: - modules/ROOT/nav.adoc diff --git a/CloudComputing_and_Services_Lab/modules/ROOT/nav.adoc b/CloudComputing_and_Services_Lab/modules/ROOT/nav.adoc index 4245037..eb03e49 100644 --- a/CloudComputing_and_Services_Lab/modules/ROOT/nav.adoc +++ b/CloudComputing_and_Services_Lab/modules/ROOT/nav.adoc @@ -1 +1 @@ -* xref:index.adoc[cloud] +* xref:index.adoc[CloudComputing_and_Services_Lab] diff --git a/CloudComputing_and_Services_Lab/modules/ROOT/pages/index.adoc b/CloudComputing_and_Services_Lab/modules/ROOT/pages/index.adoc index e44ce24..e8f69a1 100644 --- a/CloudComputing_and_Services_Lab/modules/ROOT/pages/index.adoc +++ b/CloudComputing_and_Services_Lab/modules/ROOT/pages/index.adoc @@ -1,5 +1,5 @@ -= cloud += CloudComputing_and_Services_Lab image::ROOT:swarmlab.png[swarmlab,150,float=right] diff --git a/CloudComputing_and_Services_Lab/site.yml b/CloudComputing_and_Services_Lab/site.yml index 4c5b613..c4727be 100644 --- a/CloudComputing_and_Services_Lab/site.yml +++ b/CloudComputing_and_Services_Lab/site.yml @@ -1,12 +1,12 @@ site: - title: Swarmlab cloud + title: Swarmlab CloudComputing_and_Services_Lab url: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs - start_page: swarmlab_cloud::index.adoc + start_page: swarmlab_CloudComputing_and_Services_Lab::index.adoc content: sources: - url: https://git.swarmlab.io:3000/docs/Documentation.git branches: master - start_path: docs + start_path: CloudComputing_and_Services_Lab ui: bundle: url: https://git.swarmlab.io:3000/docs/docs/raw/branch/master/ui-bundle.zip diff --git a/template/init-docs.sh b/template/init-docs.sh index 82ca14e..58ed302 100755 --- a/template/init-docs.sh +++ b/template/init-docs.sh @@ -3,8 +3,6 @@ #SERVICE_URL=https://git.swarmlab.io:3000/docs/Documentation.git -#SERVICE_NAME=cloud -#SERVICE_NAME_MENOU=cloud SOURCE="${BASH_SOURCE[0]}" @@ -137,9 +135,8 @@ if [[ ! -d "${dname}/modules" || ! -d "${dname}/supplemental-ui" || ! -d "${dnam exit 1 fi - exit 1 -cat << EOF > $dname/antora.yml +cat << EOF > ${dname}/antora.yml name: swarmlab_${SERVICE_NAME} title: swarmlab_${SERVICE_NAME} @@ -148,7 +145,7 @@ cat << EOF > $dname/antora.yml - modules/ROOT/nav.adoc EOF -cat << EOF > $dname/site.yml +cat << EOF > ${dname}/site.yml site: title: Swarmlab ${SERVICE_NAME} url: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs @@ -171,11 +168,11 @@ asciidoc: - asciidoctor-plantuml EOF -cat << EOF > $dname/modules/ROOT/nav.adoc +cat << EOF > ${dname}/modules/ROOT/nav.adoc * xref:index.adoc[${SERVICE_NAME_MENOU}] EOF -cat << EOF > $dname/modules/ROOT/pages/index.adoc +cat << EOF > ${dname}/modules/ROOT/pages/index.adoc = ${SERVICE_NAME_MENOU}