docs: use the path config option rather than symlinks
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
e9b952a882
commit
aff527d34d
@ -1,12 +0,0 @@
|
|||||||
module.exports = function (context, options) {
|
|
||||||
return {
|
|
||||||
name: "custom-docusaurus-plugin",
|
|
||||||
configureWebpack(config, isServer, utils) {
|
|
||||||
return {
|
|
||||||
resolve: {
|
|
||||||
symlinks: false
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
};
|
|
||||||
};
|
|
@ -47,6 +47,7 @@ module.exports = {
|
|||||||
"@docusaurus/preset-classic",
|
"@docusaurus/preset-classic",
|
||||||
{
|
{
|
||||||
docs: {
|
docs: {
|
||||||
|
path: "../docs",
|
||||||
sidebarPath: require.resolve("./sidebars.js"),
|
sidebarPath: require.resolve("./sidebars.js"),
|
||||||
editUrl: "https://github.com/dagger/dagger/blob/main",
|
editUrl: "https://github.com/dagger/dagger/blob/main",
|
||||||
routeBasePath: "/",
|
routeBasePath: "/",
|
||||||
@ -57,8 +58,5 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: ["docusaurus-plugin-sass"],
|
||||||
'docusaurus-plugin-sass',
|
|
||||||
path.resolve(__dirname, "./custom_plugins")
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user