Skip to content

Commit

Permalink
docs: fix typo in docs-introduction (#9267)
Browse files Browse the repository at this point in the history
  • Loading branch information
HyeokjinKang authored Aug 31, 2023
1 parent 9868bab commit a145205
Showing 1 changed file with 22 additions and 18 deletions.
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

0 comments on commit a145205

Please sign in to comment.