doc: update release notes index to use globbing
Use globbing to find release notes and display them in the expected reverse-sorted order (newest release first). Some trickery is needed because were not using two-digit version/subversion numbers so the list won't sort naturally. This will eliminate the need to edit the index page on every release, until we get to subversion 10. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
parent
ff36fc7d67
commit
c4f730fcf5
1 changed files with 11 additions and 11 deletions
|
@ -21,20 +21,20 @@ so with the help of west.
|
||||||
The project's technical documentation is also tagged to correspond with a
|
The project's technical documentation is also tagged to correspond with a
|
||||||
specific release and can be found at https://docs.zephyrproject.org/.
|
specific release and can be found at https://docs.zephyrproject.org/.
|
||||||
|
|
||||||
|
.. comment We need to split the globbing of release notes to get the
|
||||||
|
single-digit and double-digit subversions sorted correctly. Specify
|
||||||
|
names in normal order and use the :reversed: option to reverse it.
|
||||||
|
This will get us through 10 subversions (0-9) before we need to
|
||||||
|
update this list for two-digit subversions again.
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
|
:glob:
|
||||||
|
:reversed:
|
||||||
|
|
||||||
release-notes-2.0
|
release-notes-1.?
|
||||||
release-notes-1.14
|
release-notes-1.*
|
||||||
release-notes-1.13
|
release-notes-*
|
||||||
release-notes-1.12
|
|
||||||
release-notes-1.11
|
|
||||||
release-notes-1.10
|
|
||||||
release-notes-1.9
|
|
||||||
release-notes-1.8
|
|
||||||
release-notes-1.7
|
|
||||||
release-notes-1.6
|
|
||||||
release-notes-1.5
|
|
||||||
|
|
||||||
.. _`GitHub repository`: https://github.com/zephyrproject-rtos/zephyr
|
.. _`GitHub repository`: https://github.com/zephyrproject-rtos/zephyr
|
||||||
.. _`GitHub tagged releases`: https://github.com/zephyrproject-rtos/zephyr/tags
|
.. _`GitHub tagged releases`: https://github.com/zephyrproject-rtos/zephyr/tags
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue