forked from pool/python-sphinxcontrib-fulltoc
Accepting request 831251 from home:sebix
OBS-URL: https://build.opensuse.org/request/show/831251 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-fulltoc?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
4
python-sphinxcontrib-fulltoc.changes
Normal file
4
python-sphinxcontrib-fulltoc.changes
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 1 15:57:07 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||||
|
|
||||||
|
- initial package for version 1.2.0
|
66
python-sphinxcontrib-fulltoc.spec
Normal file
66
python-sphinxcontrib-fulltoc.spec
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-sphinxcontrib-fulltoc
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
Name: python-sphinxcontrib-fulltoc
|
||||||
|
Version: 1.2.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Include a full table of contents in your Sphinx HTML sidebar
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: http://sphinxcontrib-fulltoc.readthedocs.org
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-fulltoc/sphinxcontrib-fulltoc-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pbr}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildArch: noarch
|
||||||
|
# SECTION docs
|
||||||
|
BuildRequires: python3-Sphinx
|
||||||
|
# /SECTION
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
sphinxcontrib-fulltoc is an extension for the Sphinx_ documentation
|
||||||
|
system that changes the HTML output to include a more detailed table
|
||||||
|
of contents in the sidebar. By default Sphinx only shows the local
|
||||||
|
headers for the current page. With the extension installed, all of the
|
||||||
|
page titles are included, and the local headers for the current page
|
||||||
|
are also included in the appropriate place within the document.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n sphinxcontrib-fulltoc-%{version}
|
||||||
|
sed -i 's/version = subprocess.*/version = "%{version}"/' docs/source/conf.py
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
pushd docs
|
||||||
|
LANG=C.UTF-8 READTHEDOCS=True PYTHONPATH=.. make html
|
||||||
|
rm build/html/.buildinfo
|
||||||
|
popd
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%{python_sitelib}/*
|
||||||
|
%license LICENSE
|
||||||
|
%doc ChangeLog README.rst docs/build/html
|
||||||
|
|
||||||
|
%changelog
|
3
sphinxcontrib-fulltoc-1.2.0.tar.gz
Normal file
3
sphinxcontrib-fulltoc-1.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c845d62fc467f3135d4543e9f10e13ef91852683bd1c90fd19d07f9d36757cd9
|
||||||
|
size 13752
|
Reference in New Issue
Block a user