Fix GitHub links in commented configuration

Hyperlink GitHub related text roles: iss, pull, disc
This commit is contained in:
pagedown
2022-08-24 13:27:12 +08:00
parent 0e0578ff49
commit c437a36794
3 changed files with 40 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ def find_explicit_targets(text: str) -> Iterator[str]:
def main() -> Dict[str, str]:
refs = {'github_discussions': 'https://github.com/kovidgoyal/kitty/discussions'}
refs = {}
base = os.path.dirname(os.path.abspath(__file__))
for dirpath, dirnames, filenames in os.walk(base):
if 'generated' in dirnames: