docusaurus/packages/docusaurus-theme-classic
Sébastien Lorber 4ab5a93262
chore: backport retro compatible commits for the Docusaurus v2.4.2 release (#9324)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: Ori Shalom <ori-shalom@users.noreply.github.com>
Co-authored-by: Mikey O'Toole <mikey@homotechsual.dev>
Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>
fix flaky screenshots, add html data-has-hydrated attribute (#9256)
fix(theme-common): ThemedComponent should display something when JS is disabled (#9243)
fix(theme): canonical url should be not change after hydration if url accessed with/without trailing slash (#9130)
fix(theme): only set classname on ul elements if they have an existing class (#9099)
fix(content-docs): sidebar generator should return customProps for doc items (#9107)
2023-09-20 17:29:41 +02:00
..
src chore: backport retro compatible commits for the Docusaurus v2.4.2 release (#9324) 2023-09-20 17:29:41 +02:00
.npmignore refactor(theme-classic): migrate to tsc for build (#7447) 2022-05-18 20:08:09 +08:00
README.md
package.json chore: backport retro compatible commits for the Docusaurus v2.4.1 release (#8979) 2023-05-15 15:41:07 +02:00
tsconfig.client.json refactor(theme-classic): migrate to tsc for build (#7447) 2022-05-18 20:08:09 +08:00
tsconfig.json chore: upgrade to TS 4.7, compile with NodeNext (#7586) 2022-06-15 19:15:11 +02:00

README.md

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