docusaurus/packages/docusaurus-theme-bootstrap
Sébastien Lorber 295e77cc09
refactor(core): replace useDocusaurusContext().isClient by useIsBrowser() (#5349)
* extract separate useIsClient() hook

* for consistency, rename to `useIsBrowser`

* useless return

* improve doc for BrowserOnly

* update snapshot

* polish
2021-08-12 19:02:29 +02:00
..
src refactor(core): replace useDocusaurusContext().isClient by useIsBrowser() (#5349) 2021-08-12 19:02:29 +02:00
babel.config.js feat(v2): migrate bootstrap components to ts (#3496) 2020-09-29 13:16:39 +02:00
package.json chore(v2): prepare v2.0.0-beta.4 release (#5238) 2021-07-28 22:54:41 +02:00
README.md fix(v2): bootstrap doc sidebar (#2860) 2020-06-05 15:36:36 +08:00
tsconfig.json feat(v2): migrate bootstrap components to ts (#3496) 2020-09-29 13:16:39 +02:00

Docusaurus Theme Bootstrap

The bootstrap theme for Docusaurus.

Installation

Add docusaurus/theme-bootstrap to your package:

npm i @docusaurus/theme-bootstrao
# or
yarn add @docusaurus/theme-bootstrap

Modify your docusaurus.config.js:

module.exports = {
  ...
+ themes: ['@docusaurus/theme-bootstrap'],
  ...
}

Swizzling components

$ npm swizzle @docusaurus/theme-bootstrap [component name]

All components used by this theme can be found here