docs site: rewrite directory-style links to their landing pages
A MkDocs hook turns links like [incidents/](incidents/) — which Gitea renders as a directory listing but a static site would resolve against the page URL — into links to the generated landing page for that directory.
This commit is contained in:
1 parent
2d3291d493
commit
387269e245
3 files changed
+44
No files matched your search
@@ -34,6 +34,7 @@ tar cf - \
|
||||
--exclude='.site-build' \
|
||||
--exclude='.venv-docs' \
|
||||
--exclude='*.sh' \
|
||||
--exclude='*.py' \
|
||||
--exclude='publishing/webhook-receiver.py' \
|
||||
--exclude='publishing/webhook-receiver.service' \
|
||||
--exclude='mkdocs.yml' \
|
||||
|
||||
Reference in new issue
Block a user