docusaurus/packages/docusaurus-theme-bootstrap
Joshua Chen 462b1cf2bc
style(v2): reduce number of ESLint warnings (#4993)
* Initial work

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* More fixes

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Update packages/docusaurus-theme-classic/src/theme/ThemedImage/index.tsx

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>

* Update packages/docusaurus-theme-bootstrap/src/theme/ThemedImage/index.tsx

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>

* Fix

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Replace versionPathPart with function

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Prefer non-null assertions

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Substitute for-of with forEach

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Fill `catch` block with placeholder comment

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Ignore local require

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Revert global require change

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Tighten eslint disable range

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Make eslint ignore examples and more tolerating to templates

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Use reduce to handle doc items sequentially

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Revert "Use reduce to handle doc items sequentially"

This reverts commit c7525d463b.

* Address change requests

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-06-24 18:12:48 +02:00
..
src style(v2): reduce number of ESLint warnings (#4993) 2021-06-24 18:12:48 +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.1 release (#5004) 2021-06-18 16:54:46 +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