Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 22 additions & 18 deletions website/docs/guides/docs/docs-introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,18 @@ Assume that you have the following in your configuration:
module.exports = {
// ...
presets: [
'@docusaurus/preset-classic',
{
docs: {
/* docs plugin options */
[
'@docusaurus/preset-classic',
{
docs: {
/* docs plugin options */
},
blog: {
/* blog plugin options */
},
// ...
},
blog: {
/* blog plugin options */
},
// ...
},
],
],
};
```
Expand All @@ -67,17 +69,19 @@ To enter docs-only mode, change it to like this:
module.exports = {
// ...
presets: [
'@docusaurus/preset-classic',
{
docs: {
[
'@docusaurus/preset-classic',
{
docs: {
// highlight-next-line
routeBasePath: '/', // Serve the docs at the site's root
/* other docs plugin options */
},
// highlight-next-line
routeBasePath: '/', // Serve the docs at the site's root
/* other docs plugin options */
blog: false, // Optional: disable the blog plugin
// ...
},
// highlight-next-line
blog: false, // Optional: disable the blog plugin
// ...
},
],
],
};
```
Expand Down