Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pytest-subprocess
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Python Team
packages
pytest-subprocess
Commits
52a3321d
Verified
Commit
52a3321d
authored
9 months ago
by
Yogeswaran Umasankar
Browse files
Options
Downloads
Patches
Plain Diff
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
9 months ago
Stage: provisioning
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/001-fix-for-docs.patch
+30
-0
30 additions, 0 deletions
debian/patches/001-fix-for-docs.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
31 additions
and
0 deletions
debian/patches/001-fix-for-docs.patch
0 → 100644
+
30
−
0
View file @
52a3321d
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",
]
This diff is collapsed.
Click to expand it.
debian/patches/series
0 → 100644
+
1
−
0
View file @
52a3321d
001-fix-for-docs.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment