@@ -75,7 +75,6 @@ def ghissue_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
7575 prb = inliner .problematic (rawtext , rawtext , msg )
7676 return [prb ], [msg ]
7777 app = inliner .document .settings .env .app
78- #app.info('issue %r' % text)
7978 if 'pull' in name .lower ():
8079 category = 'pull'
8180 elif 'issue' in name .lower ():
@@ -105,7 +104,6 @@ def ghuser_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
105104 :param content: The directive content for customization.
106105 """
107106 app = inliner .document .settings .env .app
108- #app.info('user link %r' % text)
109107 ref = 'https://www.github.com/' + text
110108 node = nodes .reference (rawtext , text , refuri = ref , ** options )
111109 return [node ], []
@@ -126,7 +124,6 @@ def ghcommit_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
126124 :param content: The directive content for customization.
127125 """
128126 app = inliner .document .settings .env .app
129- #app.info('user link %r' % text)
130127 try :
131128 base = app .config .github_project_url
132129 if not base :
@@ -146,7 +143,6 @@ def setup(app):
146143
147144 :param app: Sphinx application context.
148145 """
149- app .info ('Initializing GitHub plugin' )
150146 app .add_role ('ghissue' , ghissue_role )
151147 app .add_role ('ghpull' , ghissue_role )
152148 app .add_role ('ghuser' , ghuser_role )
0 commit comments