summaryrefslogtreecommitdiffstats
path: root/hacking/templates
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2014-10-31 19:18:18 +0100
committerBrian Coca <brian.coca+git@gmail.com>2014-10-31 19:18:18 +0100
commit86de59235f0f18f397bab1637167fdb278803931 (patch)
tree54f154a5aa40f7454a1659154720ccea7cf78d11 /hacking/templates
parentavoid modifying module var by just passing the substring to the append (diff)
downloadansible-86de59235f0f18f397bab1637167fdb278803931.tar.xz
ansible-86de59235f0f18f397bab1637167fdb278803931.zip
bypass core/extras text when module is deprecated
Diffstat (limited to 'hacking/templates')
-rw-r--r--hacking/templates/rst.j26
1 files changed, 4 insertions, 2 deletions
diff --git a/hacking/templates/rst.j2 b/hacking/templates/rst.j2
index 8d6dc1c89b..1d55a0452b 100644
--- a/hacking/templates/rst.j2
+++ b/hacking/templates/rst.j2
@@ -109,7 +109,8 @@ Examples
{% endif %}
-{% if core %}
+{% if not deprecated %}
+ {% if core %}
This is a Core Module
---------------------
@@ -124,7 +125,7 @@ Documentation updates for this module can also be edited directly by submitting
This is a "core" ansible module, which means it will receive slightly higher priority for all requests than those in the "extras" repos.
-{% else %}
+ {% else %}
This is an Extras Module
------------------------
@@ -140,6 +141,7 @@ Documentation updates for this module can also be edited directly by submitting
Note that this module is designated a "extras" module. 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.
+ {% endif %}
{% endif %}
For help in developing on modules, should you be so inclined, please read :doc:`community`, :doc:`developing_test_pr` and :doc:`developing_modules`.