mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2026-10-16 19:32:01 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
72691f5025 | ||
|
|
d836ff798c | ||
|
|
4d6de11137 | ||
|
|
03a86b803c | ||
|
|
ee64d37ac9 | ||
|
|
9d88b9e4e1 |
No files matched your search
+17
-5
@@ -4,10 +4,23 @@ Changelog
|
||||
|
||||
.. seealso:: :ref:`howto_upgrade`
|
||||
|
||||
Development version (|development_version|)
|
||||
===========================================
|
||||
.. _release-1.2.1:
|
||||
|
||||
.. |development_version| replace:: 1.2.0rc4
|
||||
|theme_version|
|
||||
===============
|
||||
|
||||
.. |theme_version| replace:: 1.2.1
|
||||
|
||||
Fixes
|
||||
-----
|
||||
|
||||
* Load jQuery correctly when using latest sphinxcontrib-jquery release (#1448)
|
||||
|
||||
|
||||
.. _release-1.2.0:
|
||||
|
||||
1.2.0
|
||||
=====
|
||||
|
||||
Dependency changes
|
||||
------------------
|
||||
@@ -43,10 +56,9 @@ See `readthedocs.org issue #9654`_ for updates.
|
||||
|
||||
.. _readthedocs.org issue #9654: https://github.com/readthedocs/readthedocs.org/pull/9654
|
||||
|
||||
|
||||
.. _release-1.1.1:
|
||||
|
||||
|
||||
|
||||
1.1.1
|
||||
=====
|
||||
|
||||
|
||||
+1
-1
@@ -107,7 +107,7 @@ JavaScript API
|
||||
Generated Index
|
||||
===============
|
||||
|
||||
Part of the sphinx build process in generate and index file: :ref:`genindex`.
|
||||
Part of the sphinx build process is to generate an index file: :ref:`genindex`.
|
||||
|
||||
|
||||
Optional parameter args
|
||||
|
||||
@@ -90,7 +90,7 @@ version:
|
||||
|
||||
.. code:: console
|
||||
|
||||
$ pip install "sphinx_rtd_theme<=2.0.0"
|
||||
$ pip install "sphinx_rtd_theme<2.0.0"
|
||||
|
||||
.. _semantic versioning: http://semver.org/
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sphinx_rtd_theme",
|
||||
"version": "1.2.0rc3",
|
||||
"version": "1.2.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "sphinx_rtd_theme",
|
||||
"main": "js/theme.js",
|
||||
"version": "1.2.0rc4",
|
||||
"version": "1.2.1",
|
||||
"scripts": {
|
||||
"dev": "webpack-dev-server --open --config webpack.dev.js",
|
||||
"build": "webpack --config webpack.prod.js",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[bumpversion]
|
||||
current_version = 1.2.0rc4
|
||||
current_version = 1.2.1
|
||||
commit = false
|
||||
tag = false
|
||||
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>[a-z]+)(?P<dev>\d+))?
|
||||
@@ -113,5 +113,5 @@ search = "version": "{current_version}",
|
||||
replace = "version": "{new_version}",
|
||||
|
||||
[bumpversion:file:docs/changelog.rst]
|
||||
search = .. |development_version| replace:: {current_version}
|
||||
replace = .. |development_version| replace:: {new_version}
|
||||
search = .. |theme_version| replace:: {current_version}
|
||||
replace = .. |theme_version| replace:: {new_version}
|
||||
@@ -86,7 +86,7 @@ class TransifexCommand(distutils.cmd.Command):
|
||||
|
||||
|
||||
setup(
|
||||
version='1.2.0rc4',
|
||||
version='1.2.1',
|
||||
cmdclass={
|
||||
'update_translations': UpdateTranslationsCommand,
|
||||
'transifex': TransifexCommand,
|
||||
|
||||
@@ -12,7 +12,7 @@ from sphinx.locale import _
|
||||
from sphinx.util.logging import getLogger
|
||||
|
||||
|
||||
__version__ = '1.2.0rc4'
|
||||
__version__ = '1.2.1'
|
||||
__version_full__ = __version__
|
||||
|
||||
logger = getLogger(__name__)
|
||||
@@ -58,6 +58,10 @@ def setup(app):
|
||||
# enabled at most once.
|
||||
# See: https://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.setup_extension
|
||||
app.setup_extension("sphinxcontrib.jquery")
|
||||
# However, we need to call the extension's callback since setup_extension doesn't do it
|
||||
# See: https://github.com/sphinx-contrib/jquery/issues/23
|
||||
from sphinxcontrib.jquery import add_js_files as jquery_add_js_files
|
||||
jquery_add_js_files(app, app.config)
|
||||
|
||||
# Register the theme that can be referenced without adding a theme path
|
||||
app.add_html_theme('sphinx_rtd_theme', path.abspath(path.dirname(__file__)))
|
||||
|
||||
Reference in new issue
Block a user