Skip to content

Commit

Permalink
docs: simplify toctree of release notes
Browse files Browse the repository at this point in the history
The existing globbing had too many overly-specific cases.

This led to quite a few documents having globs that matched nothing,
like:

    x/?.?.??

Unless there was a 3.5.10, this would match nothing.  Given how we
structure these documents, `x/*` is enough.  I've left the `x/*-alpha`
type patterns in place, just to keep the ordering a little nicer, for
now.
  • Loading branch information
rjbs committed Jan 6, 2025
1 parent c2142fc commit 0acd3d7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 22 deletions.
7 changes: 3 additions & 4 deletions docsrc/imap/download/release-notes/3.0/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Cyrus IMAP 3.0 Releases
:maxdepth: 1
:glob:

x/?.?.*-beta*
x/?.?.*-rc*
x/?.?.?
x/?.?.??
x/*-beta*
x/*-rc*
x/*
2 changes: 1 addition & 1 deletion docsrc/imap/download/release-notes/3.1/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ Cyrus IMAP 3.1 Tags
:maxdepth: 1
:glob:

x/?.?.*
x/*
7 changes: 3 additions & 4 deletions docsrc/imap/download/release-notes/3.2/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Cyrus IMAP 3.2 Releases
:maxdepth: 1
:glob:

x/?.?.*-beta*
x/?.?.*-rc*
x/?.?.?
x/?.?.??
x/*-beta*
x/*-rc*
x/*
3 changes: 1 addition & 2 deletions docsrc/imap/download/release-notes/3.3/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ Cyrus IMAP 3.3 Tags
:maxdepth: 1
:glob:

x/?.?.?
x/?.?.??
x/*
8 changes: 3 additions & 5 deletions docsrc/imap/download/release-notes/3.4/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ Cyrus IMAP 3.4 Releases
:maxdepth: 1
:glob:

x/?.?.*-alpha*
x/?.?.*-beta*
x/?.?.*-rc*
x/?.?.?
x/?.?.??
x/*-beta*
x/*-rc*
x/*
6 changes: 0 additions & 6 deletions docsrc/imap/download/release-notes/3.5/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,3 @@ Cyrus IMAP 3.5 Tags
there will generally be **large breaking changes** occurring between
releases in this series.

.. toctree::
:maxdepth: 1
:glob:

x/?.?.?
x/?.?.??

0 comments on commit 0acd3d7

Please sign in to comment.