mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-06 00:51:30 +00:00
docs: add mkdocs-redirects
This plugin makes it possible to keep old urls correct via a redirect to the new location of the relevant pages. Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
fbf3100829
commit
e82ecfb0c3
2 changed files with 12 additions and 0 deletions
|
@ -88,3 +88,14 @@ theme:
|
|||
extra_css:
|
||||
- theme/styles/hedgedoc-custom.css
|
||||
- theme/styles/roboto.css
|
||||
|
||||
plugins:
|
||||
- redirects:
|
||||
redirect_maps:
|
||||
'setup/docker-linuxserver.md': 'setup/community.md'
|
||||
'setup/kubernetes-helm.md': 'setup/community.md'
|
||||
'setup/yunohost.md': 'setup/community.md'
|
||||
'setup/cloudron.md': 'setup/community.md'
|
||||
'setup/arch-linux.md': 'setup/community.md'
|
||||
'setup/pikapods.md': 'setup/community.md'
|
||||
'setup/heroku.md': 'setup/community.md'
|
||||
|
|
|
@ -2,3 +2,4 @@ mkdocs==1.3.0
|
|||
mkdocs-material==8.2.15
|
||||
pymdown-extensions==9.4
|
||||
mdx_truly_sane_lists==1.2
|
||||
mkdocs-redirects==1.0.4
|
||||
|
|
Loading…
Reference in a new issue