Reverse sort order for resolution date globs

Sphinx 1.5 and later allows a :reversed: parameter for :glob:
toctrees. Since we're presenting our resolution index in reverse
chronological order grouped by year, reversing the glob order keeps
the dates within each year consistently ordered as well. Yes, this
is probably me being OCD.

The SIGs governance resolution file was inconsistently named,
leading to it showing up outside the expected sort order. Rename the
file and add a permanent redirect from the old URL to the new one.

Related cleanup, the main index toctree was incorrectly marked as a
:glob: even though it didn't use any wildcard patterns so has been
corrected.

Change-Id: Ifbc6db87e41f01311b430080b97154d01708a2d4
This commit is contained in:
Jeremy Stanley 2018-10-05 14:33:53 +00:00
parent f7f0a065f6
commit b94da111e7
6 changed files with 10 additions and 2 deletions

View File

@ -1 +1,2 @@
redirect 301 /tc/reference/top-5-help-wanted.html /tc/reference/help-most-needed.html
redirect 301 /tc/reference/top-5-help-wanted.html /tc/reference/help-most-needed.html
redirect 301 /tc/resolutions/2018-03-19-sig-governance.html /tc/resolutions/20180319-sig-governance.html

View File

@ -27,7 +27,6 @@ Reference documents and Resolutions
.. toctree::
:maxdepth: 2
:glob:
:titlesonly:
reference/index

View File

@ -1 +1,2 @@
/tc/reference/top-5-help-wanted.html 301 /tc/reference/help-most-needed.html
/tc/resolutions/2018-03-19-sig-governance.html 301 /tc/resolutions/20180319-sig-governance.html

View File

@ -13,6 +13,7 @@ be expressed as a resolution.
.. toctree::
:maxdepth: 1
:glob:
:reversed:
2018*
@ -22,6 +23,7 @@ be expressed as a resolution.
.. toctree::
:maxdepth: 1
:glob:
:reversed:
2017*
@ -31,6 +33,7 @@ be expressed as a resolution.
.. toctree::
:maxdepth: 1
:glob:
:reversed:
2016*
@ -40,6 +43,7 @@ be expressed as a resolution.
.. toctree::
:maxdepth: 1
:glob:
:reversed:
2015*
@ -49,6 +53,7 @@ be expressed as a resolution.
.. toctree::
:maxdepth: 1
:glob:
:reversed:
2014*
@ -58,5 +63,6 @@ be expressed as a resolution.
.. toctree::
:maxdepth: 1
:glob:
:reversed:
2013*

View File

@ -8,5 +8,6 @@ resolutions.
.. toctree::
:maxdepth: 1
:glob:
:reversed:
*