mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Adding missing component pages
This commit is contained in:
parent
7f79c61bb9
commit
22743055fe
17 changed files with 73 additions and 50 deletions
|
|
@ -37,6 +37,16 @@ URL_REMAPS = {
|
|||
"Howto/Starting/Adding-Command-Tutorial": "Adding-Commands",
|
||||
"Starting/Adding-Command-Tutorial": "Adding-Commands",
|
||||
"Adding-Command-Tutorial": "Adding-Commands",
|
||||
"CmdSet": "Command-Sets",
|
||||
"Spawner": "Spawner-and-Prototypes",
|
||||
"issue": "github:issue",
|
||||
"issues": "github:issue",
|
||||
"bug": "github:issue",
|
||||
"bug-report": "github:issue",
|
||||
"Components/Components-Overview": "Component-Overview",
|
||||
"Components-Overview": "Component-Overview",
|
||||
"Concepts/Concepts-Overview": "Concept-Overview",
|
||||
"Concepts-Overview": "Concept-Overview",
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -95,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)
|
||||
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)
|
||||
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