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 94ddb7b commit 906d667Copy full SHA for 906d667
clean-wiki.sh
@@ -1,11 +1,11 @@
1
# We dont want relative links or header 1 from the wiki
2
3
-# Move headers to +1
+# Move headers to +1 depth
4
find ./docs/wiki -type f -exec sed -i 's/^#/##/g' {} ';'
5
6
# Links formatted like (Nice link)[link]
7
find ./docs/wiki -type f -exec sed -i 's/\)\[(?!http)(([^\]]+))\]/\)\[/search\.html\?q=\1\]/g' {} ';'
8
9
-
10
# Links formatted like [[pagename]]
11
find ./docs/wiki -type f -exec sed -i 's/\[\[([^\]]+)\]\]/\(\1\)\[/search\.html\?q=\1\]/g' {} ';'
+
0 commit comments