diff --git a/scripts/doc/append-xml-tags.py b/scripts/doc/append-xml-tags.py index cfeedec168b6c764161cba31317cbf61c79b5680..94644cb10d5f5220a31c2663ec428a9b70b7dd5b 100755 --- a/scripts/doc/append-xml-tags.py +++ b/scripts/doc/append-xml-tags.py @@ -16,8 +16,8 @@ import xml.etree.cElementTree as ET import json from print23 import print_ -github_src_url = "https://github.com/ufz/ogs/tree/master" -github_data_url = "https://github.com/ufz/ogs-data/tree/master" +github_src_url = "https://gitlab.opengeosys.org/ogs/ogs/-/tree/master" +github_data_url = "https://gitlab.opengeosys.org/ogs/ogs/-/tree/master/Tests/Data" if len(sys.argv) != 4: print_("Usage:") @@ -122,7 +122,7 @@ for (dirpath, _, filenames) in os.walk(docdir): tagpath_expanded)) fh.write( - "- Go to source code: [→ ufz/ogs/master]({2}/{0}#L{1})\n" + "- Go to source code: [→ ogs/ogs/master]({2}/{0}#L{1})\n" .format(path, line, github_src_url)) else: fh.write("\nNo additional info.\n") @@ -136,7 +136,7 @@ for (dirpath, _, filenames) in os.walk(docdir): for df in sorted(datafiles): pagename = "ogs_ctest_prj__" + df.replace( "/", "__").replace(".", "__") - fh.write(("- \\[[→ ogs-data/master]({1}/{0}) | " \ + fh.write(("- \\[[→ ogs/ogs/master]({1}/{0}) | " \ + "\\ref {2} \"→ doc\"\\] {0}\n") \ .format(df, github_data_url, pagename)) except KeyError: diff --git a/scripts/doc/check-project-params.py b/scripts/doc/check-project-params.py index 54c4b397a491c4945ec72239619b683b2359191b..8282ef1ba4c7db38f5b2ef97b57dc8c18f76f033 100755 --- a/scripts/doc/check-project-params.py +++ b/scripts/doc/check-project-params.py @@ -9,7 +9,7 @@ import re import os.path import json -github_src_url = "https://github.com/ufz/ogs/tree/master" +github_src_url = "https://gitlab.opengeosys.org/ogs/ogs/-/tree/master" def debug(msg):