docs: fix typo in docs-introduction (#9267)

This commit is contained in:
Coupy 2023-08-31 19:28:23 +09:00 committed by GitHub
parent 9868babf75
commit a145205848
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 */
},
// ...
},
],
],
};
```
@ -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
// ...
},
],
],
};
```