From 3c4afd0470d8dfb0c10dcaa19abda6c3ca591e75 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 10 Jan 2017 15:58:22 -0500 Subject: [PATCH] Doc module meta (#20093) * updated module docs to reflect unification/meta * new doc page * also remove module refs to old core/extra * Update modules_support.rst Light edit. --- docs/docsite/rst/modules.rst | 3 +- docs/docsite/rst/modules_core.rst | 13 -------- docs/docsite/rst/modules_extra.rst | 22 ------------ docs/docsite/rst/modules_support.rst | 50 ++++++++++++++++++++++++++++ hacking/templates/rst.j2 | 6 +--- 5 files changed, 52 insertions(+), 42 deletions(-) delete mode 100644 docs/docsite/rst/modules_core.rst delete mode 100644 docs/docsite/rst/modules_extra.rst create mode 100644 docs/docsite/rst/modules_support.rst diff --git a/docs/docsite/rst/modules.rst b/docs/docsite/rst/modules.rst index 11473b7c2a..4eba15876c 100644 --- a/docs/docsite/rst/modules.rst +++ b/docs/docsite/rst/modules.rst @@ -5,9 +5,8 @@ About Modules :maxdepth: 1 modules_intro - modules_core - modules_extra common_return_values + modules_support Ansible ships with a number of modules (called the 'module library') diff --git a/docs/docsite/rst/modules_core.rst b/docs/docsite/rst/modules_core.rst deleted file mode 100644 index 58114b93ce..0000000000 --- a/docs/docsite/rst/modules_core.rst +++ /dev/null @@ -1,13 +0,0 @@ -Core Modules ------------- - -These are modules that the core ansible team maintains and will always ship with ansible itself. -They will also receive slightly higher priority for all requests than those in the "extras" repos. - -The source of these modules is hosted on GitHub in the `ansible `_ repo. - -If you believe you have found a bug in a core module and are already running the latest stable or development version of Ansible, first look in the `issue tracker at github.com/ansible/ansible `_ to see if a bug has already been filed. If not, we would be grateful if you would file one. - -Should you have a question rather than a bug report, inquiries are welcome on the `ansible-project google group `_ or on Ansible's "#ansible" channel, located on irc.freenode.net. Development oriented topics should instead use the similar `ansible-devel google group `_. - -Documentation updates for these modules can also be edited directly in the module itself and by submitting a pull request to the module source code, just look for the "DOCUMENTATION" block in the source tree. diff --git a/docs/docsite/rst/modules_extra.rst b/docs/docsite/rst/modules_extra.rst deleted file mode 100644 index 1881669560..0000000000 --- a/docs/docsite/rst/modules_extra.rst +++ /dev/null @@ -1,22 +0,0 @@ -Extras Modules --------------- - -These modules are currently shipped with Ansible, but might be shipped separately in the future. They are also mostly maintained by the community. -Non-core modules are still fully usable, but may receive slightly lower response rates for issues and pull requests. - -Popular "extras" modules may be promoted to core modules over time. - -The source for these modules is hosted on GitHub in the `ansible `_ repo. - -If you believe you have found a bug in an extras module and are already running the latest stable or development version of Ansible, -first look in the `issue tracker at github.com/ansible/ansible `_ -to see if a bug has already been filed. If not, we would be grateful if you could file one. - -Should you have a question rather than a bug report, inquiries are welcome on the `ansible-project google group `_ -or on Ansible's "#ansible" channel, located on irc.freenode.net. -Development oriented topics should instead use the similar `ansible-devel google group `_. - -Documentation updates for this module can also be edited directly in the module and by submitting a pull request to the module source code, just look for the "DOCUMENTATION" block in the source tree. - -For help in developing on modules, should you be so inclined, please read :doc:`community`, :doc:`dev_guide/developing_test_pr` and :doc:`dev_guide/developing_modules`. - diff --git a/docs/docsite/rst/modules_support.rst b/docs/docsite/rst/modules_support.rst new file mode 100644 index 0000000000..2c6e8e8f7a --- /dev/null +++ b/docs/docsite/rst/modules_support.rst @@ -0,0 +1,50 @@ +Module Support +-------------- + +.. toctree:: :maxdepth: 1 + +Ansible has many modules, but not all of them are maintained by the core project commiters. Each module should have associated metadata that indicates which of the following categories they fall into. This should be visible in each module's documentation. + +Documentation updates for each module can also be edited directly in the module and by submitting a pull request to the module source code; just look for the "DOCUMENTATION" block in the source tree. + +If you believe you have found a bug in a module and are already running the latest stable or development version of Ansible, first look in the `issue tracker at github.com/ansible/ansible `_ to see if a bug has already been filed. If not, we would be grateful if you would file one. + +Should you have a question rather than a bug report, inquiries are welcome on the `ansible-project google group `_ or on Ansible's "#ansible" channel, located on irc.freenode.net. + +For development-oriented topics, use the `ansible-devel google group `_ or Ansible's "#ansible" and "#ansible-devel" channels, located on irc.freenode.net. You should also read :doc:`community`, :doc:`dev_guide/developing_test_pr` and :doc:`dev_guide/developing_modules`. + +The modules are hosted on GitHub in the in a subdirectory of the `ansible `_ repo. + +Core +```` + +These are modules that the core ansible team maintains and will always ship with ansible itself. +They will also receive slightly higher priority for all requests. Non-core modules are still fully usable. + +Curated +``````` + +These modules are currently shipped with Ansible, but might be shipped separately in the future. They are mostly maintained by the community but core committers will oversee any changes or even take care of any issues that arise. + +Community +````````` + +These modules are currently shipped with Ansible, but might be shipped separately in the future. They are maintained by the community. +They are still fully usable, but the response rate to issues is purely up to the community. + + +.. seealso:: + + :doc:`intro_adhoc` + Examples of using modules in /usr/bin/ansible + :doc:`playbooks` + Examples of using modules with /usr/bin/ansible-playbook + :doc:`dev_guide/developing_modules` + How to write your own modules + :doc:`dev_guide/developing_api` + Examples of using modules with the Python API + `Mailing List `_ + Questions? Help? Ideas? Stop by the list on Google Groups + `irc.freenode.net `_ + #ansible IRC chat channel + diff --git a/hacking/templates/rst.j2 b/hacking/templates/rst.j2 index e3a180ebea..4104957874 100644 --- a/hacking/templates/rst.j2 +++ b/hacking/templates/rst.j2 @@ -190,11 +190,7 @@ Support @{ support[metadata.supported_by] }@ -{% if metadata.supported_by == 'core' %} -For more information on what this means please read :doc:`modules_core` -{% else %} -For more information on what this means please read :doc:`modules_extra` -{% endif %} +For more information on what this means please read :doc:`modules_support` {% endif %} {% endif %}