@@ -75,7 +75,6 @@ def ghissue_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
75
75
prb = inliner .problematic (rawtext , rawtext , msg )
76
76
return [prb ], [msg ]
77
77
app = inliner .document .settings .env .app
78
- #app.info('issue %r' % text)
79
78
if 'pull' in name .lower ():
80
79
category = 'pull'
81
80
elif 'issue' in name .lower ():
@@ -105,7 +104,6 @@ def ghuser_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
105
104
:param content: The directive content for customization.
106
105
"""
107
106
app = inliner .document .settings .env .app
108
- #app.info('user link %r' % text)
109
107
ref = 'https://www.github.com/' + text
110
108
node = nodes .reference (rawtext , text , refuri = ref , ** options )
111
109
return [node ], []
@@ -126,7 +124,6 @@ def ghcommit_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
126
124
:param content: The directive content for customization.
127
125
"""
128
126
app = inliner .document .settings .env .app
129
- #app.info('user link %r' % text)
130
127
try :
131
128
base = app .config .github_project_url
132
129
if not base :
@@ -146,7 +143,6 @@ def setup(app):
146
143
147
144
:param app: Sphinx application context.
148
145
"""
149
- app .info ('Initializing GitHub plugin' )
150
146
app .add_role ('ghissue' , ghissue_role )
151
147
app .add_role ('ghpull' , ghissue_role )
152
148
app .add_role ('ghuser' , ghuser_role )
0 commit comments