From 9f62a42e4eed0f465d64467805ef03cdf89f8b73 Mon Sep 17 00:00:00 2001 From: Daniel Townsend Date: Sat, 27 Aug 2022 11:18:31 +0100 Subject: [PATCH] bumped version --- docs/src/changes.rst | 27 +++++++++++++++++++++++++++ piccolo_theme/__init__.py | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/docs/src/changes.rst b/docs/src/changes.rst index 0e8c054..ef1c9ed 100644 --- a/docs/src/changes.rst +++ b/docs/src/changes.rst @@ -1,6 +1,33 @@ Changes ======= +0.12.0 +------ + +You can now specify the source code URL, and it will show in the nav bar. + +.. code-block:: 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 explicitly set the icon if you prefer: + +.. code-block:: python + + # conf.py + + html_theme_options = { + "source_url": 'https://self-hosted.foo.com/', + "source_icon": "gitlab" + } + +------------------------------------------------------------------------------- + 0.11.1 ------ diff --git a/piccolo_theme/__init__.py b/piccolo_theme/__init__.py index a05c07b..ab068bc 100644 --- a/piccolo_theme/__init__.py +++ b/piccolo_theme/__init__.py @@ -5,7 +5,7 @@ from sphinx.application import Sphinx -__VERSION__ = "0.11.1" +__VERSION__ = "0.12.0" def setup(app: 'Sphinx'):