Skip to content
Snippets Groups Projects
Verified Commit 52a3321d authored by Yogeswaran Umasankar's avatar Yogeswaran Umasankar
Browse files

Add patch for docs + Prepare for upload

parent 738b308a
No related branches found
No related tags found
No related merge requests found
Pipeline #718792 passed
Description: Fix for docs
Remove import version from pip + replace
sphinxcontrib.napoleon with sphinx.ext.napoleon.
Forwarded: not-needed
Author: Yogeswaran Umasankar <yogu@debian.org>
Last-Update: 2024-08-19
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -29,7 +29,10 @@ copyright = f"2019-{datetime.datetime.no
author = "Andrzej Klajnert"
# The full version, including alpha/beta/rc tags
-release = pkg_resources.get_distribution("pip").version
+try:
+ release = pkg_resources.get_distribution("pip").version
+except pkg_resources.DistributionNotFound:
+ release = "unknown"
# -- General configuration ---------------------------------------------------
@@ -39,7 +42,7 @@ release = pkg_resources.get_distribution
# ones.
extensions = [
- "sphinxcontrib.napoleon",
+ "sphinx.ext.napoleon",
"sphinx.ext.autodoc",
"sphinx_autodoc_typehints",
]
001-fix-for-docs.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment