This repository holds the documentation for the IaC Scanner.
This project documents all the related IaC Scanner tools and services. The documentation is available on GitHub Pages.
You can run the docs using a public xscanner/docs Docker image as follows:
# run IaC Scanner documentation in a Docker container and navigate to localhost:8000
$ docker run --name iac-scanner-docs -p 8000:80 xscanner/docsOr you can build the image locally and run it as follows:
# build Docker container
$ docker build -t iac-scanner-docs .
# run IaC Scanner documentation in a Docker container and navigate to localhost:8000
$ docker run --name iac-scanner-docs -p 8000:80 iac-scanner-docsFor documenting the IaC Scanner we use the Sphinx documentation tool. Here we can render Sphinx Documentation from RST files and we use Read the Docs theme.
To test the documentation locally run the commands below:
# create and activate a new Python virualenv
$ python3 -m venv .venv && . .venv/bin/activate
# update pip and install Sphinx requirements
(.venv) $ pip install --upgrade pip
(.venv) $ pip install -r requirements.txt
# build the HTML documentation
(.venv) $ sphinx-build -M html docs build
# build the Latex and PDF documentation
(.venv) $ sphinx-build -M latexpdf docs buildAfter that you will found rendered documentation HTML files in build folder and you can open and view them inside
your browser.
This work is licensed under the Apache License 2.0.
You can contact the xOpera team by sending an email to xopera@xlab.si.
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under Grant Agreement No. 101000162 (PIACERE).