We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 372e561 commit d2844a0Copy full SHA for d2844a0
.github/workflows/fix_redirects.sh
@@ -1,7 +1,5 @@
1
#/bin/bash
2
-cd ../../ # go in docsdir
3
-ls -lah
4
-find ./site/ -maxdepth 2 -mindepth 2 -type f -name 'index.html' -not -path './site/de/*' -not -path './site/en/*' | while read f; do
+find ../site/ -maxdepth 2 -mindepth 2 -type f -name 'index.html' -not -path '../site/de/*' -not -path '../site/en/*' | while read f; do
5
echo "Fixing redirect '$f'..."
6
sed -i -E 's/\.en\/"/\/"/' $f
7
done
0 commit comments