- 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
This commit is contained in:
Matej Cepl 2022-01-20 00:16:41 +00:00 committed by Git OBS Bridge
parent 3f923772f0
commit 3173726e29
4 changed files with 33 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:29c33ba393bdb9377910116a0c1cc329573a4e040227c58a3293d27928d8262a
size 8935

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea3dcfc934062a5f0b6805e083150cb00337ed3ca9e81a03729ef4c0cf3d3989
size 14244

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Wed Jan 19 23:41:38 UTC 2022 - Matej Cepl <mcepl@suse.com>
- 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

View File

@ -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}