You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1.1 KiB

swarmlab docs

A swarmlab.io sidecar container.

Docs is a multi-repository documentation site generator (Antora based)

swarmlab.io docs

Build from git

git clone https://git.swarmlab.io:3000/docs/docs
or
git clone https://github.com/swarmlab-hybrid/docs.git

cd docs
./build.sh

Install services

Run: ./install-appl.sh

Workflow (Edit -> Preview -> push)

  1. Edit antora.yml (This is the main file)

  2. Edit modules/

  3. You can use a local build first to try out your changes

    ./build-local.sh

  4. Preview the results using your browser

    http://172.17.0.2:8080 # ip may be different

ℹ️ When you are satisfied with result push them to the original git repository

push.sh [push comment]

You HAVE to use a string litterall otherwise git will only register the first word!

./push.sh "my push comment"

update antora

./antora-update.sh

examples

see README.examples-adoc.md