Skip to content

Commit

Permalink
Bump to 1.1.0b2, rebuild assets
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaoming committed Oct 12, 2022
1 parent d01f614 commit 615eb52
Show file tree
Hide file tree
Showing 40 changed files with 229 additions and 270 deletions.
6 changes: 3 additions & 3 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Changelog
Development version (|development_version|)
===========================================

.. |development_version| replace:: 1.1.0b1
.. |development_version| replace:: 1.1.0b2

.. _release-1.1.0b1:
.. _release-1.1.0b2:

1.1.0b1
1.1.0b2
=======

Dependency Changes
Expand Down
64 changes: 32 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sphinx_rtd_theme",
"main": "js/theme.js",
"version": "1.1.0b1",
"version": "1.1.0b2",
"scripts": {
"dev": "webpack-dev-server --open --config webpack.dev.js",
"build": "webpack --config webpack.prod.js",
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.1.0b1
current_version = 1.1.0b2
commit = false
tag = false
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>[a-z]+)(?P<dev>\d+))?
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def run(self):


setup(
version='1.1.0b1',
version='1.1.0b2',
cmdclass={
'update_translations': UpdateTranslationsCommand,
'transifex': TransifexCommand,
Expand Down
11 changes: 10 additions & 1 deletion sphinx_rtd_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from sphinx.util.logging import getLogger


__version__ = '1.1.0b1'
__version__ = '1.0.1alpha1'
__version_full__ = __version__

logger = getLogger(__name__)
Expand All @@ -31,6 +31,12 @@ def config_initiated(app, config):
_('The canonical_url option is deprecated, use the html_baseurl option from Sphinx instead.')
)


def extend_html_context(app, pagename, templatename, context, doctree):
# Add ``sphinx_version_info`` tuple for use in Jinja templates
context['sphinx_version_info'] = sphinx_version


# See http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package
def setup(app):
if python_version[0] < 3:
Expand Down Expand Up @@ -60,4 +66,7 @@ def setup(app):
else:
app.config.html_add_permalinks = "\uf0c1"

# Extend the default context when rendering the templates.
app.connect("html-page-context", extend_html_context)

return {'parallel_read_safe': True, 'parallel_write_safe': True}
4 changes: 0 additions & 4 deletions sphinx_rtd_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
{%- set lang_attr = 'en' if language == None else (language | replace('_', '-')) %}
{%- set sphinx_writer = 'writer-html5' if html5_doctype else 'writer-html4' -%}

{# Build sphinx_version_info tuple from sphinx_version string in pure Jinja #}
{%- set (_ver_major, _ver_minor) = (sphinx_version.split('.') | list)[:2] | map('int') -%}
{%- set sphinx_version_info = (_ver_major, _ver_minor, -1) -%}

<!DOCTYPE html>
<html class="{{ sphinx_writer }}" lang="{{ lang_attr }}" >
<head>
Expand Down
Binary file modified sphinx_rtd_theme/locale/de/LC_MESSAGES/sphinx.mo
Binary file not shown.
16 changes: 8 additions & 8 deletions sphinx_rtd_theme/locale/de/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ msgid ""
msgstr ""
"Project-Id-Version: sphinx_rtd_theme 0.4.3.dev0\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2022-10-06 17:05+0200\n"
"POT-Creation-Date: 2021-09-13 13:35-0600\n"
"PO-Revision-Date: 2019-07-16 21:44+0000\n"
"Last-Translator: Tom Kunze <transifex.com@tomabrafix.de>, 2019\n"
"Language-Team: German (https://www.transifex.com/readthedocs/teams/101354/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"Generated-By: Babel 2.8.0\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

Expand Down Expand Up @@ -71,28 +71,28 @@ msgstr "Erstellt mit %(sphinx_web)s mit einem"
msgid "provided by %(readthedocs_web)s"
msgstr "bereitgestellt von %(readthedocs_web)s"

#: sphinx_rtd_theme/layout.html:93
#: sphinx_rtd_theme/layout.html:97
#, python-format
msgid "Search within %(docstitle)s"
msgstr "%(docstitle)s durchsuchen"

#: sphinx_rtd_theme/layout.html:101
#: sphinx_rtd_theme/layout.html:105
msgid "About these documents"
msgstr "Über diese Dokumentation"

#: sphinx_rtd_theme/layout.html:104
#: sphinx_rtd_theme/layout.html:108
msgid "Index"
msgstr "Index"

#: sphinx_rtd_theme/layout.html:107 sphinx_rtd_theme/search.html:11
#: sphinx_rtd_theme/layout.html:111 sphinx_rtd_theme/search.html:11
msgid "Search"
msgstr "Suche"

#: sphinx_rtd_theme/layout.html:110
#: sphinx_rtd_theme/layout.html:114
msgid "Copyright"
msgstr "Copyright"

#: sphinx_rtd_theme/layout.html:143 sphinx_rtd_theme/layout.html:145
#: sphinx_rtd_theme/layout.html:147 sphinx_rtd_theme/layout.html:149
msgid "Logo"
msgstr "Logo"

Expand Down
Binary file modified sphinx_rtd_theme/locale/en/LC_MESSAGES/sphinx.mo
Binary file not shown.
22 changes: 11 additions & 11 deletions sphinx_rtd_theme/locale/en/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ msgid ""
msgstr ""
"Project-Id-Version: sphinx_rtd_theme 0.4.3.dev0\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2022-10-06 17:05+0200\n"
"POT-Creation-Date: 2021-09-13 13:35-0600\n"
"PO-Revision-Date: 2019-07-16 15:43-0600\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
"Language-Team: en <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"Generated-By: Babel 2.8.0\n"

#. This is an ARIA section label for page links, including previous/next page
#. link and links to GitHub/GitLab/etc.
Expand Down Expand Up @@ -105,39 +105,39 @@ msgstr ""
msgid "provided by %(readthedocs_web)s"
msgstr ""

#: sphinx_rtd_theme/layout.html:93
#: sphinx_rtd_theme/layout.html:97
#, python-format
msgid "Search within %(docstitle)s"
msgstr ""

#: sphinx_rtd_theme/layout.html:101
#: sphinx_rtd_theme/layout.html:105
msgid "About these documents"
msgstr ""

#: sphinx_rtd_theme/layout.html:104
#: sphinx_rtd_theme/layout.html:108
msgid "Index"
msgstr ""

#: sphinx_rtd_theme/layout.html:107 sphinx_rtd_theme/search.html:11
#: sphinx_rtd_theme/layout.html:111 sphinx_rtd_theme/search.html:11
msgid "Search"
msgstr ""

#: sphinx_rtd_theme/layout.html:110
#: sphinx_rtd_theme/layout.html:114
msgid "Copyright"
msgstr ""

#: sphinx_rtd_theme/layout.html:143 sphinx_rtd_theme/layout.html:145
#: sphinx_rtd_theme/layout.html:147 sphinx_rtd_theme/layout.html:149
msgid "Logo"
msgstr ""

#. This is an ARIA section label for the main navigation menu
#: sphinx_rtd_theme/layout.html:169
#: sphinx_rtd_theme/layout.html:173
msgid "Navigation menu"
msgstr ""

#. This is an ARIA section label for the navigation menu that is visible when
#. viewing the page on mobile devices
#: sphinx_rtd_theme/layout.html:191
#: sphinx_rtd_theme/layout.html:195
msgid "Mobile navigation menu"
msgstr ""

Expand Down
Binary file modified sphinx_rtd_theme/locale/es/LC_MESSAGES/sphinx.mo
Binary file not shown.
Loading

0 comments on commit 615eb52

Please sign in to comment.