Skip to content

Commit d94c562

Browse files
committed
Merge branch 'master' into 142-int
2 parents 759549d + 003565d commit d94c562

File tree

3 files changed

+93
-88
lines changed

3 files changed

+93
-88
lines changed

alabaster/theme.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ code_bg = #ecf0f3
116116
code_text = #222
117117
code_hover = #EEE
118118
code_font_size = 0.9em
119-
code_font_family = 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace
119+
code_font_family = 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace
120120
font_family = Georgia, serif
121121
head_font_family =
122122
caption_font_family = inherit

docs/changelog.rst

Lines changed: 91 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22
Changelog
33
=========
44

5-
* :release:`0.7.11 <2018-06-18>`
6-
* :bug:`73` Clean up some problematic font issues:
5+
- :bug:`141` Fix a typo in the code-block font family, which incorrectly
6+
specified ``Deja Vu Sans Mono`` instead of ``DejaVu Sans Mono``. This would
7+
primarily impact systems lacking the first two fonts (``Consolas`` and
8+
``Menlo``) such as Linux desktops. Thanks to Ilya Trukhanov for catch &
9+
patch.
10+
- :release:`0.7.11 <2018-06-18>`
11+
- :bug:`73` Clean up some problematic font issues:
712

813
- Remove the outright broken Goudy Old Style, plus other mostly Adobe-only
914
fonts, from the ``font_family`` config setting; it is now simply ``Georgia,
@@ -32,97 +37,97 @@ Changelog
3237
As seen in the note above, you can **always** override the new defaults to
3338
go back to the old behavior, using your config file.
3439

35-
* :feature:`18 backported` (via :issue:`101`) Add optional *next* and
40+
- :feature:`18 backported` (via :issue:`101`) Add optional *next* and
3641
*previous* links at the top and bottom of page content. Use theme option
3742
``show_relbars`` to enable these. Credit: William Minchin.
38-
* :support:`- backported` Miscellaneous project maintenance updates such as
43+
- :support:`- backported` Miscellaneous project maintenance updates such as
3944
adding to Travis CI and enforcing the use of ``flake8``.
40-
* :feature:`110 backported` Add ``badge_branch`` option allowing
45+
- :feature:`110 backported` Add ``badge_branch`` option allowing
4146
configurability of which specific Git branch the Travis, Codecov, etc buttons
4247
default to. Credit: ``@TitanSnow``.
43-
* :support:`111 backported` Add setuptools-level entrypoint for improved theme
48+
- :support:`111 backported` Add setuptools-level entrypoint for improved theme
4449
distribution compatibility. Thanks to Aaron Carlisle for the patch.
45-
* :release:`0.7.10 <2017-02-28>`
46-
* :bug:`32` Update styling of various block-level elements such as admonitions
50+
- :release:`0.7.10 <2017-02-28>`
51+
- :bug:`32` Update styling of various block-level elements such as admonitions
4752
(``.. note::``, ``.. warning::``, etc) and code blocks (``.. code::``) so
4853
they are no longer 'dedented' outside the main column of text they're
4954
embedded in. This is both a stylistic change and a bugfix, since e.g. nesting
5055
code blocks *within* note blocks looks actively broken. Thanks to Takayuki
5156
Shimizukawa for the report.
52-
* :bug:`96` ``admonition_xref`` had a template typo preventing it from
57+
- :bug:`96` ``admonition_xref`` had a template typo preventing it from
5358
receiving styling; this has been fixed. Credit: Kenzie Togami.
54-
* :bug:`95` Independently ran across
59+
- :bug:`95` Independently ran across
5560
`sphinx-doc/sphinx#3276 <https://github.com/sphinx-doc/sphinx/issues/3276>`_,
5661
namely that parameter lists become squashed together if one is running on
5762
Sphinx 1.4.x. While that fix was merged in Sphinx itself, we felt it prudent
5863
to include it in our own stylesheet as well, for immediate relief.
59-
* :release:`0.7.9 <2016-07-25>`
60-
* :feature:`6` (and :issue:`70`, both via :issue:`84`) Make all remaining
64+
- :release:`0.7.9 <2016-07-25>`
65+
- :feature:`6` (and :issue:`70`, both via :issue:`84`) Make all remaining
6166
hardcoded style colors configurable, plus related cleanup (such as improving
6267
differentiation of some admonition blocks such as ``warn`` and ``note``,
6368
ensuring generic admonitions are left untouched, etc). Credit:
6469
``@ShadowKyogre``.
65-
* :feature:`83` Expose Sphinx's toctree ``collapse`` option as the new
70+
- :feature:`83` Expose Sphinx's toctree ``collapse`` option as the new
6671
``sidebar_collapse`` config option. Credit: Eric Holscher.
67-
* :feature:`80` Add support for ``<link rel="canonical">`` (i.e. canonical
72+
- :feature:`80` Add support for ``<link rel="canonical">`` (i.e. canonical
6873
URLs). Thanks to Ben Gamari for the patch.
69-
* :support:`7` Generate real documentation site, both because the README is
74+
- :support:`7` Generate real documentation site, both because the README is
7075
just too big now, and so we can `eat our own dog food
7176
<https://en.wikipedia.org/wiki/Eating_your_own_dog_food>`_.
72-
* :release:`0.7.8 <2016-05-05>`
73-
* #51 (via #67): Hide Github button if ``github_user`` and ``github_repo``
77+
- :release:`0.7.8 <2016-05-05>`
78+
- #51 (via #67): Hide Github button if ``github_user`` and ``github_repo``
7479
aren't set. This is necessary since ``github_button`` defaults to True.
7580
Thanks to Sam Whited for the report & Dmitry Shachnev for the patch.
76-
* #75: Use SVG version of the Travis-CI button. Thanks to Sebastian Wiesner for
81+
- #75: Use SVG version of the Travis-CI button. Thanks to Sebastian Wiesner for
7782
the patch.
78-
* #41: Update the Github buttons to use a newer linked image & change the link
83+
- #41: Update the Github buttons to use a newer linked image & change the link
7984
to their docs. Thanks to Tomi Hukkalainen.
80-
* #45 (via #46) Tweak styling of nested bullet lists to prevent an issue where
85+
- #45 (via #46) Tweak styling of nested bullet lists to prevent an issue where
8186
they all collapse to the same indent level when viewed on smaller display
8287
sizes. Thanks to Bram Geron for catch & patch, and to Jochen Kupperschmidt
8388
for review/discussion.
84-
* #44 (partial; via #57) Add an opt-in fixed sidebar behavior for users who
89+
- #44 (partial; via #57) Add an opt-in fixed sidebar behavior for users who
8590
prefer a sidebar that never scrolls out of view. Credit: Joe Cross.
86-
* #61: Set a small-but-nonzero footnote width to work around a common browser
91+
- #61: Set a small-but-nonzero footnote width to work around a common browser
8792
display bug. Thanks to Konstantin Molchanov for catch & patch.
88-
* #64: Add config options for font size and caption font size/family. Credit:
93+
- #64: Add config options for font size and caption font size/family. Credit:
8994
Marçal Solà.
90-
* #78: Add custom stylesheet support. (This release will thus be the last to
95+
- #78: Add custom stylesheet support. (This release will thus be the last to
9196
merge simplistic style tweaks as feature toggles - only thorny CSS issues or
9297
actual template-related changes will be merged afterwards.)
93-
* #65: Wrap the sidebar's "Navigation" header in Sphinx's translation helper so
98+
- #65: Wrap the sidebar's "Navigation" header in Sphinx's translation helper so
9499
it gets translated if possible. Thanks to ``@uralbash``.
95-
* #77: Fix image link styling to remove a bottom border which appears in some
100+
- #77: Fix image link styling to remove a bottom border which appears in some
96101
situations. Thanks to Eric Holscher for the patch & ``@barbara-sfx`` for the
97102
report.
98-
* :release:`0.7.7 <2015-12-21>`
99-
* Add some ``margin-bottom`` to ``table.field-list p`` so field lists (e.g.
103+
- :release:`0.7.7 <2015-12-21>`
104+
- Add some ``margin-bottom`` to ``table.field-list p`` so field lists (e.g.
100105
Python function parameter lists in docstrings) written as multiple
101106
paragraphs, look like actual paragraphs instead of all globbing together.
102-
* Fix incorrect notes in README re: renamed ``github_button_*`` options - the
107+
- Fix incorrect notes in README re: renamed ``github_button_*`` options - the
103108
``button_`` was dropped but docs did not reflect this. Thanks to Nik Nyby.
104-
* Fix ``sidebar_hr`` setting - stylesheet wasn't correctly referencing the
109+
- Fix ``sidebar_hr`` setting - stylesheet wasn't correctly referencing the
105110
right variable name. Thanks to Jannis Leidel.
106-
* Allow configuring body text-align via ``body_text_align``. Credit to Marçal
111+
- Allow configuring body text-align via ``body_text_align``. Credit to Marçal
107112
Solà.
108-
* Fix a handful of mismatched/unclosed HTML tags in the templates. Thanks to
113+
- Fix a handful of mismatched/unclosed HTML tags in the templates. Thanks to
109114
Marvin Pinto for catch & patch.
110-
* Add `Codecov <https://codecov.io>`_ badge support to sidebar.
111-
* :release:`0.7.6 <2015-06-22>`
112-
* Update how ``setup.py`` handles the ``README.rst`` file - load it explicitly
115+
- Add `Codecov <https://codecov.io>`_ badge support to sidebar.
116+
- :release:`0.7.6 <2015-06-22>`
117+
- Update how ``setup.py`` handles the ``README.rst`` file - load it explicitly
113118
as UTF-8 so the changelog containing non-ASCII characters doesn't generate
114119
``UnicodeDecodeError`` in terminal environments whose default encoding is not
115120
UTF-8 or other Unicode-compatible encodings. Thanks to Arun Persaud for the
116121
report and Max Tepkeev for the suggested fix.
117-
* Fix left-margin & padding styling for code blocks within list-item elements,
122+
- Fix left-margin & padding styling for code blocks within list-item elements,
118123
making them consistent with earlier changes applied to top-level code blocks.
119-
* Expose page & sidebar widths as theme options ``page_width`` and
124+
- Expose page & sidebar widths as theme options ``page_width`` and
120125
``sidebar_width``. Their defaults are the same as the previously static
121126
values.
122-
* :release:`0.7.5 <2015-06-15>`
123-
* Honor Sphinx's core ``html_show_copyright`` option when rendering page
127+
- :release:`0.7.5 <2015-06-15>`
128+
- Honor Sphinx's core ``html_show_copyright`` option when rendering page
124129
footer. Thanks to Marcin Wojdyr for the report.
125-
* Pre-history versions of Alabaster attempted to remove the "related"
130+
- Pre-history versions of Alabaster attempted to remove the "related"
126131
sub-navigation (typically found as next/previous links in other themes) but
127132
this didn't work right for mobile-oriented styling.
128133

@@ -137,72 +142,72 @@ Changelog
137142
installs).
138143

139144
Thanks to Tomi Pieviläinen for the bug report.
140-
* Update the "Fork me on Github" banner image to use an ``https://`` URI so
145+
- Update the "Fork me on Github" banner image to use an ``https://`` URI so
141146
sites hosted over HTTPS don't encounter mixed-content errors. Thanks to
142147
``@nikolas`` for the patch.
143-
* Remove an orphaned ``</li>`` from the footer 'show source' section. Credit to
148+
- Remove an orphaned ``</li>`` from the footer 'show source' section. Credit to
144149
Marcin Wojdyr.
145-
* :release:`0.7.4 <2015-05-03>`
146-
* Add ``code_highlight`` option (which includes general fixes to styling of
150+
- :release:`0.7.4 <2015-05-03>`
151+
- Add ``code_highlight`` option (which includes general fixes to styling of
147152
code blocks containing highlighted lines). Thanks to Steven Loria.
148-
* :release:`0.7.3 <2015-03-20>`
149-
* Hide ``shadow`` related styles on bibliography elements, in addition to the
153+
- :release:`0.7.3 <2015-03-20>`
154+
- Hide ``shadow`` related styles on bibliography elements, in addition to the
150155
earlier change re: ``border``. Thanks again to Philippe Dessus.
151-
* :release:`0.7.2 <2015-03-10>`
152-
* Updated CSS stylesheets to apply monospace styling to both ``tt`` and
156+
- :release:`0.7.2 <2015-03-10>`
157+
- Updated CSS stylesheets to apply monospace styling to both ``tt`` and
153158
``code`` elements, instead of just to ``tt``. This addresses a change in HTML
154159
generation in Sphinx 1.3 while retaining support for Sphinx 1.2. Thanks to
155160
Eric Holscher for the heads up.
156-
* :release:`0.7.1 <2015-02-27>`
157-
* Finally add a changelog. To the README, for now, because a full doc site
161+
- :release:`0.7.1 <2015-02-27>`
162+
- Finally add a changelog. To the README, for now, because a full doc site
158163
isn't worthwhile just yet.
159-
* Allow configuring a custom Github banner image (instead of simply toggling a
164+
- Allow configuring a custom Github banner image (instead of simply toggling a
160165
default on or off). Thanks to Nicola Iarocci for the original patch.
161-
* Explicitly note Python version support in the README and ``setup.py``.
162-
* Update Github button image link to use the newly-available HTTPS version of
166+
- Explicitly note Python version support in the README and ``setup.py``.
167+
- Update Github button image link to use the newly-available HTTPS version of
163168
the URL; this helps prevent errors on doc pages served via HTTPS. Thanks to
164169
Gustavo Narea for the report.
165-
* Add control over the font size & family of code blocks. Credit to Steven
170+
- Add control over the font size & family of code blocks. Credit to Steven
166171
Loria.
167-
* Allow control over font family of body text and headings. Thanks to Georg
172+
- Allow control over font family of body text and headings. Thanks to Georg
168173
Brandl.
169-
* Stylize ``.. seealso::`` blocks same as ``.. note::`` blocks for
174+
- Stylize ``.. seealso::`` blocks same as ``.. note::`` blocks for
170175
consistency's sake (previously, ``.. seealso::`` used the Sphinx default
171176
styling, which clashed). We may update these again later but for now, this is
172177
an improvement! Thanks again to Steven Loria.
173-
* Allow control over CSS ``font-style`` for the site description/tagline
178+
- Allow control over CSS ``font-style`` for the site description/tagline
174179
element. Credit: Steven Loria.
175-
* Add styling to disable default cell borders on ``.. bibliography::``
180+
- Add styling to disable default cell borders on ``.. bibliography::``
176181
directives' output. Thanks to Philippe Dessus for the report.
177-
* :release:`0.6.2 <2014-11-25>`
178-
* Make ``.. warn::`` blocks have a pink background (instead of having no
182+
- :release:`0.6.2 <2014-11-25>`
183+
- Make ``.. warn::`` blocks have a pink background (instead of having no
179184
background, which was apparently an oversight of the themes Alabaster is
180185
based on) and also make that color configurable.
181-
* :release:`0.6.1 <2014-09-04>`
182-
* Update Gittip support to acknowledge the service's rename to Gratipay.
183-
* :release:`0.6.0 <2014-04-17>`
184-
* Allow hiding the 'powered by' section of the footer.
185-
* Fix outdated name in ``setup.py`` URL field.
186-
* :release:`0.5.1 <2014-04-15>`
187-
* Fix a bug in the new Travis support, re: its default value.
188-
* :release:`0.5.0 <2014-04-09>`
189-
* Add support for sidebar Travis status buttons.
190-
* :release:`0.4.1 <2014-04-06>`
191-
* Fix an inaccuracy in the description of ``logo_text_align``.
192-
* Update logo & text styling to be more sensible.
193-
* :release:`0.4.0 <2014-04-06>`
194-
* Add an option to allow un-hiding one's toctree.
195-
* :release:`0.3.1 <2014-03-13>`
196-
* Improved Python 3 compatibility.
197-
* Update styling of changelog pages generated by `bitprophet/releases
186+
- :release:`0.6.1 <2014-09-04>`
187+
- Update Gittip support to acknowledge the service's rename to Gratipay.
188+
- :release:`0.6.0 <2014-04-17>`
189+
- Allow hiding the 'powered by' section of the footer.
190+
- Fix outdated name in ``setup.py`` URL field.
191+
- :release:`0.5.1 <2014-04-15>`
192+
- Fix a bug in the new Travis support, re: its default value.
193+
- :release:`0.5.0 <2014-04-09>`
194+
- Add support for sidebar Travis status buttons.
195+
- :release:`0.4.1 <2014-04-06>`
196+
- Fix an inaccuracy in the description of ``logo_text_align``.
197+
- Update logo & text styling to be more sensible.
198+
- :release:`0.4.0 <2014-04-06>`
199+
- Add an option to allow un-hiding one's toctree.
200+
- :release:`0.3.1 <2014-03-13>`
201+
- Improved Python 3 compatibility.
202+
- Update styling of changelog pages generated by `bitprophet/releases
198203
<https://github.com/bitprophet/releases>`_.
199-
* :release:`0.3.0 <2014-02-03>`
200-
* Display Alabaster version in footers alongside Sphinx version (necessitating
204+
- :release:`0.3.0 <2014-02-03>`
205+
- Display Alabaster version in footers alongside Sphinx version (necessitating
201206
use of a mini Sphinx extension) plus other footer tweaks.
202-
* :release:`0.2.0 <2014-01-28>`
203-
* Allow control of logo replacement text's alignment.
204-
* Add customized navigation sidebar element.
205-
* Tweak page margins a bit.
206-
* Add a 3rd level of medium-gray to the stylesheet & apply in a few places.
207-
* :release:`0.1.0 <2013-12-31>`
208-
* First tagged/PyPI'd version.
207+
- :release:`0.2.0 <2014-01-28>`
208+
- Allow control of logo replacement text's alignment.
209+
- Add customized navigation sidebar element.
210+
- Tweak page margins a bit.
211+
- Add a 3rd level of medium-gray to the stylesheet & apply in a few places.
212+
- :release:`0.1.0 <2013-12-31>`
213+
- First tagged/PyPI'd version.

docs/customization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Fonts
220220
'Georgia', serif``.
221221
* ``code_font_size``: Font size of code block text.
222222
* ``code_font_family``: Font family of code block text. Defaults to
223-
``'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono',
223+
``'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
224224
monospace``.
225225
* ``caption_font_size``: Font size of caption block text.
226226
* ``caption_font_family``: Font family of caption block text.

0 commit comments

Comments
 (0)