alexey-gusarov / ansible-provider-docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aliyun Ansible Modules Documentation

This project contains the source code of Module Documentation for Aliyun Ansible. Follow below instructions to generate documentation from DOCUMENTATION string in the modules.

Pre-Requisites (Ubuntu OS)

  • make utility

    Make utility is required to generate html docs. Install make utility by running below command on Ubuntu.
sudo apt-get -y install make 
  • python version 2.7.X

    Run below command to install python.
sudo apt-get -y install python2.7

Check python installation by running below command.

python --version
  • Install pip

    Run below command to install pip and other packages.
sudo apt-get -y install python-pip python-dev dos2unix
  • Install sphinx and theme:
pip install sphinx==1.4.8 sphinx_rtd_theme

Build the documentation

To build module documentation you'll need to run below command in ansible-provider-docs/docs/docsite folder.

cd docs/docsite
make webdocs 

The generated html files are in _build/html/ folder

About


Languages

Language:Python 96.4%Language:PowerShell 3.1%Language:Shell 0.4%Language:Dockerfile 0.1%Language:Makefile 0.0%Language:Tcl 0.0%Language:Go 0.0%Language:Roff 0.0%Language:DIGITAL Command Language 0.0%Language:C# 0.0%Language:Batchfile 0.0%Language:JavaScript 0.0%Language:HTML 0.0%