This is a playground for a new VyOS documentation starting for VyOS 1.2 (Crux) release.
To build the manual run the following commands inside the docs folder:
make htmlfor a HTML manualmake latexpdffor a LaTeX rendered PDF
Required Debian Packages:
python-sphinxpython-sphinx-rtd-themelatexmktexlive-latex-recommendedtexlive-fonts-recommendedtexlive-latex-extra
Required extra setup procedure on Debian:
sudo apt-get install python-pip
sudo pip install sphinx-autobuildTo build and run a webeserver, inside the docs folder:
make livehtmland browse to http://localhost:8000
Using our Dockerfile you create your own Docker container that is used to build a VyOS documentation.
$ docker build -t vyos-docu dockerLinux
$ docker run --rm -it -v "$(pwd)":/vyos -w /vyos/docs -e GOSU_UID=$(id -u) -e GOSU_GID=$(id -g) vyos-docu make html
# sphinx autobuild
$ docker run --rm -it -p 8000:8000 -v "$(pwd)":/vyos -w /vyos/docs -e GOSU_UID=$(id -u) -e GOSU_GID=$(id -g) vyos-docu make livehtmlWindows
docker run --rm -it -v "$(pwd):/vyos" -w /vyos/docs vyos-docu make html
# sphinx autobuild
docker run --rm -it -p 8000:8000 -v "$(pwd):/vyos" -w /vyos/docs vyos-docu make livehtml