Fix all failing links and warnings
This commit is contained in:
parent
22743055fe
commit
09c602dd69
24 changed files with 102 additions and 97 deletions
|
|
@ -105,9 +105,9 @@ def create_toctree():
|
|||
|
||||
|
||||
# normal reference-links [txt](urls)
|
||||
ref_regex = re.compile(r"\[(?P<txt>[\w -\[\]]+?)\]\((?P<url>.+?)\)", re.I + re.S + re.U + re.M)
|
||||
ref_regex = re.compile(r"\[(?P<txt>[\w -\[\]\`]+?)\]\((?P<url>.+?)\)", re.I + re.S + re.U + re.M)
|
||||
# in document references
|
||||
ref_doc_regex = re.compile(r"\[(?P<txt>[\w -]+?)\]:\s+?(?P<url>.+?)(?=$|\n)", re.I + re.S + re.U + re.M)
|
||||
ref_doc_regex = re.compile(r"\[(?P<txt>[\w -\`]+?)\]:\s+?(?P<url>.+?)(?=$|\n)", re.I + re.S + re.U + re.M)
|
||||
|
||||
def _sub(match):
|
||||
# inline reference links
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue