docusaurus/packages/docusaurus-theme-classic
Joshua Chen 7613ecb9ea
refactor: use TS project references instead of running tsc multiple times (#7437)
* refactor: use TS project references instead of running tsc multiple times

* deduplicate

* dedup

* eliminate --project

* add swc config

* add target
2022-05-17 15:21:44 +08:00
..
src chore: enable import/order rule (#7418) 2022-05-14 23:39:50 +08:00
.npmignore refactor: use TS project references instead of running tsc multiple times (#7437) 2022-05-17 15:21:44 +08:00
babel.config.js
package.json chore: upgrade dependencies (#7436) 2022-05-17 13:11:20 +08:00
README.md
tsconfig.json refactor: use TS project references instead of running tsc multiple times (#7437) 2022-05-17 15:21:44 +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