Moved generated module RSTs to their own directory. (#33966)

* Moved generated module RSTs to their own directory.

* WIP commit - fixed conflict with conf.py exclude_patterns by renaming module RST output directory to 'module_docs'.

* Added new directory to formatter module links; aded new module directory to makefile clean.

* Removed illegal comment from block.
This commit is contained in:
scottb
2017-12-21 01:47:39 -08:00
committed by GitHub
parent 60f3649ebd
commit f8f34c7bab
3 changed files with 7 additions and 6 deletions

View File

@@ -45,6 +45,7 @@ webdocs: docs
#TODO: leaving htmlout removal for those having older versions, should eventually be removed also
clean:
-rm -rf htmlout
-rm -rf module_docs
-rm -rf _build
-rm -f .buildinfo
-rm -f objects.inv
@@ -82,7 +83,7 @@ config:
PYTHONPATH=../../lib $(CONFIG_DUMPER) --template-file=../templates/config.rst.j2 --output-dir=rst/ -d ../../lib/ansible/config/base.yml
modules: $(FORMATTER) ../templates/plugin.rst.j2
PYTHONPATH=../../lib $(FORMATTER) -t rst --template-dir=../templates --module-dir=../../lib/ansible/modules -o rst/ $(MODULE_ARGS)
PYTHONPATH=../../lib $(FORMATTER) -t rst --template-dir=../templates --module-dir=../../lib/ansible/modules -o rst/module_docs/ $(MODULE_ARGS)
plugins: $(FORMATTER) ../templates/plugin.rst.j2
@echo "looping over doc plugins"

View File

@@ -23,14 +23,14 @@ Ansible, Inc. releases a new major release of Ansible approximately every two mo
.. _an_introduction:
.. toctree::
:maxdepth: 1
:maxdepth: 2
intro
quickstart
playbooks
playbooks_special_topics
modules
modules_by_category
module_docs/modules_by_category
vault
command_line_tools
plugins_by_category