docusaurus/packages/docusaurus-theme-classic
Joshua Chen cb03764ce5
refactor(theme): extract plumbing code of BTT button into theme-common (#7021)
* refactor(theme): extract plumbing code of BTT button into theme-common

* oops
2022-03-26 21:05:48 +08:00
..
src refactor(theme): extract plumbing code of BTT button into theme-common (#7021) 2022-03-26 21:05:48 +08:00
.npmignore misc: convert all internal scripts to ESM (#6286) 2022-01-08 12:59:28 +08:00
babel.config.js refactor: remove Babel plugins that are included in preset-env (#6614) 2022-02-05 16:55:40 +08:00
package.json chore: prepare v2.0.0-beta.18 release (#7001) 2022-03-25 16:16:38 +01:00
README.md docs: audit grammar issues (#6203) 2021-12-27 19:34:04 +08:00
tsconfig.json refactor: enable a few TS flags (#6852) 2022-03-06 13:09:10 +08: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