Skip to content

Commit ce74456

Browse files
committed
Merge branch 'master' into docutils0.17.1
2 parents 24e0374 + 7500f33 commit ce74456

File tree

10 files changed

+29
-18
lines changed

10 files changed

+29
-18
lines changed

docs/changelog.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
Changelog
33
*********
44

5-
master
6-
======
5+
Development version (|development_version|)
6+
===========================================
77

8-
v1.0.0
9-
======
8+
.. |development_version| replace:: 1.0.0alpha1
109

1110
Incompatible Changes
1211
--------------------

docs/contributing.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,8 @@ To release a new version of the theme, core team will take the following steps:
197197
$ python setup.py sdist bdist_wheel
198198
$ twine upload --sign --identity [email protected] dist/*
199199
200+
#. Finally, open a new pull request updating the development release version to
201+
the next patch by running ``bump2version patch``. Open a pull request with
202+
this change.
203+
200204
.. _PEP440: https://www.python.org/dev/peps/pep-0440/

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sphinx_rtd_theme",
33
"main": "js/theme.js",
4-
"version": "0.5.2",
4+
"version": "1.0.0alpha1",
55
"scripts": {
66
"dev": "webpack-dev-server --open --config webpack.dev.js",
77
"build": "webpack --config webpack.prod.js",

setup.cfg

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.5.2
2+
current_version = 1.0.0alpha1
33
commit = false
44
tag = false
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>[a-z]+)(?P<dev>\d+))?
@@ -53,4 +53,6 @@ replace = "version": "{new_version}",
5353
search = "version": "{current_version}",
5454
replace = "version": "{new_version}",
5555

56-
[bumpversion:file:docs/conf.py]
56+
[bumpversion:file:docs/changelog.rst]
57+
search = .. |development_version| replace:: {current_version}
58+
replace = .. |development_version| replace:: {new_version}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def run(self):
8787

8888
setup(
8989
name='sphinx_rtd_theme',
90-
version='0.5.2',
90+
version='1.0.0alpha1',
9191
url='https://github.com/readthedocs/sphinx_rtd_theme',
9292
license='MIT',
9393
author='Dave Snider, Read the Docs, Inc. & contributors',

sphinx_rtd_theme/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from sphinx.util.logging import getLogger
1313

1414

15-
__version__ = '0.5.2'
15+
__version__ = '1.0.0alpha1'
1616
__version_full__ = __version__
1717

1818
logger = getLogger(__name__)

sphinx_rtd_theme/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
{#- Translators: "theme" refers to a theme for Sphinx, which alters the appearance of the generated documenation #}
5454
<a href="https://github.com/readthedocs/sphinx_rtd_theme">{% trans %}theme{% endtrans %}</a>
5555
{#- Translators: this is always used as "provided by Read the Docs", and should not imply Read the Docs is an author of the generated documentation. #}
56-
{%- trans %}provided by {{ readthedocs_web }}{% endtrans %}.
56+
{% trans %}provided by {{ readthedocs_web }}{% endtrans %}.
5757
{% endif %}
5858

5959
{%- block extrafooter %} {% endblock %}

sphinx_rtd_theme/static/css/theme.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/sass/_theme_rst.sass

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
@extend h2
214214

215215
// This is the #href that shows up on hover. Sphinx's is terrible so I hack it away.
216-
h1, h2, h3, h4, h5, h6, dl dt, p, p.caption, table > caption, .code-block-caption
216+
h1, h2, h3, h4, h5, h6, dl dt, p, p.caption, table > caption, .code-block-caption, .eqno
217217
.headerlink
218218
opacity: 0
219219
font-size: 14px
@@ -277,6 +277,15 @@
277277
.hlist
278278
width: 100%
279279

280+
// Definition lists term/classifier separator
281+
// Adds a separator for Sphinx > 1.x as a pseudo-element
282+
// and hides the hardcoded separator from Sphinx 1.x
283+
dl dt span.classifier
284+
&:before
285+
content: " : "
286+
dl dt span.classifier-delimiter
287+
display: none !important
288+
280289
// The html4 writer outputs the citation and footnotes as a table, and the
281290
// html5 writer outputs these as a definition list. We will use the fairly
282291
// well supported css `grid` attribute to make these back into a table
@@ -295,9 +304,6 @@
295304
vertical-align: top
296305
// HTML5 writer
297306
html.writer-html5 &
298-
dl dt span.classifier
299-
&:before
300-
content: " : "
301307
dl.footnote,
302308
dl.field-list
303309
display: grid

0 commit comments

Comments
 (0)