-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(v2): bootstrap doc sidebar (#2860)
* fix(v2): doc sidebar * chore(v2): prettier * fix(v2): docs navbar path * fix(v2): fix error about activepath * chore(v2): prettier * feat(v2): change active color * feat(v2): update to new docs cpmfog * feat(v2): Add homepagepath
- Loading branch information
Showing
3 changed files
with
81 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Docusaurus Theme Bootstrap | ||
|
||
The bootstrap theme for Docusaurus. | ||
|
||
## Installation | ||
|
||
Add `docusaurus/theme-bootstrap` to your package: | ||
|
||
```bash | ||
npm i @docusaurus/theme-bootstrao | ||
# or | ||
yarn add @docusaurus/theme-bootstrap | ||
``` | ||
|
||
Modify your `docusaurus.config.js`: | ||
|
||
```diff | ||
module.exports = { | ||
... | ||
+ themes: ['@docusaurus/theme-bootstrap'], | ||
... | ||
} | ||
``` | ||
|
||
## Swizzling components | ||
|
||
```shell | ||
$ npm swizzle @docusaurus/theme-bootstrap [component name] | ||
``` | ||
|
||
All components used by this theme can be found [here](https://github.com/facebook/docusaurus/tree/master/packages/docusaurus-theme-bootstrap/src/theme) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters