mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-09 15:17:23 +02:00
* 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
31 lines
600 B
Markdown
31 lines
600 B
Markdown
# 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)
|