summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-08-22 07:22:05 +0000
committerCoprDistGit <infra@openeuler.org>2023-08-22 07:22:05 +0000
commit7f329ba49ee73b0fd79b8fc223e2071c7ed7fe8d (patch)
treecb1f47ac58199b331a4da752beced32087cc42df
parent367cf337407d52309da58e17d86928ab84423e88 (diff)
automatic import of python-sphinx-remove-toctreesopeneuler23.03
-rw-r--r--.gitignore1
-rw-r--r--python-sphinx-remove-toctrees.spec58
-rw-r--r--sources1
3 files changed, 60 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0a54595 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sphinx-remove-toctrees-0.0.3.tar.gz
diff --git a/python-sphinx-remove-toctrees.spec b/python-sphinx-remove-toctrees.spec
new file mode 100644
index 0000000..bc5da8b
--- /dev/null
+++ b/python-sphinx-remove-toctrees.spec
@@ -0,0 +1,58 @@
+%global _empty_manifest_terminate_build 0
+%global pypi_name sphinx-remove-toctrees
+
+%global _description %{expand:
+Improve your Sphinx build time by selectively removing TocTree objects from pages. This is useful\
+if your documentation uses auto-generated API documentation, which generates a lot of stub pages.
+This extension can be used to remove the sidebar links for just the pages you specify, speed up the build considerably.}
+
+Name: python-%{pypi_name}
+Version: 0.0.3
+Release: 1
+Summary: Reduce your documentation build size by selectively removing toctrees from pages.
+License: MIT
+URL: https://github.com/executablebooks/sphinx-remove-toctrees
+Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+BuildRequires: python3-setuptools
+BuildRequires: python3-setuptools_scm
+
+%description %_description
+
+%package -n python3-%{pypi_name}
+Summary: Reduce your documentation build size by selectively removing toctrees from pages.
+%{?python_provide:%python_provide python3-%{pypi_name}}
+
+%description -n python3-%{pypi_name} %_description
+
+%package help
+Summary: Help documents for %{name}
+
+%description help
+Help documents for the %{name} API
+
+%prep
+%autosetup -n %{pypi_name}-%{version}
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+%files -n python3-%{pypi_name}
+%license LICENSE
+%doc README.md
+%{python3_sitelib}/sphinx_remove_toctrees/
+%{python3_sitelib}/sphinx_remove_toctrees-*.egg-info/
+
+%files help
+%doc docs
+
+%changelog
+* Fri Aug 18 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 0.0.3-1
+- Package init
diff --git a/sources b/sources
new file mode 100644
index 0000000..2babacc
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+bb4c60bb8e18c151805b2d1da60cf1f1 sphinx-remove-toctrees-0.0.3.tar.gz