1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/docs/docsite
Toshio Kuratomi eeebd51f21 Rename the type filter to type_debug
Because we add the names of all filters to the callable whitelist used
by safe_eval, adding a filter named type makes it so code calling "type()"
gets eval'd.  We can't think of a way to exploit this but it's
sufficiently sketchy that we're renaming it in case someone smarter than
us can think of a problem.
2017-01-11 14:48:21 -08:00
..
_static consolidated docs 2017-01-06 09:16:59 -05:00
_themes/srtd consolidated docs 2017-01-06 09:16:59 -05:00
js/ansible consolidated docs 2017-01-06 09:16:59 -05:00
man consolidated docs 2017-01-06 09:16:59 -05:00
rst Rename the type filter to type_debug 2017-01-11 14:48:21 -08:00
rst_common consolidated docs 2017-01-06 09:16:59 -05:00
.gitignore consolidated docs 2017-01-06 09:16:59 -05:00
.nojekyll consolidated docs 2017-01-06 09:16:59 -05:00
build-site.py consolidated docs 2017-01-06 09:16:59 -05:00
conf.py Fix all RST errors for docs/docsite/rst (#20005) 2017-01-07 11:38:52 -08:00
favicon.ico consolidated docs 2017-01-06 09:16:59 -05:00
Makefile fixed webdoc generation 2017-01-06 11:23:29 -05:00
modules.js consolidated docs 2017-01-06 09:16:59 -05:00
README.md consolidated docs 2017-01-06 09:16:59 -05:00
variables.dot consolidated docs 2017-01-06 09:16:59 -05:00

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/.

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"