summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorHossein <hossein@libreoffice.org>2021-11-04 09:06:18 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-11-04 10:11:20 +0100
commit1edae86c729b66813aa81b531e196f493b766571 (patch)
tree37fb5c2447702c41afc494b60657295fc7738f3f /solenv
parent41b99644e8913dd4797775f4931382e93fa12a00 (diff)
Change git.freedesktop.org -> git.libreoffice.org
Replace git.freedesktop.org with git.libreoffice.org in the docs gernerating scripts. The output will be visible at the https://docs.libreoffice.org or the local docs folder. This completes the "Use LO repo for mkdocs git link" patch e62c4241093409583c913165ddc1e4c300c6218c Change-Id: Id38d86821cd1c4edb16edd760087c8361e221de3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124674 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'solenv')
-rwxr-xr-xsolenv/bin/mkdocs.sh2
-rwxr-xr-xsolenv/bin/mkdocs_portal.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/solenv/bin/mkdocs.sh b/solenv/bin/mkdocs.sh
index b339acbc3cff..b61d53a29c06 100755
--- a/solenv/bin/mkdocs.sh
+++ b/solenv/bin/mkdocs.sh
@@ -75,7 +75,7 @@ function proc_text {
# Headings: == bleh ==
# Paragraphs: \n\n
sed -re ' s/\[\[([-_a-zA-Z0-9]+)\]\]/<a href="\1.html">\1<\/a>/g' - \
- | sed -re ' s/\[git:([^]]+)\]/<a href="https:\/\/git.freedesktop.org\/core\/+\/refs\/heads\/master\/\1">\1<\/a>/g' \
+ | sed -re ' s/\[git:([^]]+)\]/<a href="https:\/\/git.libreoffice.org\/core\/+\/refs\/heads\/master\/\1">\1<\/a>/g' \
| sed -re ' s/\[([^]]+)\]/<a href="\1">\1<\/a>/g' \
| sed -re ' s/====([^=]+)====/<h4>\1<\/h4>/g' \
| sed -re ' s/===([^=]+)===/<h3>\1<\/h3>/g' \
diff --git a/solenv/bin/mkdocs_portal.sh b/solenv/bin/mkdocs_portal.sh
index 6c3dc8ae3a9c..8fa120a77286 100755
--- a/solenv/bin/mkdocs_portal.sh
+++ b/solenv/bin/mkdocs_portal.sh
@@ -80,7 +80,7 @@ function proc_text
# Headings: == bleh ==
# Paragraphs: \n\n
sed -re ' s/\[\[([-_a-zA-Z0-9]+)\]\]/<a href="\1.html">\1<\/a>/g' - \
- | sed -re ' s/\[git:([^]]+)\]/<a href="https:\/\/git.freedesktop.org\/core\/+\/refs\/heads\/master\/\1">\1<\/a>/g' \
+ | sed -re ' s/\[git:([^]]+)\]/<a href="https:\/\/git.libreoffice.org\/core\/+\/refs\/heads\/master\/\1">\1<\/a>/g' \
| sed -re ' s/\[([^]]+)\]/<a href="\1">\1<\/a>/g' \
| sed -re ' s/====([^=]+)====/<h4>\1<\/h4>/g' \
| sed -re ' s/===([^=]+)===/<h3>\1<\/h3>/g' \
@@ -90,7 +90,7 @@ function proc_text
}
function proc_text_markdown {
- sed -re ' s/\[git:([^]]+)\]/<a href="https:\/\/git.freedesktop.org\/core\/+\/refs\/heads\/master\/\1">\1<\/a>/g'
+ sed -re ' s/\[git:([^]]+)\]/<a href="https:\/\/git.libreoffice.org\/core\/+\/refs\/heads\/master\/\1">\1<\/a>/g'
}
# generate entry page