A Sphinx theme designed for QTextBrowser
Project description
Quark: a Sphinx theme for QTextBrowser
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.
Installation
- Install the theme:
$ pip install quark-sphinx-theme
- Enable it in your
conf.pyhtml_theme = 'quark' # generate QTextBrowser-compatible HTML4 instead of something newer html4_writer = True
- Optional: enable improved design for some elements by rewriting HTML:
# To enable more QTextBrowser-compatible HTML generation: extensions = ['quark_sphinx_theme.ext.html_rewrite']
Releasing
- set package version in
quark_sphinx_theme/__init__.py - update changelog
- tag release commit with
v<version>, e.g.v0.6.0
Changelog
- quark-sphinx-theme 0.6.0 (2020-04-15)
- Bump minimum required Python version to 3.5.
- Bump minimum required Sphinx version to 1.8.
- Fix
html_rewriteextension to properly load on other HTML-based builders (e.g. theqthelpbuilder). - Change the way the
html_rewriteextension modifies the HTML builder to be less invasive. - Add a
sphinx.html_themesentry point to allow loading the theme automatically, without settinghtml_theme_path. - Miscellaneous tooling changes:
- The build system was changed from setuptools (setup.py) to flit.
- The CI pipeline was expanded to catch more issues.
- quark-sphinx-theme 0.5.1 (2018-04-30)
- Sphinx 1.7 compatibility:
- An internal refactoring broke the integration tests. This has been fixed.
- Every commit is now tested on every supported Python and Sphinx version using Gitlab CI.
- The entire test suite is regularly re-run with the latest Sphinx version to more consistently discover compatibility issues.
- Sphinx 1.7 compatibility:
- 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_filesvariable in the basic theme's template broke theextra_css_filestheme setting.
- Sphinx 1.6 compatibility:
- quark-sphinx-theme 0.4.1 (2016-11-22)
- Fix
python_requiresin setup.py.
- Fix
- quark-sphinx-theme 0.4 (2016-10-18)
- Add an explicit dependency on Sphinx.
- Rename
quark_html_rewrite_featurestoquark_html_features. - Add
quark_html_disabled_featuresto explicitly turn off certain rewrite features. - Style changes:
- More visually appealing code blocks on full browsers.
- Add styling for compact lists produced by
::hlistdirective. - 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_indexoption. - Fix styling of index pages.
- The
quark_sphinx_theme.ext.html_compatextension has been renamed toquark_sphinx_theme.ext.html_rewrite. The old name remains supported for backwards compatibility. - The
html_rewriteextension 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. Ifhtml_rewriteis not enabled, a fallback style will be used for these. html_rewritesupports 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'.
- Remove
- 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_compatextension. - Add styling for citations, footnotes, table captions, and
rubricdirectives.
- Add
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quark-sphinx-theme-0.6.0.tar.gz
(15.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quark-sphinx-theme-0.6.0.tar.gz.
File metadata
- Download URL: quark-sphinx-theme-0.6.0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.23.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db646ddf771f84c57a4892b1fbc286c8e85267997de805db49525afbb31f5dba
|
|
| MD5 |
806a992069254905ca29a9b188943b27
|
|
| BLAKE2b-256 |
ed1d07c25a1e2f8067572889a5c25d25acf1a5539a7cfaa14e92a6244c40bb59
|
File details
Details for the file quark_sphinx_theme-0.6.0-py3-none-any.whl.
File metadata
- Download URL: quark_sphinx_theme-0.6.0-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.23.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
298ca4586dc509f30bf367981dfa25cd123650d6b4d2ac489c9490f495f1c905
|
|
| MD5 |
9a4996c092c8061f82de4b0c2c3e773e
|
|
| BLAKE2b-256 |
dc3d99e5143aa9b82590e1edb385cb6ca9e1defa32d3f0237155427e1bed767d
|