Skip to content

Commit cdf9fe7

Browse files
authored
g.extension: Fix Markdown compilation for addons (#5141)
Broken after Markdown docs transition. Markdown needs it special addons path just like the others, otherwise it goes to the system directory (and fails without permissions). See #5139.
1 parent 688e625 commit cdf9fe7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/g.extension/g.extension.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2038,6 +2038,7 @@ def install_extension_std_platforms(name, source, url, branch):
20382038
"bin": os.path.join(srcdir, "bin"),
20392039
"docs": os.path.join(srcdir, "docs"),
20402040
"html": os.path.join(srcdir, "docs", "html"),
2041+
"mkdocs": os.path.join(srcdir, "docs", "mkdocs"),
20412042
"rest": os.path.join(srcdir, "docs", "rest"),
20422043
"man": os.path.join(srcdir, "docs", "man"),
20432044
"script": os.path.join(srcdir, "scripts"),
@@ -2053,6 +2054,7 @@ def install_extension_std_platforms(name, source, url, branch):
20532054
"RUN_GISRC=%s" % os.environ["GISRC"],
20542055
"BIN=%s" % dirs["bin"],
20552056
"HTMLDIR=%s" % dirs["html"],
2057+
"MDDIR=%s" % dirs["mkdocs"],
20562058
"RESTDIR=%s" % dirs["rest"],
20572059
"MANBASEDIR=%s" % dirs["man"],
20582060
"SCRIPTDIR=%s" % dirs["script"],

0 commit comments

Comments
 (0)