Skip to content

Commit b49434b

Browse files
committed
Remove releases from the changelog
1 parent becca1a commit b49434b

File tree

5 files changed

+123
-56
lines changed

5 files changed

+123
-56
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
- name: Install Sphinx
3535
run: |
3636
python -m pip install -U pip
37-
python -m pip install -U releases
3837
python -m pip install "sphinx~=${{ matrix.sphinx-version }}.0"
3938
python -m pip install .
4039
@@ -67,7 +66,7 @@ jobs:
6766
- name: Install Sphinx
6867
run: |
6968
python -m pip install -U pip
70-
python -m pip install -U sphinx releases
69+
python -m pip install -U sphinx
7170
python -m pip install .
7271
7372
- name: Run Sphinx
@@ -93,7 +92,6 @@ jobs:
9392
- name: Install Sphinx
9493
run: |
9594
python -m pip install -U pip
96-
python -m pip install -U releases
9795
python -m pip install "sphinx~=3.4.0" "Jinja2<3.1" "docutils<0.18"
9896
python -m pip install .
9997

alabaster/static/alabaster.css_t

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -706,14 +706,6 @@ a:hover tt, a:hover code {
706706
display: none!important;
707707
}
708708

709-
/* Make nested-list/multi-paragraph items look better in Releases changelog
710-
* pages. Without this, docutils' magical list fuckery causes inconsistent
711-
* formatting between different release sub-lists.
712-
*/
713-
div#changelog > div.section > ul > li > p:only-child {
714-
margin-bottom: 0;
715-
}
716-
717709
/* Hide fugly table cell borders in ..bibliography:: directive output */
718710
table.docutils.citation, table.docutils.citation td, table.docutils.citation th {
719711
border: none;

docs/changelog.rst

Lines changed: 112 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,39 @@
22
Changelog
33
=========
44

5-
- :support:`- backported` Dropped support for Python 3.8 and earlier.
6-
- :support:`- backported` Dropped support for Sphinx 3.3 and earlier.
5+
Next release (in development)
6+
-----------------------------
77

8-
- :release:`0.7.13 <2023-01-13>`
9-
- :support:`- backported` Modernized the project: s/Travis/Circle/ for CI,
8+
- Dropped support for Python 3.8 and earlier.
9+
- Dropped support for Sphinx 3.3 and earlier.
10+
11+
:git_tag:`0.7.13` -- 2023-01-13
12+
-------------------------------
13+
14+
- Modernized the project: s/Travis/Circle/ for CI,
1015
README badges, ``setup.cfg`` removal, metadata refresh, etc.
11-
- :support:`- backported` Dropped support for Python 2 and Python <3.6. This
16+
- Dropped support for Python 2 and Python <3.6. This
1217
includes various minor updates to work correctly with modern versions of
1318
Sphinx (1.6 at the very least). Thanks to Adam Turner for a pile of patches
1419
here.
1520

1621
.. warning::
1722
This change is backwards incompatible if you're on an old Python version.
1823

19-
- :support:`- backported` Tweak CSS somewhat for compatibility with modern
24+
- Tweak CSS somewhat for compatibility with modern
2025
Sphinx versions' base stylesheet.
21-
- :release:`0.7.12 <2018-10-02>`
22-
- :bug:`-` On some browsers/platforms, 'badge'-style sidebar elements were
26+
27+
:git_tag:`0.7.12` -- 2018-10-02
28+
-------------------------------
29+
30+
- On some browsers/platforms, 'badge'-style sidebar elements were
2331
displaying dotted underlines. This was unintentional and explicit styling has
2432
been added to remove them. Credit to Steven Loria.
25-
- :support:`- backported` Reorganize the :doc:`customization page
33+
- Reorganize the :doc:`customization page
2634
</customization>` to break up the now rather long list of "variables and
2735
feature toggles" into additional sections; includes alphabetizing those
2836
lists, to make it a bit easier to find docs for a specific setting.
29-
- :feature:`132 backported` (partially via :issue:`143`) Add a generic donation
37+
- :feature:`132` (partially via :issue:`143`) Add a generic donation
3038
badge/url option (visually powered by https://shields.io/) as well as a
3139
service-specific donation option for `OpenCollective
3240
<https://opencollective.com>`_.
@@ -44,7 +52,7 @@ Changelog
4452
See the changelog entry for ``#132``, which re-introduces a more generic
4553
donation sidebar framework.
4654

47-
- :feature:`142 backported` Add a ``tidelift_url`` option, which when set
55+
- :feature:`142` Add a ``tidelift_url`` option, which when set
4856
(default is ``None``/unset) adds a small text snippet to the
4957
``donate.html`` sidebar component, linking to the given URL string. Thanks
5058
to Steven Loria for the patch.
@@ -53,7 +61,10 @@ Changelog
5361
primarily impact systems lacking the first two fonts (``Consolas`` and
5462
``Menlo``) such as Linux desktops. Thanks to Ilya Trukhanov for catch &
5563
patch.
56-
- :release:`0.7.11 <2018-06-18>`
64+
65+
:git_tag:`0.7.11` -- 2018-06-18
66+
-------------------------------
67+
5768
- :bug:`73` Clean up some problematic font issues:
5869

5970
- Remove the outright broken Goudy Old Style, plus other mostly Adobe-only
@@ -85,17 +96,20 @@ Changelog
8596
As seen in the note above, you can **always** override the new defaults to
8697
go back to the old behavior, using your config file.
8798

88-
- :feature:`18 backported` (via :issue:`101`) Add optional *next* and
99+
- :feature:`18` (via :issue:`101`) Add optional *next* and
89100
*previous* links at the top and bottom of page content. Use theme option
90101
``show_relbars`` to enable these. Credit: William Minchin.
91-
- :support:`- backported` Miscellaneous project maintenance updates such as
102+
- Miscellaneous project maintenance updates such as
92103
adding to Travis CI and enforcing the use of ``flake8``.
93-
- :feature:`110 backported` Add ``badge_branch`` option allowing
104+
- :feature:`110` Add ``badge_branch`` option allowing
94105
configurability of which specific Git branch the Travis, Codecov, etc buttons
95106
default to. Credit: ``@TitanSnow``.
96-
- :support:`111 backported` Add setuptools-level entrypoint for improved theme
107+
- :feature:`111` Add setuptools-level entrypoint for improved theme
97108
distribution compatibility. Thanks to Aaron Carlisle for the patch.
98-
- :release:`0.7.10 <2017-02-28>`
109+
110+
:git_tag:`0.7.10` -- 2017-02-28
111+
-------------------------------
112+
99113
- :bug:`32` Update styling of various block-level elements such as admonitions
100114
(``.. note::``, ``.. warning::``, etc) and code blocks (``.. code::``) so
101115
they are no longer 'dedented' outside the main column of text they're
@@ -109,7 +123,10 @@ Changelog
109123
namely that parameter lists become squashed together if one is running on
110124
Sphinx 1.4.x. While that fix was merged in Sphinx itself, we felt it prudent
111125
to include it in our own stylesheet as well, for immediate relief.
112-
- :release:`0.7.9 <2016-07-25>`
126+
127+
:git_tag:`0.7.9` -- 2016-07-25
128+
------------------------------
129+
113130
- :feature:`6` (and :issue:`70`, both via :issue:`84`) Make all remaining
114131
hardcoded style colors configurable, plus related cleanup (such as improving
115132
differentiation of some admonition blocks such as ``warn`` and ``note``,
@@ -119,10 +136,13 @@ Changelog
119136
``sidebar_collapse`` config option. Credit: Eric Holscher.
120137
- :feature:`80` Add support for ``<link rel="canonical">`` (i.e. canonical
121138
URLs). Thanks to Ben Gamari for the patch.
122-
- :support:`7` Generate real documentation site, both because the README is
139+
- :feature:`7` Generate real documentation site, both because the README is
123140
just too big now, and so we can `eat our own dog food
124141
<https://en.wikipedia.org/wiki/Eating_your_own_dog_food>`_.
125-
- :release:`0.7.8 <2016-05-05>`
142+
143+
:git_tag:`0.7.8` -- 2016-05-05
144+
------------------------------
145+
126146
- #51 (via #67): Hide Github button if ``github_user`` and ``github_repo``
127147
aren't set. This is necessary since ``github_button`` defaults to True.
128148
Thanks to Sam Whited for the report & Dmitry Shachnev for the patch.
@@ -148,7 +168,10 @@ Changelog
148168
- #77: Fix image link styling to remove a bottom border which appears in some
149169
situations. Thanks to Eric Holscher for the patch & ``@barbara-sfx`` for the
150170
report.
151-
- :release:`0.7.7 <2015-12-21>`
171+
172+
:git_tag:`0.7.7` -- 2015-12-21
173+
------------------------------
174+
152175
- Add some ``margin-bottom`` to ``table.field-list p`` so field lists (e.g.
153176
Python function parameter lists in docstrings) written as multiple
154177
paragraphs, look like actual paragraphs instead of all globbing together.
@@ -161,7 +184,10 @@ Changelog
161184
- Fix a handful of mismatched/unclosed HTML tags in the templates. Thanks to
162185
Marvin Pinto for catch & patch.
163186
- Add `Codecov <https://codecov.io>`_ badge support to sidebar.
164-
- :release:`0.7.6 <2015-06-22>`
187+
188+
:git_tag:`0.7.6` -- 2015-06-22
189+
------------------------------
190+
165191
- Update how ``setup.py`` handles the ``README.rst`` file - load it explicitly
166192
as UTF-8 so the changelog containing non-ASCII characters doesn't generate
167193
``UnicodeDecodeError`` in terminal environments whose default encoding is not
@@ -172,7 +198,10 @@ Changelog
172198
- Expose page & sidebar widths as theme options ``page_width`` and
173199
``sidebar_width``. Their defaults are the same as the previously static
174200
values.
175-
- :release:`0.7.5 <2015-06-15>`
201+
202+
:git_tag:`0.7.5` -- 2015-06-15
203+
------------------------------
204+
176205
- Honor Sphinx's core ``html_show_copyright`` option when rendering page
177206
footer. Thanks to Marcin Wojdyr for the report.
178207
- Pre-history versions of Alabaster attempted to remove the "related"
@@ -195,18 +224,30 @@ Changelog
195224
``@nikolas`` for the patch.
196225
- Remove an orphaned ``</li>`` from the footer 'show source' section. Credit to
197226
Marcin Wojdyr.
198-
- :release:`0.7.4 <2015-05-03>`
227+
228+
:git_tag:`0.7.4` -- 2015-05-03
229+
------------------------------
230+
199231
- Add ``code_highlight`` option (which includes general fixes to styling of
200232
code blocks containing highlighted lines). Thanks to Steven Loria.
201-
- :release:`0.7.3 <2015-03-20>`
233+
234+
:git_tag:`0.7.3` -- 2015-03-20
235+
------------------------------
236+
202237
- Hide ``shadow`` related styles on bibliography elements, in addition to the
203238
earlier change re: ``border``. Thanks again to Philippe Dessus.
204-
- :release:`0.7.2 <2015-03-10>`
239+
240+
:git_tag:`0.7.2` -- 2015-03-10
241+
------------------------------
242+
205243
- Updated CSS stylesheets to apply monospace styling to both ``tt`` and
206244
``code`` elements, instead of just to ``tt``. This addresses a change in HTML
207245
generation in Sphinx 1.3 while retaining support for Sphinx 1.2. Thanks to
208246
Eric Holscher for the heads up.
209-
- :release:`0.7.1 <2015-02-27>`
247+
248+
:git_tag:`0.7.1` -- 2015-02-27
249+
------------------------------
250+
210251
- Finally add a changelog. To the README, for now, because a full doc site
211252
isn't worthwhile just yet.
212253
- Allow configuring a custom Github banner image (instead of simply toggling a
@@ -227,35 +268,68 @@ Changelog
227268
element. Credit: Steven Loria.
228269
- Add styling to disable default cell borders on ``.. bibliography::``
229270
directives' output. Thanks to Philippe Dessus for the report.
230-
- :release:`0.6.2 <2014-11-25>`
271+
272+
:git_tag:`0.6.2` -- 2014-11-25
273+
------------------------------
274+
231275
- Make ``.. warn::`` blocks have a pink background (instead of having no
232276
background, which was apparently an oversight of the themes Alabaster is
233277
based on) and also make that color configurable.
234-
- :release:`0.6.1 <2014-09-04>`
278+
279+
:git_tag:`0.6.1` -- 2014-09-04
280+
------------------------------
281+
235282
- Update Gittip support to acknowledge the service's rename to Gratipay.
236-
- :release:`0.6.0 <2014-04-17>`
283+
284+
:git_tag:`0.6.0` -- 2014-04-17
285+
------------------------------
286+
237287
- Allow hiding the 'powered by' section of the footer.
238288
- Fix outdated name in ``setup.py`` URL field.
239-
- :release:`0.5.1 <2014-04-15>`
289+
290+
:git_tag:`0.5.1` -- 2014-04-15
291+
------------------------------
292+
240293
- Fix a bug in the new Travis support, re: its default value.
241-
- :release:`0.5.0 <2014-04-09>`
294+
295+
:git_tag:`0.5.0` -- 2014-04-09
296+
------------------------------
297+
242298
- Add support for sidebar Travis status buttons.
243-
- :release:`0.4.1 <2014-04-06>`
299+
300+
:git_tag:`0.4.1` -- 2014-04-06
301+
------------------------------
302+
244303
- Fix an inaccuracy in the description of ``logo_text_align``.
245304
- Update logo & text styling to be more sensible.
246-
- :release:`0.4.0 <2014-04-06>`
305+
306+
:git_tag:`0.4.0` -- 2014-04-06
307+
------------------------------
308+
247309
- Add an option to allow un-hiding one's toctree.
248-
- :release:`0.3.1 <2014-03-13>`
310+
311+
:git_tag:`0.3.1` -- 2014-03-13
312+
------------------------------
313+
249314
- Improved Python 3 compatibility.
250315
- Update styling of changelog pages generated by `bitprophet/releases
251316
<https://github.com/bitprophet/releases>`_.
252-
- :release:`0.3.0 <2014-02-03>`
317+
318+
:git_tag:`0.3.0` -- 2014-02-03
319+
------------------------------
320+
253321
- Display Alabaster version in footers alongside Sphinx version (necessitating
254322
use of a mini Sphinx extension) plus other footer tweaks.
255-
- :release:`0.2.0 <2014-01-28>`
323+
324+
:git_tag:`0.2.0` -- 2014-01-28
325+
------------------------------
326+
256327
- Allow control of logo replacement text's alignment.
257328
- Add customized navigation sidebar element.
258329
- Tweak page margins a bit.
259330
- Add a 3rd level of medium-gray to the stylesheet & apply in a few places.
260-
- :release:`0.1.0 <2013-12-31>`
331+
332+
:git_tag:`0.1.0` -- 2013-12-31
333+
------------------------------
334+
261335
- First tagged/PyPI'd version.

docs/conf.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from datetime import datetime
22

3-
extensions = []
3+
extensions = [
4+
"sphinx.ext.extlinks"
5+
]
46
templates_path = ["_templates"]
57
source_suffix = ".rst"
68
master_doc = "index"
@@ -10,6 +12,13 @@
1012

1113
exclude_patterns = ["_build"]
1214

15+
extlinks = {
16+
'git_tag': ('https://github.com/sphinx-doc/alabaster/tree/%s', '%s'),
17+
'bug': ('https://github.com/sphinx-doc/alabaster/issues/%s', '#%s'),
18+
'feature': ('https://github.com/sphinx-doc/alabaster/issues/%s', '#%s'),
19+
'issue': ('https://github.com/sphinx-doc/alabaster/issues/%s', '#%s'),
20+
}
21+
1322
html_theme = "alabaster"
1423
html_sidebars = {
1524
"**": [
@@ -27,8 +36,3 @@
2736
"fixed_sidebar": True,
2837
"tidelift_url": "https://tidelift.com/subscription/pkg/pypi-alabaster?utm_source=pypi-alabaster&utm_medium=referral&utm_campaign=docs", # noqa
2938
}
30-
31-
extensions.append("releases")
32-
releases_github_path = "sphinx-doc/alabaster"
33-
# Our pre-0.x releases are unstable / mix bugs+features
34-
releases_unstable_prehistory = True

docs/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
Sphinx>=3.4
2-
releases>=2

0 commit comments

Comments
 (0)