Skip to content

Commit 7564f73

Browse files
authored
Fix bad URL generation
1 parent cf11a25 commit 7564f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/pages/en/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */
1414
const siteConfig = require(`${process.cwd()}/siteConfig.js`);
1515

1616
function docUrl(doc, language) {
17-
return `${siteConfig.baseUrl}docs/${language ? `${language}/` : ""}${doc}`;
17+
return `${siteConfig.baseUrl}${language ? `${language}/` : ""}${doc}`;
1818
}
1919

2020
class Button extends React.Component {

0 commit comments

Comments
 (0)