b616f4b98f
This is different wording for using the PPA to install. I also added the installation of apt-add-repository package which isn't always installed. (I'm a newbie but while running these I wished whatever style was being used on the docs pages would have let me cut and paste the commands without having to edit out the $ characters manually....) |
11 years ago | |
---|---|---|
.. | ||
_static | ||
_themes/srtd | ||
js/ansible | ||
man | ||
rst | 11 years ago | |
.gitignore | ||
.nojekyll | ||
Makefile | 11 years ago | |
README.md | ||
build-site.py | ||
conf.py | ||
favicon.ico | 11 years ago | |
modules.js | ||
variables.dot | 11 years ago |
README.md
Homepage and documentation source for Ansible
This project hosts the source behind docs.ansible.com
Contributions to the documentation are welcome. To make changes, submit a pull request that changes the reStructuredText files in the "rst/" directory only, and Michael can do a docs build and push the static files.
If you wish to verify output from the markup
such as link references, you may install sphinx and build the documentation by running
make viewdocs
from the ansible/docsite
directory.
To include module documentation you'll need to run make webdocs
at the top level of the repository. The generated
html files are in docsite/htmlout/.
If you do not want to learn the reStructuredText format, you can also file issues about documentation problems on the Ansible GitHub project.
Note that module documentation can actually be generated from a DOCUMENTATION docstring in the modules directory, so corrections to modules written as such need to be made in the module source, rather than in docsite source.
To install sphinx and the required theme, install pip and then "pip install sphinx sphinx_rtd_theme"