We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd1a41d commit e6018d3Copy full SHA for e6018d3
packages/webdoc-default-template/tmpl/layout.tmpl
@@ -34,7 +34,7 @@ const integrations = JSON.stringify(config.integrations);
34
window.appData = {
35
applicationName: "<?js= config.applicationName ?>",
36
appBar: JSON.parse(`<?js= JSON.stringify(appBar) ?>`),
37
- explorerTree: "<?js= siteRoot + "/explorer/" + (document && document.type === "TutorialDoc" ? "tutorials" : "reference") + ".json" ?>",
+ explorerTree: "<?js= (siteRoot ? "/" + siteRoot : "") + "/explorer/" + (document && document.type === "TutorialDoc" ? "tutorials" : "reference") + ".json" ?>",
38
siteRoot: "<?js= siteRoot ?>",
39
integrations: JSON.parse(`<?js= integrations ?>`),
40
};
0 commit comments