Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
abjarna committed Jul 28, 2024
1 parent ffbb4f3 commit 5821103
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sh/build-dev-dirhtml-latexpdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ find _build/html/ -name '*.html' -exec sed -i '' -e 's|href="https://rit.rubik.i
find _build/html/ -name '*.html' -exec sed -i '' -e 's|PL8JH23F|MLN5L94K|g' {} +

# Hafa bara eitt <meta name="viewport"...> tag í öllum HTML skrám
find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .*/d' {} +
find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .* /d' {} +
find _build/html/ -name '*.html' -exec sed -i '' -e 's|<meta charset="utf-8" />|<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />|' {} +

# Breyta <title> á forsíðu, með því að fjarlægja "* &ndash; " (sem er skilgreint í "_templates/layout.html")
Expand Down
2 changes: 1 addition & 1 deletion sh/build-dev-html-latexpdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ find _build/html/ -name '*.html' -exec sed -i '' -e 's|href="https://rit.rubik.i
find _build/html/ -name '*.html' -exec sed -i '' -e 's|PL8JH23F|MLN5L94K|g' {} +

# Hafa bara eitt <meta name="viewport"...> tag í öllum HTML skrám
find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .*/d' {} +
find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .* /d' {} +
find _build/html/ -name '*.html' -exec sed -i '' -e 's|<meta charset="utf-8" />|<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />|' {} +

# Breyta <title> á forsíðu, með því að fjarlægja "* &ndash; " (sem er skilgreint í "_templates/layout.html")
Expand Down
2 changes: 1 addition & 1 deletion sh/build-dev-html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ find _build/html/ -name '*.html' -exec sed -i '' -e 's|href="https://rit.rubik.i
find _build/html/ -name '*.html' -exec sed -i '' -e 's|PL8JH23F|MLN5L94K|g' {} +

# Hafa bara eitt <meta name="viewport"...> tag í öllum HTML skrám
find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .*/d' {} +
find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .* /d' {} +
find _build/html/ -name '*.html' -exec sed -i '' -e 's|<meta charset="utf-8" />|<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />|' {} +

# Breyta <title> á forsíðu, með því að fjarlægja "* &ndash; " (sem er skilgreint í "_templates/layout.html")
Expand Down
2 changes: 1 addition & 1 deletion sh/build-main-dirhtml-latexpdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ make clean
sphinx-build -b dirhtml . _build/html

# Hafa bara eitt <meta name="viewport"...> tag í öllum HTML skrám
find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .*/d' {} +
find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .* /d' {} +
find _build/html/ -name '*.html' -exec sed -i '' -e 's|<meta charset="utf-8" />|<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />|' {} +

# Breyta <title> á forsíðu, með því að fjarlægja "* &ndash; " (sem er skilgreint í "_templates/layout.html")
Expand Down
2 changes: 1 addition & 1 deletion sh/build-main-html-latexpdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ make clean
sphinx-build -b html . _build/html

# Hafa bara eitt <meta name="viewport"...> tag í öllum HTML skrám
find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .*/d' {} +
find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .* /d' {} +
find _build/html/ -name '*.html' -exec sed -i '' -e 's|<meta charset="utf-8" />|<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />|' {} +

# Breyta <title> á forsíðu, með því að fjarlægja "* &ndash; " (sem er skilgreint í "_templates/layout.html")
Expand Down
2 changes: 1 addition & 1 deletion sh/build-main-html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ make clean
sphinx-build -b html . _build/html

# Hafa bara eitt <meta name="viewport"...> tag í öllum HTML skrám
find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .*/d' {} +
find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .* /d' {} +
find _build/html/ -name '*.html' -exec sed -i '' -e 's|<meta charset="utf-8" />|<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />|' {} +

# Breyta <title> á forsíðu, með því að fjarlægja "* &ndash; " (sem er skilgreint í "_templates/layout.html")
Expand Down

0 comments on commit 5821103

Please sign in to comment.