1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Description: Don't try to read a contributor list from the git log
Debian packages are built from tarballs, so there isn't a git log.
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
--- a/doc/sphinxext/contributors.py
+++ b/doc/sphinxext/contributors.py
@@ -14,10 +14,8 @@ use::
While the v0.23.1 tag does not exist, that will use the HEAD of the
branch as the end of the revision range.
"""
-from announce import build_components
from docutils import nodes
from docutils.parsers.rst import Directive
-import git
class ContributorsDirective(Directive):
@@ -25,6 +23,7 @@ class ContributorsDirective(Directive):
name = "contributors"
def run(self):
+ return [nodes.paragraph(), nodes.Text("For contributors, please see /usr/share/doc/contributors_list.txt or https://github.com/pandas-dev/pandas/graphs/contributors")]
range_ = self.arguments[0]
if range_.endswith("x..HEAD"):
return [nodes.paragraph(), nodes.bullet_list()]
|