File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
code_annotations/contrib/sphinx/extensions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -133,17 +133,17 @@ def iter_nodes(self):
133133
134134 if event_trigger_repository :
135135 event_trigger_repository = event_trigger_repository .split (" " )
136- event_section += nodes .paragraph (text = "Triggers " , ids = [f"triggers-{ event_name } " ])
136+ event_section += nodes .paragraph (text = "Triggered by: " , ids = [f"triggers-{ event_name } " ])
137137 triggers_bullet_list = nodes .bullet_list ()
138138 for repository in event_trigger_repository :
139+ search_url = f"https://github.com/search?q=repo:{ repository } +{ event_name } .send_event&type=code"
139140 triggers_bullet_list += nodes .list_item (
140141 "" ,
141142 nodes .paragraph (
142143 "" ,
143- "Event triggered by " ,
144144 nodes .reference (
145145 text = repository ,
146- refuri = f"https://github.com/search?q=repo: { repository } + { event_name } .send_event&type=code" ,
146+ refuri = search_url ,
147147 ),
148148 ),
149149 )
You can’t perform that action at this time.
0 commit comments