solenv/bin/mkdocs.sh | 2 +- solenv/bin/mkdocs_portal.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 1edae86c729b66813aa81b531e196f493b766571 Author: Hossein <[email protected]> AuthorDate: Thu Nov 4 09:06:18 2021 +0100 Commit: Ilmari Lauhakangas <[email protected]> CommitDate: Thu Nov 4 10:11:20 2021 +0100 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 <[email protected]> Reviewed-by: Ilmari Lauhakangas <[email protected]> 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
