mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 08:19:07 +02:00
* 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 |
||
---|---|---|
.. | ||
src | ||
package.json | ||
README.md |
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