diff --git a/mkdocs.yml b/mkdocs.yml index 7c6c3595b..0c4946db7 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -276,8 +276,8 @@ plugins: 'firststeps-rspamd_ui.md': 'post_installation/firststeps-rspamd_ui.en.md' 'firststeps-snat.md': 'post_installation/firststeps-snat.en.md' 'firststeps-sync_jobs_migration.md': 'post_installation/firststeps-sync_jobs_migration.en.md' - 'models/model-acl.md': 'models/model-acl.en.md' - 'models/model-passwd.md': 'models/model-passwd.en.md' + 'model-acl.md': 'models/model-acl.en.md' + 'model-passwd.md': 'models/model-passwd.en.md' 'model-sender_rcv.md': 'models/model-sender_rcv.en.md' 'debug.md': 'troubleshooting/debug.en.md' 'debug-admin_login_sogo.md': 'troubleshooting/debug-admin_login_sogo.en.md' diff --git a/script.sh b/script.sh index 4e08622c7..45b4c9236 100644 --- a/script.sh +++ b/script.sh @@ -1,5 +1,5 @@ #/bin/bash -find ./site/ -maxdepth 2 -mindepth 2 -type f -name 'index.html' -not -path './site/de/*' -not -path './site/en/*' | while read f; do - echo "Fixing redirect ''$f' ..." +find ./site/ -maxdepth 3 -mindepth 2 -type f -name 'index.html' -not -path './site/de/*' -not -path './site/en/*' | while read f; do + echo "Fixing redirect ''$f'..." sed -i -E 's/\.en\/"/\/"/' $f done