From 3173726e293158b7695ff35980fe7eca4621cb9ab3fff317652b4999db164959 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 20 Jan 2022 00:16:41 +0000 Subject: [PATCH] - Update to 2022.1: - Add a configuration for license URL. - Exclude the floating navbar from CHM help. - Make sidebar scrollable and sticky (on modern browsers) - Fix monospace again, on buggy Google Chrome - Add the copyright_url variable in the theme - Improve readability - Remove #searchbox on mobile to fix a layout bug - Fix the appearance of version/language selects - Make the theme responsive - Use default pygments theme - Test Github action to validate the theme against docsbuild scripts. - Add the copy button to pycon3 highlighted code blocks. - Updated the readme, to remind user to install the package in a virtual environment. - Updated the package url, using the GitHub repository instead of docs.python.org - Added license information to the footer of the doc - Fixed typo in the footer - Added information on how to use the package - Fixed code formatting - Fixed code bgcolor and codetextcolor for Sphinx 3.1.0+ OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-docs-theme?expand=0&rev=5 --- python-docs-theme-2020.1.tar.gz | 3 --- python-docs-theme-2022.1.tar.gz | 3 +++ python-python-docs-theme.changes | 24 ++++++++++++++++++++++++ python-python-docs-theme.spec | 10 ++++++---- 4 files changed, 33 insertions(+), 7 deletions(-) delete mode 100644 python-docs-theme-2020.1.tar.gz create mode 100644 python-docs-theme-2022.1.tar.gz diff --git a/python-docs-theme-2020.1.tar.gz b/python-docs-theme-2020.1.tar.gz deleted file mode 100644 index 7e56ba6..0000000 --- a/python-docs-theme-2020.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:29c33ba393bdb9377910116a0c1cc329573a4e040227c58a3293d27928d8262a -size 8935 diff --git a/python-docs-theme-2022.1.tar.gz b/python-docs-theme-2022.1.tar.gz new file mode 100644 index 0000000..7f359fa --- /dev/null +++ b/python-docs-theme-2022.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea3dcfc934062a5f0b6805e083150cb00337ed3ca9e81a03729ef4c0cf3d3989 +size 14244 diff --git a/python-python-docs-theme.changes b/python-python-docs-theme.changes index 7c039db..e152ec5 100644 --- a/python-python-docs-theme.changes +++ b/python-python-docs-theme.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Wed Jan 19 23:41:38 UTC 2022 - Matej Cepl + +- Update to 2022.1: + - Add a configuration for license URL. + - Exclude the floating navbar from CHM help. + - Make sidebar scrollable and sticky (on modern browsers) + - Fix monospace again, on buggy Google Chrome + - Add the copyright_url variable in the theme + - Improve readability + - Remove #searchbox on mobile to fix a layout bug + - Fix the appearance of version/language selects + - Make the theme responsive + - Use default pygments theme + - Test Github action to validate the theme against docsbuild scripts. + - Add the copy button to pycon3 highlighted code blocks. + - Updated the readme, to remind user to install the package in a virtual environment. + - Updated the package url, using the GitHub repository instead of docs.python.org + - Added license information to the footer of the doc + - Fixed typo in the footer + - Added information on how to use the package + - Fixed code formatting + - Fixed code bgcolor and codetextcolor for Sphinx 3.1.0+ + ------------------------------------------------------------------- Fri Mar 20 12:50:54 UTC 2020 - pgajdos@suse.com diff --git a/python-python-docs-theme.spec b/python-python-docs-theme.spec index 26d7929..2af9eaf 100644 --- a/python-python-docs-theme.spec +++ b/python-python-docs-theme.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-docs-theme # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-docs-theme -Version: 2020.1 +Version: 2022.1 Release: 0 Summary: The Sphinx theme for the CPython docs and related projects License: Python-2.0 Group: Development/Languages/Python URL: https://docs.python.org Source: https://files.pythonhosted.org/packages/source/p/python-docs-theme/python-docs-theme-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -38,10 +40,10 @@ The Sphinx theme for the CPython docs and related projects %setup -q -n python-docs-theme-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files}