From 0273259ddfe23be86b3d9a465d90bc4b50bbf0c3 Mon Sep 17 00:00:00 2001 From: zeus Date: Wed, 23 Feb 2022 19:55:29 +0200 Subject: [PATCH] test template --- CloudComputing_Lab/antora.yml | 6 ++++++ .../build.sh | 0 .../modules/ROOT/images/adhoc.png | Bin .../modules/ROOT/images/swarmlab.png | Bin .../modules/ROOT/nav.adoc | 0 .../modules/ROOT/pages/index.adoc | 2 +- .../run/build-intro.sh | 0 .../run/build.sh | 0 .../site.yml | 6 +++--- CloudComputing_and_Services_Lab/antora.yml | 6 ------ template/init-docs.sh | 6 +++--- 11 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 CloudComputing_Lab/antora.yml rename {CloudComputing_and_Services_Lab => CloudComputing_Lab}/build.sh (100%) rename {CloudComputing_and_Services_Lab => CloudComputing_Lab}/modules/ROOT/images/adhoc.png (100%) rename {CloudComputing_and_Services_Lab => CloudComputing_Lab}/modules/ROOT/images/swarmlab.png (100%) rename {CloudComputing_and_Services_Lab => CloudComputing_Lab}/modules/ROOT/nav.adoc (100%) rename {CloudComputing_and_Services_Lab => CloudComputing_Lab}/modules/ROOT/pages/index.adoc (82%) rename {CloudComputing_and_Services_Lab => CloudComputing_Lab}/run/build-intro.sh (100%) rename {CloudComputing_and_Services_Lab => CloudComputing_Lab}/run/build.sh (100%) rename {CloudComputing_and_Services_Lab => CloudComputing_Lab}/site.yml (76%) delete mode 100644 CloudComputing_and_Services_Lab/antora.yml diff --git a/CloudComputing_Lab/antora.yml b/CloudComputing_Lab/antora.yml new file mode 100644 index 0000000..805054b --- /dev/null +++ b/CloudComputing_Lab/antora.yml @@ -0,0 +1,6 @@ + + name: CloudComputing_Lab + title: CloudComputing_Lab + version: docs + nav: + - modules/ROOT/nav.adoc diff --git a/CloudComputing_and_Services_Lab/build.sh b/CloudComputing_Lab/build.sh similarity index 100% rename from CloudComputing_and_Services_Lab/build.sh rename to CloudComputing_Lab/build.sh diff --git a/CloudComputing_and_Services_Lab/modules/ROOT/images/adhoc.png b/CloudComputing_Lab/modules/ROOT/images/adhoc.png similarity index 100% rename from CloudComputing_and_Services_Lab/modules/ROOT/images/adhoc.png rename to CloudComputing_Lab/modules/ROOT/images/adhoc.png diff --git a/CloudComputing_and_Services_Lab/modules/ROOT/images/swarmlab.png b/CloudComputing_Lab/modules/ROOT/images/swarmlab.png similarity index 100% rename from CloudComputing_and_Services_Lab/modules/ROOT/images/swarmlab.png rename to CloudComputing_Lab/modules/ROOT/images/swarmlab.png diff --git a/CloudComputing_and_Services_Lab/modules/ROOT/nav.adoc b/CloudComputing_Lab/modules/ROOT/nav.adoc similarity index 100% rename from CloudComputing_and_Services_Lab/modules/ROOT/nav.adoc rename to CloudComputing_Lab/modules/ROOT/nav.adoc diff --git a/CloudComputing_and_Services_Lab/modules/ROOT/pages/index.adoc b/CloudComputing_Lab/modules/ROOT/pages/index.adoc similarity index 82% rename from CloudComputing_and_Services_Lab/modules/ROOT/pages/index.adoc rename to CloudComputing_Lab/modules/ROOT/pages/index.adoc index e8f69a1..460c0f4 100644 --- a/CloudComputing_and_Services_Lab/modules/ROOT/pages/index.adoc +++ b/CloudComputing_Lab/modules/ROOT/pages/index.adoc @@ -1,5 +1,5 @@ -= CloudComputing_and_Services_Lab += CloudComputing_Lab image::ROOT:swarmlab.png[swarmlab,150,float=right] diff --git a/CloudComputing_and_Services_Lab/run/build-intro.sh b/CloudComputing_Lab/run/build-intro.sh similarity index 100% rename from CloudComputing_and_Services_Lab/run/build-intro.sh rename to CloudComputing_Lab/run/build-intro.sh diff --git a/CloudComputing_and_Services_Lab/run/build.sh b/CloudComputing_Lab/run/build.sh similarity index 100% rename from CloudComputing_and_Services_Lab/run/build.sh rename to CloudComputing_Lab/run/build.sh diff --git a/CloudComputing_and_Services_Lab/site.yml b/CloudComputing_Lab/site.yml similarity index 76% rename from CloudComputing_and_Services_Lab/site.yml rename to CloudComputing_Lab/site.yml index 3debcde..4cf3476 100644 --- a/CloudComputing_and_Services_Lab/site.yml +++ b/CloudComputing_Lab/site.yml @@ -1,12 +1,12 @@ site: - title: CloudComputing_and_Services_Lab + title: Swarmlab CloudComputing_Lab url: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs - start_page: CloudComputing_and_Services_Lab::index.adoc + start_page: CloudComputing_Lab::index.adoc content: sources: - url: https://git.swarmlab.io:3000/docs/Documentation.git branches: master - start_path: CloudComputing_and_Services_Lab + start_path: CloudComputing_Lab ui: bundle: url: https://git.swarmlab.io:3000/docs/docs/raw/branch/master/ui-bundle.zip diff --git a/CloudComputing_and_Services_Lab/antora.yml b/CloudComputing_and_Services_Lab/antora.yml deleted file mode 100644 index c0ad74d..0000000 --- a/CloudComputing_and_Services_Lab/antora.yml +++ /dev/null @@ -1,6 +0,0 @@ - - name: CloudComputing_and_Services_Lab - title: CloudComputing_and_Services_Lab - version: docs - nav: - - modules/ROOT/nav.adoc diff --git a/template/init-docs.sh b/template/init-docs.sh index 7f6783a..9306e8d 100755 --- a/template/init-docs.sh +++ b/template/init-docs.sh @@ -138,8 +138,8 @@ fi cat << EOF > ${dname}/antora.yml - name: swarmlab_${SERVICE_NAME} - title: swarmlab_${SERVICE_NAME} + name: ${SERVICE_NAME} + title: ${SERVICE_NAME} version: docs nav: - modules/ROOT/nav.adoc @@ -149,7 +149,7 @@ cat << EOF > ${dname}/site.yml site: title: Swarmlab ${SERVICE_NAME} url: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs - start_page: swarmlab_${SERVICE_NAME}::index.adoc + start_page: ${SERVICE_NAME}::index.adoc content: sources: - url: ${SERVICE_URL}