Replace 2017 sphinx-quickstart boilerplate with minimal modern config. Removes unused LaTeX, man page, and Texinfo output sections. Keeps rpkg-specific features: autodoc, sphinx_rtd_theme, and man_pages JSON loading.
Also update Makefile to use sphinx-build instead of sphinx-build-3.
Inspired-by: https://pagure.io/pungi/pull-request/1899 Assisted-by: Claude Sonnet 4.5 noreply@anthropic.com
Signed-off-by: Ondřej Nosek onosek@redhat.com
For building documentation, the unchanged recipe worked:
dnf install python3-sphinx python3-sphinx_rtd_theme cd doc make html
@hlin @lsedlar I think you recognise this change. It is inspired by https://pagure.io/pungi/pull-request/1899
Looks good to me.
Pull-Request has been merged by onosek
Replace 2017 sphinx-quickstart boilerplate with minimal modern config.
Removes unused LaTeX, man page, and Texinfo output sections. Keeps
rpkg-specific features: autodoc, sphinx_rtd_theme, and man_pages JSON
loading.
Also update Makefile to use sphinx-build instead of sphinx-build-3.
Inspired-by: https://pagure.io/pungi/pull-request/1899
Assisted-by: Claude Sonnet 4.5 noreply@anthropic.com
Signed-off-by: Ondřej Nosek onosek@redhat.com