summaryrefslogtreecommitdiff
path: root/doc/neps/index.rst.tmpl
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2018-10-16 10:59:55 +0300
committermattip <matti.picus@gmail.com>2018-10-16 19:45:54 +0300
commit47d30cb78a729b727618d30f46ed0246738c0f42 (patch)
tree719b975038831af64123559bd67fa2115c5b0fec /doc/neps/index.rst.tmpl
parent04c76c58d6fcbb2031cc3392fcf88c8dce5f33c9 (diff)
downloadnumpy-47d30cb78a729b727618d30f46ed0246738c0f42.tar.gz
NEP: change toc title sorting
Diffstat (limited to 'doc/neps/index.rst.tmpl')
-rw-r--r--doc/neps/index.rst.tmpl23
1 files changed, 7 insertions, 16 deletions
diff --git a/doc/neps/index.rst.tmpl b/doc/neps/index.rst.tmpl
index bf4df3dfb..1230d8077 100644
--- a/doc/neps/index.rst.tmpl
+++ b/doc/neps/index.rst.tmpl
@@ -52,7 +52,7 @@ Open NEPs (under consideration)
-Implemented NEPs
+Finished NEPs
----------------
.. toctree::
@@ -62,32 +62,23 @@ Implemented NEPs
{{ tags['Title'] }} <{{ tags['Filename'] }}>
{% endfor %}
-Deferred NEPs
--------------
+Deferred and Superseded NEPs
+----------------------------
.. toctree::
:maxdepth: 1
-{% for nep, tags in neps.items() if tags['Status'] == 'Deferred' %}
+{% for nep, tags in neps.items() if tags['Status'] in ('Deferred', 'Superseded') %}
{{ tags['Title'] }} <{{ tags['Filename'] }}>
{% endfor %}
-Rejected NEPs
--------------
+Rejected and Withdrawn NEPs
+---------------------------
.. toctree::
:maxdepth: 1
-{% for nep, tags in neps.items() if tags['Status'] == 'Rejected' %}
+{% for nep, tags in neps.items() if tags['Status'] in ('Rejected', 'Withdrawn') %}
{{ tags['Title'] }} <{{ tags['Filename'] }}>
{% endfor %}
-Withdrawn NEPs
---------------
-
-.. toctree::
- :maxdepth: 1
-
-{% for nep, tags in neps.items() if tags['Status'] == 'Withdrawn' %}
- {{ tags['Title'] }} <{{ tags['Filename'] }}>
-{% endfor %}