Sync from SUSE:ALP:Source:Standard:1.0 python-readthedocs-sphinx-ext revision b2b6377eb8767776efd7b8ae5ba644ea

This commit is contained in:
Adrian Schröter 2023-10-19 03:42:57 +02:00
commit 49f93b8223
4 changed files with 233 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

View File

@ -0,0 +1,144 @@
-------------------------------------------------------------------
Thu Sep 7 11:41:01 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.2.2:
* Remove build-time and commit field to avoid changing all pages
* Stop creating readthedocs-sphinx-domain-names.json
-------------------------------------------------------------------
Fri Apr 21 12:32:47 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:44:25 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Sat Oct 29 00:11:21 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 2.2.0
Telemetry: dump `app.extensions` and `app.config.html_theme` (#117)
* Telemetry: dump `app.extensions` and `app.config.html_theme`
Dump data from Sphinx into a JSON file that will be read and processed by our
Telemetry collector. This will help us to get some insights about extensions and
theme usage.
* Telemetry: handle unexpected exceptions
* Telemetry: comment about config-inited
* Style
* Telemetry: save only extensions defined by the user
Instead of saving `app.extensions` (all extensions used by Sphinx, including
default ones), we only save `app.config.extensions` which are the ones defined
by the user itself.
Update release steps (#116)
Use build is recommend now
https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#packaging-your-project
-------------------------------------------------------------------
Wed Oct 12 15:50:12 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 2.1.9
* fix: Only add external version warning nodes on documents (#114)
-------------------------------------------------------------------
Sat Jun 4 20:40:15 UTC 2022 - Arun Persaud <arun@gmx.de>
- update to version 2.1.8:
* Remove direct call to distutils in favor of more modern packaging
- changes from version 2.1.7:
* Use proxied_static_path if available
- changes from version 2.1.6:
* External version warning: avoid using the deprecated traverse
method
* Update tox.ini to reflect the current package state
* Update some deps
-------------------------------------------------------------------
Fri Mar 18 22:29:34 UTC 2022 - Arun Persaud <arun@gmx.de>
- update to version 2.1.5:
* Search: correctly remove Search.init on Sphinx >= 5.0
-------------------------------------------------------------------
Sat Jan 29 17:46:24 UTC 2022 - Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
- update to version 2.1.4:
* Update canonical_url to properly respect builder
- changes from version 2.1.3:
* Use circleci
- changes from version 2.1.2:
* Canonical URL: don't set it if is empty
-------------------------------------------------------------------
Sat Jul 25 15:14:03 UTC 2020 - Arun Persaud <arun@gmx.de>
- update to version 2.1.1:
* New line at the end of the file
* Put the JS embed back into script_files (#92)
-------------------------------------------------------------------
Sat Jul 11 19:09:45 UTC 2020 - Arun Persaud <arun@gmx.de>
- update to version 2.1.0:
* Merge pull request #90 from readthedocs/humitos/parallel-read-safe
- changes from version 2.0.0:
* Define parallel_read_safe=True for our extensions
* Move the feature flags added in #85
* Re-add the builders as deprecated
* Use Py3 for Lint
* Remove the custom RTD builders
-------------------------------------------------------------------
Sat May 30 23:26:29 UTC 2020 - Arun Persaud <arun@gmx.de>
- update to version 1.0.4:
* Re-add proxied_api_host to allow overriding it
-------------------------------------------------------------------
Fri Apr 24 15:22:12 UTC 2020 - Arun Persaud <arun@gmx.de>
- specfile:
* no more need to remove tests manually before install
- update to version 1.0.3:
* Fix path to html_context
- changes from version 1.0.2:
* Add Python 3.8 to tests
* Add more versions to test against
* Revert #77
* Make setup.py executable
* Stop installing tests
* Remove broken distutils compat
-------------------------------------------------------------------
Sat Jan 18 18:41:10 UTC 2020 - Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
* be more specific in %files section
- update to version 1.0.1:
* more JS exscapes
* Use new footer_api_host settings
* rename setting
-------------------------------------------------------------------
Mon Jul 22 13:04:39 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.0:
* no upstream changelog
-------------------------------------------------------------------
Fri May 24 19:58:32 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Initial commit, needed by rdt_theme

View File

@ -0,0 +1,63 @@
#
# spec file for package python-readthedocs-sphinx-ext
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-readthedocs-sphinx-ext
Version: 2.2.2
Release: 0
Summary: Sphinx extension for Read the Docs overrides
License: MIT
Group: Development/Languages/Python
URL: https://github.com/rtfd/readthedocs-sphinx-ext
Source: https://files.pythonhosted.org/packages/source/r/readthedocs-sphinx-ext/readthedocs-sphinx-ext-%{version}.tar.gz
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx
Requires: python-requests
BuildArch: noarch
%python_subpackages
%description
This module adds extensions that make Sphinx easier to use.
Some of them require Read the Docs features,
others are just code that we ship and enable during builds on Read the Docs.
%prep
%setup -q -n readthedocs-sphinx-ext-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/readthedocs_ext
%{python_sitelib}/readthedocs_sphinx_ext-%{version}-py*.egg-info
%changelog

BIN
readthedocs-sphinx-ext-2.2.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.