[Python-modules-commits] [quark-sphinx-theme] 01/06: Import quark-sphinx-theme_0.5.0.orig.tar.bz2
Felix Krull
fkrull-guest at moszumanska.debian.org
Mon Jun 5 17:41:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
fkrull-guest pushed a commit to branch master
in repository quark-sphinx-theme.
commit 12073acf5e40bf6950b9c80a17866d6f06779630
Author: Felix Krull <f_krull at gmx.de>
Date: Mon Jun 5 16:45:24 2017 +0000
Import quark-sphinx-theme_0.5.0.orig.tar.bz2
---
LICENSE | 52 +-
MANIFEST.in | 14 +-
PKG-INFO | 244 +++---
README.rst | 205 ++---
setup.cfg | 22 +-
setup.py | 108 +--
src/quark_sphinx_theme.egg-info/PKG-INFO | 244 +++---
src/quark_sphinx_theme.egg-info/SOURCES.txt | 5 +
src/quark_sphinx_theme.egg-info/not-zip-safe | 2 +-
src/quark_sphinx_theme/__init__.py | 34 +-
src/quark_sphinx_theme/__version__.py | 14 +-
src/quark_sphinx_theme/_lovelace.py | 134 ++--
src/quark_sphinx_theme/_mixin.py | 130 +--
src/quark_sphinx_theme/_sphinxversion.py | 14 +
src/quark_sphinx_theme/ext/__init__.py | 8 +-
src/quark_sphinx_theme/ext/html_compat.py | 16 +-
.../ext/html_rewrite/__init__.py | 100 +--
.../ext/html_rewrite/_features.py | 27 +
.../ext/html_rewrite/_setup_pre16.py | 33 +
src/quark_sphinx_theme/ext/html_rewrite/boxes.py | 84 +-
src/quark_sphinx_theme/ext/html_rewrite/compat.py | 84 +-
.../ext/html_rewrite/literal_blocks.py | 60 +-
src/quark_sphinx_theme/quark/domainindex.html | 100 +--
src/quark_sphinx_theme/quark/genindex-single.html | 70 +-
src/quark_sphinx_theme/quark/genindex.html | 90 +--
src/quark_sphinx_theme/quark/layout.html | 146 ++--
src/quark_sphinx_theme/quark/static/quark.css_t | 870 ++++++++++-----------
src/quark_sphinx_theme/quark/theme.conf | 74 +-
test/test_core.py | 42 +-
test/test_html_rewrite.py | 302 ++++---
test/test_html_rewrite_features.py | 47 ++
test/test_import.py | 66 +-
test/test_mixin.py | 260 +++---
test/test_sdist.py | 325 ++++----
test/test_sphinxversion.py | 43 +
test/test_theme.py | 308 ++++----
test/testdoc-html_rewrite/conf.py | 12 +-
test/testdoc-html_rewrite/contents.rst | 22 +-
test/testdoc-html_rewrite/test_admonition.rst | 22 +-
test/testdoc-html_rewrite/test_citation.rst | 30 +-
test/testdoc-html_rewrite/test_footnote.rst | 30 +-
test/testdoc-html_rewrite/test_literal_block.rst | 30 +-
test/testdoc-html_rewrite/test_pre_block.rst | 44 +-
test/testdoc-html_rewrite/test_sidebar.rst | 24 +-
test/testdoc-html_rewrite/test_topic.rst | 22 +-
test/testdoc-html_rewrite/test_warning.rst | 22 +-
test/testdoc-theme/conf.py | 10 +-
test/testdoc-theme/contents.rst | 38 +-
test/util.py | 310 ++++----
tox.ini | 54 +-
50 files changed, 2605 insertions(+), 2442 deletions(-)
diff --git a/LICENSE b/LICENSE
index 4d6eb7f..3010d85 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,26 +1,26 @@
-License for quark-sphinx-theme
-==============================
-
-Unless otherwise noted:
-Copyright (c) 2016 Felix Krull <f_krull at gmx.de>
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
-INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
-OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
-IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
-OF SUCH DAMAGE.
+License for quark-sphinx-theme
+==============================
+
+Unless otherwise noted:
+Copyright (c) 2016 Felix Krull <f_krull at gmx.de>
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
+OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
+OF SUCH DAMAGE.
diff --git a/MANIFEST.in b/MANIFEST.in
index 203fdf4..239d684 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,7 +1,7 @@
-include LICENSE
-include tox.ini
-
-recursive-include src *.py
-recursive-include src/quark_sphinx_theme/quark *
-
-recursive-include test *.py *.rst
+include LICENSE
+include tox.ini
+
+recursive-include src *.py
+recursive-include src/quark_sphinx_theme/quark *
+
+recursive-include test *.py *.rst
diff --git a/PKG-INFO b/PKG-INFO
index 0618d7b..cc7895d 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,116 +1,128 @@
-Metadata-Version: 1.2
-Name: quark-sphinx-theme
-Version: 0.4.0
-Summary: A Sphinx theme designed for QTextBrowser
-Home-page: https://bitbucket.org/fk/quark-sphinx-theme
-Author: Felix Krull
-Author-email: f_krull at gmx.de
-License: BSD
-Description: ========================================
- Quark: a Sphinx theme for QTextBrowser
- ========================================
-
- About
- =====
-
- Quark is a Sphinx theme specifically designed to look and work well within the
- limitations of the Qt toolkit's ``QTextBrowser``.
-
- This theme was originally designed for the bundled manual of `SpeedCrunch`_.
-
- .. _SpeedCrunch: http://speedcrunch.org
-
-
- Installation
- ============
-
- * ``pip install quark-sphinx-theme``
- * In your ``conf.py``::
-
- import quark_sphinx_theme
- html_theme_path = [quark_sphinx_theme.get_path()]
- html_theme = 'quark'
- # To enable more QTextBrowser-compatible HTML generation:
- extensions = ['quark_sphinx_theme.ext.html_rewrite']
-
-
- Changelog
- =========
-
- * quark-sphinx-theme 0.4 *(2016-10-18)*
-
- - Add an explicit dependency on Sphinx.
- - Rename ``quark_html_rewrite_features`` to ``quark_html_features``.
- - Add ``quark_html_disabled_features`` to explicitly turn off certain rewrite
- features.
- - Style changes:
-
- - More visually appealing code blocks on full browsers.
- - Add styling for compact lists produced by ``::hlist`` directive.
- - Correctly set width for topic blocks.
- - Clean up definition list margins.
-
- * quark-sphinx-theme 0.3.2 "I'll get it right some day" *(2016-05-23)*
-
- - Include a copy of the lovelace style for compatibility with Pygments < 2.1.
-
- * quark-sphinx-theme 0.3.1 *(2016-05-23)*
-
- - Skip CSS syntax tests if tinycss isn't available.
- - Make sure to include theme itself.
- - Include test/util.py in source packages.
-
- * quark-sphinx-theme 0.3 *(2016-05-22)*
-
- - Remove ``hide_sidebar_in_index`` option.
- - Fix styling of index pages.
- - The ``quark_sphinx_theme.ext.html_compat`` extension has been renamed to
- ``quark_sphinx_theme.ext.html_rewrite``. The old name remains supported for
- backwards compatibility.
- - The ``html_rewrite`` extension now supports wrapping admonitions in tables,
- allowing for more styling options. The theme has been updated to take
- advantage of this. Admonitions, topics, and sidebars look very different and
- much better. If ``html_rewrite`` is not enabled, a fallback style will be
- used for these.
- - ``html_rewrite`` supports wrapping literal blocks in tables. If enabled,
- this provides better styling for Pygments styles with non-white backgrounds.
- - Smaller design changes:
-
- - Don't use background color on code elements in headings and normal links.
- - Display terms in definition lists in bold.
- - Remove left and top margins for definition list bodies.
- - Switch default code color scheme to 'lovelace'.
-
- * quark-sphinx-theme 0.2.1 *(2016-03-02)*
-
- - Change license to 2-clause BSD (in practice, it's the same thing).
-
- * quark-sphinx-theme 0.2.0 *(2016-02-28)*
-
- - Add ``quark_sphinx_theme.ext.html_compat`` extension.
- - Add styling for citations, footnotes, table captions, and ``rubric``
- directives.
-
- * quark-sphinx-theme 0.1.2 *(2016-02-27)*
-
- - Fix compatibility with Jinja2 2.3.
-
- * quark-sphinx-theme 0.1.1 *(2016-02-24)*
-
- - Fix spacing of navigation links.
-
- * quark-sphinx-theme 0.1.0 *(2016-02-24)*
-
- - Initial release.
-
-Platform: UNKNOWN
-Classifier: Development Status :: 3 - Alpha
-Classifier: Framework :: Sphinx :: Theme
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: BSD License
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 3
-Classifier: Topic :: Documentation :: Sphinx
-Classifier: Topic :: Software Development :: Documentation
-Requires-Python: ~=2.7, ~=3.3
+Metadata-Version: 1.1
+Name: quark-sphinx-theme
+Version: 0.5.0
+Summary: A Sphinx theme designed for QTextBrowser
+Home-page: https://bitbucket.org/fk/quark-sphinx-theme
+Author: Felix Krull
+Author-email: f_krull at gmx.de
+License: BSD
+Description: ========================================
+ Quark: a Sphinx theme for QTextBrowser
+ ========================================
+
+ About
+ =====
+
+ Quark is a Sphinx theme specifically designed to look and work well within the
+ limitations of the Qt toolkit's ``QTextBrowser``.
+
+ This theme was originally designed for the bundled manual of `SpeedCrunch`_.
+
+ .. _SpeedCrunch: http://speedcrunch.org
+
+
+ Installation
+ ============
+
+ * ``pip install quark-sphinx-theme``
+ * In your ``conf.py``::
+
+ import quark_sphinx_theme
+ html_theme_path = [quark_sphinx_theme.get_path()]
+ html_theme = 'quark'
+ # To enable more QTextBrowser-compatible HTML generation:
+ extensions = ['quark_sphinx_theme.ext.html_rewrite']
+
+
+ Changelog
+ =========
+
+ * quark-sphinx-theme 0.5.0 *(2017-06-05)*
+
+ - Sphinx 1.6 compatibility:
+
+ - A change in Sphinx's HTML code broke the HTML rewriting extensions (see
+ issue #1).
+ - A change in the ``css_files`` variable in the basic theme's template broke
+ the ``extra_css_files`` theme setting.
+
+ * quark-sphinx-theme 0.4.1 *(2016-11-22)*
+
+ - Fix ``python_requires`` in setup.py.
+
+ * quark-sphinx-theme 0.4 *(2016-10-18)*
+
+ - Add an explicit dependency on Sphinx.
+ - Rename ``quark_html_rewrite_features`` to ``quark_html_features``.
+ - Add ``quark_html_disabled_features`` to explicitly turn off certain rewrite
+ features.
+ - Style changes:
+
+ - More visually appealing code blocks on full browsers.
+ - Add styling for compact lists produced by ``::hlist`` directive.
+ - Correctly set width for topic blocks.
+ - Clean up definition list margins.
+
+ * quark-sphinx-theme 0.3.2 "I'll get it right some day" *(2016-05-23)*
+
+ - Include a copy of the lovelace style for compatibility with Pygments < 2.1.
+
+ * quark-sphinx-theme 0.3.1 *(2016-05-23)*
+
+ - Skip CSS syntax tests if tinycss isn't available.
+ - Make sure to include theme itself.
+ - Include test/util.py in source packages.
+
+ * quark-sphinx-theme 0.3 *(2016-05-22)*
+
+ - Remove ``hide_sidebar_in_index`` option.
+ - Fix styling of index pages.
+ - The ``quark_sphinx_theme.ext.html_compat`` extension has been renamed to
+ ``quark_sphinx_theme.ext.html_rewrite``. The old name remains supported for
+ backwards compatibility.
+ - The ``html_rewrite`` extension now supports wrapping admonitions in tables,
+ allowing for more styling options. The theme has been updated to take
+ advantage of this. Admonitions, topics, and sidebars look very different and
+ much better. If ``html_rewrite`` is not enabled, a fallback style will be
+ used for these.
+ - ``html_rewrite`` supports wrapping literal blocks in tables. If enabled,
+ this provides better styling for Pygments styles with non-white backgrounds.
+ - Smaller design changes:
+
+ - Don't use background color on code elements in headings and normal links.
+ - Display terms in definition lists in bold.
+ - Remove left and top margins for definition list bodies.
+ - Switch default code color scheme to 'lovelace'.
+
+ * quark-sphinx-theme 0.2.1 *(2016-03-02)*
+
+ - Change license to 2-clause BSD (in practice, it's the same thing).
+
+ * quark-sphinx-theme 0.2.0 *(2016-02-28)*
+
+ - Add ``quark_sphinx_theme.ext.html_compat`` extension.
+ - Add styling for citations, footnotes, table captions, and ``rubric``
+ directives.
+
+ * quark-sphinx-theme 0.1.2 *(2016-02-27)*
+
+ - Fix compatibility with Jinja2 2.3.
+
+ * quark-sphinx-theme 0.1.1 *(2016-02-24)*
+
+ - Fix spacing of navigation links.
+
+ * quark-sphinx-theme 0.1.0 *(2016-02-24)*
+
+ - Initial release.
+
+Platform: UNKNOWN
+Classifier: Development Status :: 4 - Beta
+Classifier: Framework :: Sphinx :: Theme
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: BSD License
+Classifier: Operating System :: OS Independent
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 3
+Classifier: Topic :: Documentation :: Sphinx
+Classifier: Topic :: Software Development :: Documentation
diff --git a/README.rst b/README.rst
index d895b90..c5269db 100644
--- a/README.rst
+++ b/README.rst
@@ -1,96 +1,109 @@
-========================================
-Quark: a Sphinx theme for QTextBrowser
-========================================
-
-About
-=====
-
-Quark is a Sphinx theme specifically designed to look and work well within the
-limitations of the Qt toolkit's ``QTextBrowser``.
-
-This theme was originally designed for the bundled manual of `SpeedCrunch`_.
-
-.. _SpeedCrunch: http://speedcrunch.org
-
-
-Installation
-============
-
-* ``pip install quark-sphinx-theme``
-* In your ``conf.py``::
-
- import quark_sphinx_theme
- html_theme_path = [quark_sphinx_theme.get_path()]
- html_theme = 'quark'
- # To enable more QTextBrowser-compatible HTML generation:
- extensions = ['quark_sphinx_theme.ext.html_rewrite']
-
-
-Changelog
-=========
-
-* quark-sphinx-theme 0.4 *(2016-10-18)*
-
- - Add an explicit dependency on Sphinx.
- - Rename ``quark_html_rewrite_features`` to ``quark_html_features``.
- - Add ``quark_html_disabled_features`` to explicitly turn off certain rewrite
- features.
- - Style changes:
-
- - More visually appealing code blocks on full browsers.
- - Add styling for compact lists produced by ``::hlist`` directive.
- - Correctly set width for topic blocks.
- - Clean up definition list margins.
-
-* quark-sphinx-theme 0.3.2 "I'll get it right some day" *(2016-05-23)*
-
- - Include a copy of the lovelace style for compatibility with Pygments < 2.1.
-
-* quark-sphinx-theme 0.3.1 *(2016-05-23)*
-
- - Skip CSS syntax tests if tinycss isn't available.
- - Make sure to include theme itself.
- - Include test/util.py in source packages.
-
-* quark-sphinx-theme 0.3 *(2016-05-22)*
-
- - Remove ``hide_sidebar_in_index`` option.
- - Fix styling of index pages.
- - The ``quark_sphinx_theme.ext.html_compat`` extension has been renamed to
- ``quark_sphinx_theme.ext.html_rewrite``. The old name remains supported for
- backwards compatibility.
- - The ``html_rewrite`` extension now supports wrapping admonitions in tables,
- allowing for more styling options. The theme has been updated to take
- advantage of this. Admonitions, topics, and sidebars look very different and
- much better. If ``html_rewrite`` is not enabled, a fallback style will be
- used for these.
- - ``html_rewrite`` supports wrapping literal blocks in tables. If enabled,
- this provides better styling for Pygments styles with non-white backgrounds.
- - Smaller design changes:
-
- - Don't use background color on code elements in headings and normal links.
- - Display terms in definition lists in bold.
- - Remove left and top margins for definition list bodies.
- - Switch default code color scheme to 'lovelace'.
-
-* quark-sphinx-theme 0.2.1 *(2016-03-02)*
-
- - Change license to 2-clause BSD (in practice, it's the same thing).
-
-* quark-sphinx-theme 0.2.0 *(2016-02-28)*
-
- - Add ``quark_sphinx_theme.ext.html_compat`` extension.
- - Add styling for citations, footnotes, table captions, and ``rubric``
- directives.
-
-* quark-sphinx-theme 0.1.2 *(2016-02-27)*
-
- - Fix compatibility with Jinja2 2.3.
-
-* quark-sphinx-theme 0.1.1 *(2016-02-24)*
-
- - Fix spacing of navigation links.
-
-* quark-sphinx-theme 0.1.0 *(2016-02-24)*
-
- - Initial release.
+========================================
+Quark: a Sphinx theme for QTextBrowser
+========================================
+
+About
+=====
+
+Quark is a Sphinx theme specifically designed to look and work well within the
+limitations of the Qt toolkit's ``QTextBrowser``.
+
+This theme was originally designed for the bundled manual of `SpeedCrunch`_.
+
+.. _SpeedCrunch: http://speedcrunch.org
+
+
+Installation
+============
+
+* ``pip install quark-sphinx-theme``
+* In your ``conf.py``::
+
+ import quark_sphinx_theme
+ html_theme_path = [quark_sphinx_theme.get_path()]
+ html_theme = 'quark'
+ # To enable more QTextBrowser-compatible HTML generation:
+ extensions = ['quark_sphinx_theme.ext.html_rewrite']
+
+
+Changelog
+=========
+
+* quark-sphinx-theme 0.5.0 *(2017-06-05)*
+
+ - Sphinx 1.6 compatibility:
+
+ - A change in Sphinx's HTML code broke the HTML rewriting extensions (see
+ issue #1).
+ - A change in the ``css_files`` variable in the basic theme's template broke
+ the ``extra_css_files`` theme setting.
+
+* quark-sphinx-theme 0.4.1 *(2016-11-22)*
+
+ - Fix ``python_requires`` in setup.py.
+
+* quark-sphinx-theme 0.4 *(2016-10-18)*
+
+ - Add an explicit dependency on Sphinx.
+ - Rename ``quark_html_rewrite_features`` to ``quark_html_features``.
+ - Add ``quark_html_disabled_features`` to explicitly turn off certain rewrite
+ features.
+ - Style changes:
+
+ - More visually appealing code blocks on full browsers.
+ - Add styling for compact lists produced by ``::hlist`` directive.
+ - Correctly set width for topic blocks.
+ - Clean up definition list margins.
+
+* quark-sphinx-theme 0.3.2 "I'll get it right some day" *(2016-05-23)*
+
+ - Include a copy of the lovelace style for compatibility with Pygments < 2.1.
+
+* quark-sphinx-theme 0.3.1 *(2016-05-23)*
+
+ - Skip CSS syntax tests if tinycss isn't available.
+ - Make sure to include theme itself.
+ - Include test/util.py in source packages.
+
+* quark-sphinx-theme 0.3 *(2016-05-22)*
+
+ - Remove ``hide_sidebar_in_index`` option.
+ - Fix styling of index pages.
+ - The ``quark_sphinx_theme.ext.html_compat`` extension has been renamed to
+ ``quark_sphinx_theme.ext.html_rewrite``. The old name remains supported for
+ backwards compatibility.
+ - The ``html_rewrite`` extension now supports wrapping admonitions in tables,
+ allowing for more styling options. The theme has been updated to take
+ advantage of this. Admonitions, topics, and sidebars look very different and
+ much better. If ``html_rewrite`` is not enabled, a fallback style will be
+ used for these.
+ - ``html_rewrite`` supports wrapping literal blocks in tables. If enabled,
+ this provides better styling for Pygments styles with non-white backgrounds.
+ - Smaller design changes:
+
+ - Don't use background color on code elements in headings and normal links.
+ - Display terms in definition lists in bold.
+ - Remove left and top margins for definition list bodies.
+ - Switch default code color scheme to 'lovelace'.
+
+* quark-sphinx-theme 0.2.1 *(2016-03-02)*
+
+ - Change license to 2-clause BSD (in practice, it's the same thing).
+
+* quark-sphinx-theme 0.2.0 *(2016-02-28)*
+
+ - Add ``quark_sphinx_theme.ext.html_compat`` extension.
+ - Add styling for citations, footnotes, table captions, and ``rubric``
+ directives.
+
+* quark-sphinx-theme 0.1.2 *(2016-02-27)*
+
+ - Fix compatibility with Jinja2 2.3.
+
+* quark-sphinx-theme 0.1.1 *(2016-02-24)*
+
+ - Fix spacing of navigation links.
+
+* quark-sphinx-theme 0.1.0 *(2016-02-24)*
+
+ - Initial release.
diff --git a/setup.cfg b/setup.cfg
index 8b8abc1..88a2da7 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,11 +1,11 @@
-[bdist_wheel]
-universal = 1
-
-[sdist]
-formats = bztar,zip
-
-[egg_info]
-tag_build =
-tag_date = 0
-tag_svn_revision = 0
-
+[bdist_wheel]
+universal = 1
+
+[sdist]
+formats = bztar,zip
+
+[egg_info]
+tag_build =
+tag_date = 0
+tag_svn_revision = 0
+
diff --git a/setup.py b/setup.py
index a64c57a..be1f4e6 100644
--- a/setup.py
+++ b/setup.py
@@ -1,52 +1,56 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-from io import open
-import os
-import sys
-from setuptools import setup, find_packages
-
-dist_dir = os.path.dirname(os.path.abspath(__file__))
-readme = os.path.join(dist_dir, 'README.rst')
-with open(readme, 'r', encoding='utf-8') as f:
- long_description = f.read()
-
-sys.path.insert(0, os.path.join(dist_dir, 'src', 'quark_sphinx_theme'))
-from __version__ import __version__ # noqa
-del sys.path[0]
-
-setup(
- name='quark-sphinx-theme',
- version=__version__,
- description='A Sphinx theme designed for QTextBrowser',
- long_description=long_description,
- url='https://bitbucket.org/fk/quark-sphinx-theme',
- author='Felix Krull',
- author_email='f_krull at gmx.de',
- license='BSD',
- classifiers=[
- 'Development Status :: 3 - Alpha',
- 'Framework :: Sphinx :: Theme',
- 'Intended Audience :: Developers',
- 'License :: OSI Approved :: BSD License',
- 'Operating System :: OS Independent',
- 'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 3',
- 'Topic :: Documentation :: Sphinx',
- 'Topic :: Software Development :: Documentation',
- ],
- zip_safe=False,
- install_requires=['sphinx>=1.1'],
- python_requires='~=2.7, ~=3.3',
-
- packages=find_packages('src'),
- package_dir={'': 'src'},
- include_package_data=True,
- entry_points={
- 'sphinx_themes': [
- 'path = quark_sphinx_theme:get_path',
- ]
- },
-
- test_suite='test',
- tests_require=['html5lib', 'tinycss'],
-)
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+from io import open
+import os
+import sys
+from setuptools import setup, find_packages
+
+dist_dir = os.path.dirname(os.path.abspath(__file__))
+readme = os.path.join(dist_dir, 'README.rst')
+with open(readme, 'r', encoding='utf-8') as f:
+ long_description = f.read()
+
+sys.path.insert(0, os.path.join(dist_dir, 'src', 'quark_sphinx_theme'))
+from __version__ import __version__ # noqa
+del sys.path[0]
+
+tests_require = ['html5lib', 'tinycss']
+if sys.version_info[:2] < (3, 3):
+ tests_require.append('mock')
+
+setup(
+ name='quark-sphinx-theme',
+ version=__version__,
+ description='A Sphinx theme designed for QTextBrowser',
+ long_description=long_description,
+ url='https://bitbucket.org/fk/quark-sphinx-theme',
+ author='Felix Krull',
+ author_email='f_krull at gmx.de',
+ license='BSD',
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'Framework :: Sphinx :: Theme',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: BSD License',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python :: 2',
+ 'Programming Language :: Python :: 3',
+ 'Topic :: Documentation :: Sphinx',
+ 'Topic :: Software Development :: Documentation',
+ ],
+ zip_safe=False,
+ install_requires=['sphinx>=1.1'],
+ python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*',
+
+ packages=find_packages('src'),
+ package_dir={'': 'src'},
+ include_package_data=True,
+ entry_points={
+ 'sphinx_themes': [
+ 'path = quark_sphinx_theme:get_path',
+ ]
+ },
+
+ test_suite='test',
+ tests_require=tests_require,
+)
diff --git a/src/quark_sphinx_theme.egg-info/PKG-INFO b/src/quark_sphinx_theme.egg-info/PKG-INFO
index 0618d7b..cc7895d 100644
--- a/src/quark_sphinx_theme.egg-info/PKG-INFO
+++ b/src/quark_sphinx_theme.egg-info/PKG-INFO
@@ -1,116 +1,128 @@
-Metadata-Version: 1.2
-Name: quark-sphinx-theme
-Version: 0.4.0
-Summary: A Sphinx theme designed for QTextBrowser
-Home-page: https://bitbucket.org/fk/quark-sphinx-theme
-Author: Felix Krull
-Author-email: f_krull at gmx.de
-License: BSD
-Description: ========================================
- Quark: a Sphinx theme for QTextBrowser
- ========================================
-
- About
- =====
-
- Quark is a Sphinx theme specifically designed to look and work well within the
- limitations of the Qt toolkit's ``QTextBrowser``.
-
- This theme was originally designed for the bundled manual of `SpeedCrunch`_.
-
- .. _SpeedCrunch: http://speedcrunch.org
-
-
- Installation
- ============
-
- * ``pip install quark-sphinx-theme``
- * In your ``conf.py``::
-
- import quark_sphinx_theme
- html_theme_path = [quark_sphinx_theme.get_path()]
- html_theme = 'quark'
- # To enable more QTextBrowser-compatible HTML generation:
- extensions = ['quark_sphinx_theme.ext.html_rewrite']
-
-
- Changelog
- =========
-
- * quark-sphinx-theme 0.4 *(2016-10-18)*
-
- - Add an explicit dependency on Sphinx.
- - Rename ``quark_html_rewrite_features`` to ``quark_html_features``.
- - Add ``quark_html_disabled_features`` to explicitly turn off certain rewrite
- features.
- - Style changes:
-
- - More visually appealing code blocks on full browsers.
- - Add styling for compact lists produced by ``::hlist`` directive.
- - Correctly set width for topic blocks.
- - Clean up definition list margins.
-
- * quark-sphinx-theme 0.3.2 "I'll get it right some day" *(2016-05-23)*
-
- - Include a copy of the lovelace style for compatibility with Pygments < 2.1.
-
- * quark-sphinx-theme 0.3.1 *(2016-05-23)*
-
- - Skip CSS syntax tests if tinycss isn't available.
- - Make sure to include theme itself.
- - Include test/util.py in source packages.
-
- * quark-sphinx-theme 0.3 *(2016-05-22)*
-
- - Remove ``hide_sidebar_in_index`` option.
- - Fix styling of index pages.
- - The ``quark_sphinx_theme.ext.html_compat`` extension has been renamed to
- ``quark_sphinx_theme.ext.html_rewrite``. The old name remains supported for
- backwards compatibility.
- - The ``html_rewrite`` extension now supports wrapping admonitions in tables,
- allowing for more styling options. The theme has been updated to take
- advantage of this. Admonitions, topics, and sidebars look very different and
- much better. If ``html_rewrite`` is not enabled, a fallback style will be
- used for these.
- - ``html_rewrite`` supports wrapping literal blocks in tables. If enabled,
- this provides better styling for Pygments styles with non-white backgrounds.
- - Smaller design changes:
-
- - Don't use background color on code elements in headings and normal links.
- - Display terms in definition lists in bold.
- - Remove left and top margins for definition list bodies.
- - Switch default code color scheme to 'lovelace'.
-
- * quark-sphinx-theme 0.2.1 *(2016-03-02)*
-
- - Change license to 2-clause BSD (in practice, it's the same thing).
-
- * quark-sphinx-theme 0.2.0 *(2016-02-28)*
-
- - Add ``quark_sphinx_theme.ext.html_compat`` extension.
- - Add styling for citations, footnotes, table captions, and ``rubric``
- directives.
-
- * quark-sphinx-theme 0.1.2 *(2016-02-27)*
-
- - Fix compatibility with Jinja2 2.3.
-
- * quark-sphinx-theme 0.1.1 *(2016-02-24)*
-
- - Fix spacing of navigation links.
-
- * quark-sphinx-theme 0.1.0 *(2016-02-24)*
-
- - Initial release.
-
-Platform: UNKNOWN
-Classifier: Development Status :: 3 - Alpha
-Classifier: Framework :: Sphinx :: Theme
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: BSD License
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 3
-Classifier: Topic :: Documentation :: Sphinx
-Classifier: Topic :: Software Development :: Documentation
-Requires-Python: ~=2.7, ~=3.3
+Metadata-Version: 1.1
+Name: quark-sphinx-theme
+Version: 0.5.0
+Summary: A Sphinx theme designed for QTextBrowser
+Home-page: https://bitbucket.org/fk/quark-sphinx-theme
+Author: Felix Krull
+Author-email: f_krull at gmx.de
+License: BSD
+Description: ========================================
+ Quark: a Sphinx theme for QTextBrowser
+ ========================================
+
+ About
+ =====
+
+ Quark is a Sphinx theme specifically designed to look and work well within the
+ limitations of the Qt toolkit's ``QTextBrowser``.
+
+ This theme was originally designed for the bundled manual of `SpeedCrunch`_.
+
+ .. _SpeedCrunch: http://speedcrunch.org
+
+
+ Installation
+ ============
+
+ * ``pip install quark-sphinx-theme``
+ * In your ``conf.py``::
+
+ import quark_sphinx_theme
+ html_theme_path = [quark_sphinx_theme.get_path()]
+ html_theme = 'quark'
+ # To enable more QTextBrowser-compatible HTML generation:
+ extensions = ['quark_sphinx_theme.ext.html_rewrite']
+
+
+ Changelog
+ =========
+
+ * quark-sphinx-theme 0.5.0 *(2017-06-05)*
+
+ - Sphinx 1.6 compatibility:
+
+ - A change in Sphinx's HTML code broke the HTML rewriting extensions (see
+ issue #1).
+ - A change in the ``css_files`` variable in the basic theme's template broke
+ the ``extra_css_files`` theme setting.
+
+ * quark-sphinx-theme 0.4.1 *(2016-11-22)*
+
+ - Fix ``python_requires`` in setup.py.
+
+ * quark-sphinx-theme 0.4 *(2016-10-18)*
+
+ - Add an explicit dependency on Sphinx.
+ - Rename ``quark_html_rewrite_features`` to ``quark_html_features``.
+ - Add ``quark_html_disabled_features`` to explicitly turn off certain rewrite
+ features.
+ - Style changes:
+
+ - More visually appealing code blocks on full browsers.
+ - Add styling for compact lists produced by ``::hlist`` directive.
+ - Correctly set width for topic blocks.
+ - Clean up definition list margins.
+
+ * quark-sphinx-theme 0.3.2 "I'll get it right some day" *(2016-05-23)*
+
+ - Include a copy of the lovelace style for compatibility with Pygments < 2.1.
+
+ * quark-sphinx-theme 0.3.1 *(2016-05-23)*
+
+ - Skip CSS syntax tests if tinycss isn't available.
+ - Make sure to include theme itself.
+ - Include test/util.py in source packages.
+
+ * quark-sphinx-theme 0.3 *(2016-05-22)*
+
+ - Remove ``hide_sidebar_in_index`` option.
+ - Fix styling of index pages.
+ - The ``quark_sphinx_theme.ext.html_compat`` extension has been renamed to
+ ``quark_sphinx_theme.ext.html_rewrite``. The old name remains supported for
+ backwards compatibility.
+ - The ``html_rewrite`` extension now supports wrapping admonitions in tables,
+ allowing for more styling options. The theme has been updated to take
+ advantage of this. Admonitions, topics, and sidebars look very different and
+ much better. If ``html_rewrite`` is not enabled, a fallback style will be
+ used for these.
+ - ``html_rewrite`` supports wrapping literal blocks in tables. If enabled,
+ this provides better styling for Pygments styles with non-white backgrounds.
+ - Smaller design changes:
+
+ - Don't use background color on code elements in headings and normal links.
+ - Display terms in definition lists in bold.
+ - Remove left and top margins for definition list bodies.
+ - Switch default code color scheme to 'lovelace'.
+
+ * quark-sphinx-theme 0.2.1 *(2016-03-02)*
+
+ - Change license to 2-clause BSD (in practice, it's the same thing).
+
+ * quark-sphinx-theme 0.2.0 *(2016-02-28)*
+
+ - Add ``quark_sphinx_theme.ext.html_compat`` extension.
+ - Add styling for citations, footnotes, table captions, and ``rubric``
+ directives.
+
+ * quark-sphinx-theme 0.1.2 *(2016-02-27)*
+
+ - Fix compatibility with Jinja2 2.3.
+
+ * quark-sphinx-theme 0.1.1 *(2016-02-24)*
+
+ - Fix spacing of navigation links.
+
+ * quark-sphinx-theme 0.1.0 *(2016-02-24)*
+
+ - Initial release.
+
+Platform: UNKNOWN
+Classifier: Development Status :: 4 - Beta
+Classifier: Framework :: Sphinx :: Theme
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: BSD License
+Classifier: Operating System :: OS Independent
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 3
+Classifier: Topic :: Documentation :: Sphinx
+Classifier: Topic :: Software Development :: Documentation
diff --git a/src/quark_sphinx_theme.egg-info/SOURCES.txt b/src/quark_sphinx_theme.egg-info/SOURCES.txt
index a619770..00c4eda 100644
--- a/src/quark_sphinx_theme.egg-info/SOURCES.txt
+++ b/src/quark_sphinx_theme.egg-info/SOURCES.txt
@@ -8,6 +8,7 @@ src/quark_sphinx_theme/__init__.py
src/quark_sphinx_theme/__version__.py
src/quark_sphinx_theme/_lovelace.py
src/quark_sphinx_theme/_mixin.py
+src/quark_sphinx_theme/_sphinxversion.py
src/quark_sphinx_theme.egg-info/PKG-INFO
src/quark_sphinx_theme.egg-info/SOURCES.txt
src/quark_sphinx_theme.egg-info/dependency_links.txt
@@ -18,6 +19,8 @@ src/quark_sphinx_theme.egg-info/top_level.txt
src/quark_sphinx_theme/ext/__init__.py
src/quark_sphinx_theme/ext/html_compat.py
src/quark_sphinx_theme/ext/html_rewrite/__init__.py
+src/quark_sphinx_theme/ext/html_rewrite/_features.py
+src/quark_sphinx_theme/ext/html_rewrite/_setup_pre16.py
... 4391 lines suppressed ...
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/quark-sphinx-theme.git
More information about the Python-modules-commits
mailing list