From 4e6da56d4b184df97a745eee4ceb8d9de62153a7 Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Jan 16 2022 18:52:59 +0000 Subject: feat: drop sphinx docs they require lots of unbundling --- diff --git a/python-fslpy.spec b/python-fslpy.spec index efad1a8..fb07a3a 100644 --- a/python-fslpy.spec +++ b/python-fslpy.spec @@ -36,13 +36,6 @@ Summary: %{summary} %{desc} -%package doc -Summary: %{summary} -BuildRequires: %{py3_dist sphinx_rtd_theme} - -%description doc -This package contains documentation for %{name}. - %prep %autosetup -n fslpy-%{version} @@ -60,12 +53,6 @@ find . -type f -name "*.py" -exec sed -i 's/#![ ]*\/usr\/bin\/env python$/#!\/u %build %pyproject_wheel -# Build documentation -PYTHONPATH=. sphinx-build-3 doc html -# Remove build artefacts -rm -frv html/.buildinfo -rm -frv html/.doctrees - %install %pyproject_install %pyproject_save_files fsl @@ -120,10 +107,6 @@ xvfb-run pytest-3 tests/test_platform.py || exit 0 %{_bindir}/imtest %{_bindir}/remove_ext -%files doc -%license LICENSE COPYRIGHT -%doc html - %changelog %autochangelog