diff options
author | mattip <matti.picus@gmail.com> | 2018-10-16 10:59:55 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2018-10-16 19:45:54 +0300 |
commit | 47d30cb78a729b727618d30f46ed0246738c0f42 (patch) | |
tree | 719b975038831af64123559bd67fa2115c5b0fec /doc/neps | |
parent | 04c76c58d6fcbb2031cc3392fcf88c8dce5f33c9 (diff) | |
download | numpy-47d30cb78a729b727618d30f46ed0246738c0f42.tar.gz |
NEP: change toc title sorting
Diffstat (limited to 'doc/neps')
-rw-r--r-- | doc/neps/index.rst.tmpl | 23 | ||||
-rw-r--r-- | doc/neps/nep-0016-abstract-array.rst | 2 | ||||
-rw-r--r-- | doc/neps/nep-0022-ndarray-duck-typing-overview.rst | 2 |
3 files changed, 9 insertions, 18 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 %} diff --git a/doc/neps/nep-0016-abstract-array.rst b/doc/neps/nep-0016-abstract-array.rst index 0dc201541..86d164d8e 100644 --- a/doc/neps/nep-0016-abstract-array.rst +++ b/doc/neps/nep-0016-abstract-array.rst @@ -12,7 +12,7 @@ NEP 16 — An abstract base class for identifying "duck arrays" This NEP has been withdrawn in favor of the protocol based approach described in - `NEP 22 <http://www.numpy.org/neps/nep-0022-ndarray-duck-typing-overview.html>`__ + `NEP 22 <nep-0022-ndarray-duck-typing-overview.html>`__ Abstract -------- diff --git a/doc/neps/nep-0022-ndarray-duck-typing-overview.rst b/doc/neps/nep-0022-ndarray-duck-typing-overview.rst index 480da51a3..077166453 100644 --- a/doc/neps/nep-0022-ndarray-duck-typing-overview.rst +++ b/doc/neps/nep-0022-ndarray-duck-typing-overview.rst @@ -3,7 +3,7 @@ NEP 22 — Duck typing for NumPy arrays – high level overview =========================================================== :Author: Stephan Hoyer <shoyer@google.com>, Nathaniel J. Smith <njs@pobox.com> -:Status: Accepted +:Status: Final :Type: Informational :Created: 2018-03-22 :Resolution: https://mail.python.org/pipermail/numpy-discussion/2018-September/078752.html |