docusaurus/packages/docusaurus-theme-bootstrap
Sébastien Lorber f6b1c85b01
fix(v2): fix docs homepage permalink issues (#2905)
* better fixes for docs homepage

* fix tests

* create special route for docs homepage + cleanup existing code

* no need to create multiple docs parent paths

* useful comment

* add test for slug + doc home usage at the same time error

* remove confusing variable name

* fix tests by using same suffix as before for docs base metadata path

* metadata: use homePageId correctly for nested docs: the full docId (including /) should be used to compare against homePageId

* add folder/testNested test doc

* refactor a bit processMetadata, the home should be handled correctly for all versions

* Workaround to fix issue when parent layout route (DocPage) has same path as the child route (DocItem): see https://github.com/facebook/docusaurus/issues/2917

* revert homePageId

* remove test doc

* remove test doc

* add useful comment
2020-06-17 14:54:08 +02:00
..
src fix(v2): fix docs homepage permalink issues (#2905) 2020-06-17 14:54:08 +02:00
package.json v2.0.0-alpha.56 2020-05-27 20:18:28 +03:00
README.md fix(v2): bootstrap doc sidebar (#2860) 2020-06-05 15:36:36 +08: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