Piccolo-theme

Latest version: v0.24.0

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

0.13.0

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

python
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.

<img width="509" alt="Screenshot 2022-10-07 at 16 16 08" src="https://user-images.githubusercontent.com/350976/194588859-9192567b-a774-412c-b7bc-d3774a5a1a4d.png">

0.12.0

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

<img width="499" alt="Screenshot 2022-08-27 at 11 20 58" src="https://user-images.githubusercontent.com/350976/187026008-a55ef1a9-9806-4023-8df9-8755500988ab.png">

Just do the following:

python
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:

python
conf.py

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

0.11.1

Minor style fix on search page.

0.11.0

Fixed some styles in Sphinx v5.

0.10.2

Drop Python 3.7 specific syntax.

0.10.1

Fix typo in ``setup.py``.

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.