From 86de59235f0f18f397bab1637167fdb278803931 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 31 Oct 2014 14:18:18 -0400 Subject: [PATCH] bypass core/extras text when module is deprecated --- hacking/templates/rst.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hacking/templates/rst.j2 b/hacking/templates/rst.j2 index 8d6dc1c89be..1d55a0452b3 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`.