docusaurus/packages/docusaurus-theme-classic
Alexey Pyltsyn 12cea5eefe
refactor(v2): increase content area if blog sidebar is off (#5171)
* refactor(v2): increase content area if blog sidebar is off

* Replace render prop with children to simplicity sake

* Revert to previous layout
2021-07-20 14:11:08 +02:00
..
codeTranslations refactor(v2): Hindi translation for semantic doc sidebar (#5154) 2021-07-13 10:10:29 +02:00
src refactor(v2): increase content area if blog sidebar is off (#5171) 2021-07-20 14:11:08 +02:00
babel.config.js
package.json fix(v2): introduce useCollapsible to fix collapsible animation perf issues (#5116) 2021-07-07 18:50:13 +02:00
README.md
tsconfig.json feat(v2): allow any type of NavbarItem to be passed in a navbar dropdown (#5072) 2021-07-14 18:19:08 +02:00
update-code-translations.js feat(v2): redesign mobile UX: inline TOC + doc sidebar in main menu (#4273) 2021-07-09 16:50:38 +02:00
update-code-translations.test.js feat(v2): auto-generated sidebars, frontmatter-less sites (#4582) 2021-04-15 16:20:11 +02:00

Docusaurus Theme Classic

The classic theme for Docusaurus.

Installation

Add docusaurus/theme-classic to your package:

npm i @docusaurus/theme-classic
# or
yarn add @docusaurus/theme-classic

Modify your docusaurus.config.js:

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

Swizzling components

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

All components used by this theme can be found here