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:
parent
f7f0a065f6
commit
b94da111e7
@ -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
|
||||||
|
@ -27,7 +27,6 @@ Reference documents and Resolutions
|
|||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
:glob:
|
|
||||||
:titlesonly:
|
:titlesonly:
|
||||||
|
|
||||||
reference/index
|
reference/index
|
||||||
|
@ -1 +1,2 @@
|
|||||||
/tc/reference/top-5-help-wanted.html 301 /tc/reference/help-most-needed.html
|
/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
|
||||||
|
@ -13,6 +13,7 @@ be expressed as a resolution.
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
:glob:
|
:glob:
|
||||||
|
:reversed:
|
||||||
|
|
||||||
2018*
|
2018*
|
||||||
|
|
||||||
@ -22,6 +23,7 @@ be expressed as a resolution.
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
:glob:
|
:glob:
|
||||||
|
:reversed:
|
||||||
|
|
||||||
2017*
|
2017*
|
||||||
|
|
||||||
@ -31,6 +33,7 @@ be expressed as a resolution.
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
:glob:
|
:glob:
|
||||||
|
:reversed:
|
||||||
|
|
||||||
2016*
|
2016*
|
||||||
|
|
||||||
@ -40,6 +43,7 @@ be expressed as a resolution.
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
:glob:
|
:glob:
|
||||||
|
:reversed:
|
||||||
|
|
||||||
2015*
|
2015*
|
||||||
|
|
||||||
@ -49,6 +53,7 @@ be expressed as a resolution.
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
:glob:
|
:glob:
|
||||||
|
:reversed:
|
||||||
|
|
||||||
2014*
|
2014*
|
||||||
|
|
||||||
@ -58,5 +63,6 @@ be expressed as a resolution.
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
:glob:
|
:glob:
|
||||||
|
:reversed:
|
||||||
|
|
||||||
2013*
|
2013*
|
||||||
|
@ -8,5 +8,6 @@ resolutions.
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
:glob:
|
:glob:
|
||||||
|
:reversed:
|
||||||
|
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user