Called after parsing title and target text, and creating the reference node (given in *refnode*). This method can alter the reference node and must return a new (or the same) ``(title, target)`` tuple.
(
self,
env: BuildEnvironment,
refnode: Element,
has_explicit_title: bool,
title: str,
target: str,
)
| 150 | # methods that can be overwritten |
| 151 | |
| 152 | def process_link( |
| 153 | self, |
| 154 | env: BuildEnvironment, |
| 155 | refnode: Element, |
| 156 | has_explicit_title: bool, |
| 157 | title: str, |
| 158 | target: str, |
| 159 | ) -> tuple[str, str]: |
| 160 | """Called after parsing title and target text, and creating the |
| 161 | reference node (given in *refnode*). This method can alter the |
| 162 | reference node and must return a new (or the same) ``(title, target)`` |
| 163 | tuple. |
| 164 | """ |
| 165 | return title, ws_re.sub(' ', target) |
| 166 | |
| 167 | def result_nodes( |
| 168 | self, |
no outgoing calls
no test coverage detected