Commit 974f45cb authored by Anton Midyukov's avatar Anton Midyukov

docs: delete absolute path without 'file://' from index-*.html

parent fa652c49
...@@ -22,7 +22,7 @@ LANG="${GLOBAL_LOCALE:-en_US}" indexhtml-update ...@@ -22,7 +22,7 @@ LANG="${GLOBAL_LOCALE:-en_US}" indexhtml-update
cp -aH "$indexdir" "$dest" cp -aH "$indexdir" "$dest"
# delete links with absolute PATH # delete links with absolute PATH
sed -i '/file:\/\/\//d' "$dest"/indexhtml/index-*.html sed -i -e '/file:\/\/\//d' -e '/href="\//d' "$dest"/indexhtml/index-*.html
mkredir() { mkredir() {
cat >"${1}index.html" <<-EOF cat >"${1}index.html" <<-EOF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment