Browse Source

template

master
zeus 3 years ago
parent
commit
fb2e1ff826
  1. 6
      CloudComputing_and_Services_Lab/antora.yml
  2. 5
      CloudComputing_and_Services_Lab/build.sh
  3. BIN
      CloudComputing_and_Services_Lab/modules/ROOT/images/adhoc.png
  4. BIN
      CloudComputing_and_Services_Lab/modules/ROOT/images/swarmlab.png
  5. 1
      CloudComputing_and_Services_Lab/modules/ROOT/nav.adoc
  6. 11
      CloudComputing_and_Services_Lab/modules/ROOT/pages/index.adoc
  7. 4
      CloudComputing_and_Services_Lab/run/build-intro.sh
  8. 4
      CloudComputing_and_Services_Lab/run/build.sh
  9. 20
      CloudComputing_and_Services_Lab/site.yml

6
CloudComputing_and_Services_Lab/antora.yml

@ -0,0 +1,6 @@
name: swarmlab_cloud
title: swarmlab_cloud
version: docs
nav:
- modules/ROOT/nav.adoc

5
CloudComputing_and_Services_Lab/build.sh

@ -0,0 +1,5 @@
docker stop swarmlab-documentation
docker container rm swarmlab-documentation
docker pull hub.swarmlab.io:5480/antora
docker run -ti --name swarmlab-documentation -p 8080:8080 -v $PWD/:/antora -v $PWD/supplemental-ui:/antora/supplemental-ui hub.swarmlab.io:5480/antora /bin/sh -c "DOCSEARCH_ENABLED=true DOCSEARCH_ENGINE=lunr DOCSEARCH_INDEX_VERSION=latest NODE_PATH=/usr/local/lib/node_modules:\$NODE_PATH exec sh -c '/antora/run/build.sh'"

BIN
CloudComputing_and_Services_Lab/modules/ROOT/images/adhoc.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

BIN
CloudComputing_and_Services_Lab/modules/ROOT/images/swarmlab.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

1
CloudComputing_and_Services_Lab/modules/ROOT/nav.adoc

@ -0,0 +1 @@
* xref:index.adoc[cloud]

11
CloudComputing_and_Services_Lab/modules/ROOT/pages/index.adoc

@ -0,0 +1,11 @@
= cloud
image::ROOT:swarmlab.png[swarmlab,150,float=right]
This tutorial demonstrates: *a.* howto create a Swarmlab.io doc wit asciidoc
== Intro
*intro* here

4
CloudComputing_and_Services_Lab/run/build-intro.sh

@ -0,0 +1,4 @@
antora --fetch /antora/site-intro.yml
antora /antora/site-intro.yml
ifconfig
http-server build/site -c-1

4
CloudComputing_and_Services_Lab/run/build.sh

@ -0,0 +1,4 @@
antora --fetch /antora/site.yml
antora /antora/site.yml
ifconfig
http-server build/site -c-1

20
CloudComputing_and_Services_Lab/site.yml

@ -0,0 +1,20 @@
site:
title: Swarmlab cloud
url: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs
start_page: swarmlab_cloud::index.adoc
content:
sources:
- url: https://git.swarmlab.io:3000/docs/Documentation.git
branches: master
start_path: docs
ui:
bundle:
url: https://git.swarmlab.io:3000/docs/docs/raw/branch/master/ui-bundle.zip
snapshot: true
supplemental_files: ./supplemental-ui
asciidoc:
attributes:
:plantuml-server-url: http://www.plantuml.com/plantuml
extensions:
- '@djencks/asciidoctor-mathjax'
- asciidoctor-plantuml
Loading…
Cancel
Save