- 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:
parent
3f923772f0
commit
3173726e29
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:29c33ba393bdb9377910116a0c1cc329573a4e040227c58a3293d27928d8262a
|
|
||||||
size 8935
|
|
3
python-docs-theme-2022.1.tar.gz
Normal file
3
python-docs-theme-2022.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ea3dcfc934062a5f0b6805e083150cb00337ed3ca9e81a03729ef4c0cf3d3989
|
||||||
|
size 14244
|
@ -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
|
Fri Mar 20 12:50:54 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-docs-theme
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,14 +18,16 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-python-docs-theme
|
Name: python-python-docs-theme
|
||||||
Version: 2020.1
|
Version: 2022.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Sphinx theme for the CPython docs and related projects
|
Summary: The Sphinx theme for the CPython docs and related projects
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://docs.python.org
|
URL: https://docs.python.org
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/python-docs-theme/python-docs-theme-%{version}.tar.gz
|
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 setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -38,10 +40,10 @@ The Sphinx theme for the CPython docs and related projects
|
|||||||
%setup -q -n python-docs-theme-%{version}
|
%setup -q -n python-docs-theme-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Loading…
Reference in New Issue
Block a user