docusaurus/packages/docusaurus-theme-classic
Sébastien Lorber 295e77cc09
refactor(core): replace useDocusaurusContext().isClient by useIsBrowser() (#5349)
* extract separate useIsClient() hook

* for consistency, rename to `useIsBrowser`

* useless return

* improve doc for BrowserOnly

* update snapshot

* polish
2021-08-12 19:02:29 +02:00
..
codeTranslations feat: add Czech translation for docusaurus-theme-classic (#5314) 2021-08-08 00:07:32 +03:00
src refactor(core): replace useDocusaurusContext().isClient by useIsBrowser() (#5349) 2021-08-12 19:02:29 +02:00
babel.config.js feat(v2): core v2 i18n support + Docusaurus site Crowdin integration (#3325) 2020-11-26 12:16:46 +01:00
package.json chore: upgrade Infima to alpha.30 (#5256) 2021-08-11 10:56:57 +03:00
README.md docs(v2) themes (#1645) 2019-07-26 12:00:40 +07:00
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