From 5a4374261ae741f0a9e01fa1e24d9a72f93250fc Mon Sep 17 00:00:00 2001 From: 5yutan5 <63651161+5yutan5@users.noreply.github.com> Date: Thu, 23 Dec 2021 01:14:11 +0900 Subject: [PATCH] Update --- docs/source/conf.py | 9 +++++++++ qdarktheme/__init__.py | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 29bcb194..f11646c7 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -9,6 +9,10 @@ import os import sys +import time +from datetime import datetime + +import qdarktheme # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -22,6 +26,11 @@ copyright = "2021, Yunosuke Ohsugi" author = "Yunosuke Ohsugi" +now = datetime.utcfromtimestamp(int(os.environ.get("SOURCE_DATE_EPOCH", time.time()))) + +version = qdarktheme.__version__ +release = version + # -- General configuration --------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be diff --git a/qdarktheme/__init__.py b/qdarktheme/__init__.py index 735a47f8..399e40d4 100644 --- a/qdarktheme/__init__.py +++ b/qdarktheme/__init__.py @@ -1,5 +1,8 @@ """PyQtDarkTheme - A flat dark theme for PySide and PyQt. -See https://github.com/5yutan5/PyQtDarkTheme. +- Repository: https://github.com/5yutan5/PyQtDarkTheme +- Documentation: https://pyqtdarktheme.readthedocs.io """ from qdarktheme.base import THEMES, load_palette, load_stylesheet + +__version__ = "0.1.9"