mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-29 13:33:06 +00:00
fix: provide correct paths for build
This commit is contained in:
parent
5fcc13572c
commit
ca623d7d38
|
|
@ -18,7 +18,7 @@ module.exports = function createServerConfig(props) {
|
|||
|
||||
// static site generator webpack plugin
|
||||
const docsLinks = Object.values(docsData).map(data => ({
|
||||
path: `${siteConfig.baseUrl}${data.permalink}`
|
||||
path: `${data.permalink}`
|
||||
}));
|
||||
const paths = [...docsLinks, ...pagesData].map(data => data.path);
|
||||
config.plugin('siteGenerator').use(staticSiteGenerator, [
|
||||
|
|
|
|||
Loading…
Reference in New Issue