git repository for antora playbook.
Antora playbook will get the documentation from all other git repositorys and build a static site.
-
Clone projet
git clone https://github.com/stian90/antora-playbook
cd antora-playbook
-
Install Antora (if not installaed globaly)
npm i -g @antora/[email protected] @antora/[email protected]
-
Login to github
For use with private repos.
macos:
brew install gh
gh auth login
-
Build site- --fetch prevent to use cached files
npx antora --fetch ./antora-playbook.yml
-
move to webserver
rsync -aP ./build/site/ [email protected]:/mnt/user/webserver_antora
-
Run localy
npx antora --fetch ./antora-playbook-locale.yml
This will genereta a "build" folder, and you can now preview the site from:
./antora-playbook/build/site/index.html