Skip to content

Releases: piccolo-orm/piccolo_theme

0.15.0

16 Mar 08:08
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.14.0...0.15.0

0.14.0

09 Oct 07:30
Compare
Choose a tag to compare

When switching to dark mode, we automatically apply our own custom dark mode styles to code blocks.

This gives a great experience out of the box. However, if someone uses their own Pygments theme, they might want to use that theme in both light mode, and dark mode. They can now do so, using the dark_mode_code_blocks option.

# conf.py

html_theme_options = {
    "dark_mode_code_blocks": False
}

0.13.0

07 Oct 15:17
Compare
Choose a tag to compare

A logo can now be used in the nav bar, instead of text.

# conf.py

# Relative to conf.py:
html_logo = './path/to/logo.png'

# Or an absolute URL:
html_logo = 'https://awesome.com/static/logo.png'

Thanks to @are-scenic for adding this.

Screenshot 2022-10-07 at 16 16 08

0.12.0

27 Aug 10:23
Compare
Choose a tag to compare

You can now specify the source code URL, and it will show in the nav bar.

Screenshot 2022-08-27 at 11 20 58

Just do the following:

# conf.py

html_theme_options = {
    "source_url": 'https://github.com/piccolo-orm/piccolo_theme/'
}

The icon is inferred automatically based on the URL (in the above example, we show the GitHub logo). You can explicitly set the icon if you prefer:

# conf.py

html_theme_options = {
    "source_url": 'https://self-hosted.foo.com/',
    "source_icon": "gitlab"
}

0.11.1

02 Jun 07:59
Compare
Choose a tag to compare

Minor style fix on search page.

0.11.0

02 Jun 07:28
Compare
Choose a tag to compare

Fixed some styles in Sphinx v5.

0.10.2

02 May 08:58
Compare
Choose a tag to compare

Drop Python 3.7 specific syntax.

0.10.1

02 May 08:20
Compare
Choose a tag to compare

Fix typo in setup.py.

0.10.0

02 May 08:12
Compare
Choose a tag to compare

Added support for Python 3.6, as many Ubuntu systems will still be using that version, and Sphinx still supports it. Thanks to @oncilla for reporting this issue.

0.9.0

14 Apr 19:40
Compare
Choose a tag to compare

Improved the appearance of autodoc output for C files (when using breathe). Courtesy @thijsmie.