We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb838ab commit 288d38eCopy full SHA for 288d38e
doc/sphinxext/contributors.py
@@ -26,6 +26,18 @@ class ContributorsDirective(Directive):
26
name = "contributors"
27
28
def run(self):
29
+ """
30
+ Execute the contributors directive.
31
+
32
+ This method processes the provided revision range and generates the corresponding
33
+ list of contributors.
34
35
+ Returns
36
+ -------
37
+ list
38
+ A list of nodes representing the message indicating the number of contributors
39
+ and commits, and a bullet list containing each contributor individually.
40
41
range_ = self.arguments[0]
42
if range_.endswith("x..HEAD"):
43
return [nodes.paragraph(), nodes.bullet_list()]
0 commit comments