ansible/docs/docsite
Brian Coca 41685fb516 fix precedence issue with facts and vars (#32302)
avoid making gathered facts high precedence, only set_fact is supposed to be.
vars set via set_fact with cacheable are higher precedence than plain facts.

Previously (after 6fbd0a8bb5) regular facts would end up with a
higher precedence than host or play vars, but they should not be. Facts were getting added to 'non_persistent_facts' (equivalent to 'register' vars) which is higher precedence than facts should be.

added 'cacheable set_facts' to precedence docs

'ansible_facts_cacheable' ->  '_ansible_facts_cacheable' (made 'private')
2017-11-01 11:42:17 -04:00
..
_static
_themes/srtd
js/ansible
man
rst fix precedence issue with facts and vars (#32302) 2017-11-01 11:42:17 -04:00
rst_common Add a code-smell test for smart quotes and remove smart quotes from all files 2017-09-18 16:49:16 -07:00
.gitignore
.nojekyll
favicon.ico
jinja2-2.9.7.inv
keyword_desc.yml move from with_<lookup>: to loop: 2017-10-10 15:43:49 -04:00
Makefile more updates to plugin/config generation (#30787) 2017-10-11 00:15:25 -04:00
Makefile.sphinx Generate plugin rst (#28901) 2017-09-19 11:14:27 -04:00
modules.js
python2-2.7.13.inv
python3-3.6.2.inv
README.md
variables.dot

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 the core team 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/.

To limit module documentation building to a specific module, run MODULES=NAME make webdocs instead. This should make testing module documentation syntax much faster. Instead of a single module, you can also specify a comma-separated list of modules. In order to skip building documentation for all modules, specify non-existing module name, for example MODULES=none make webdocs.

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"