docusaurus/website
Sam Zhou 5ccd24cc1f
feat(v2): Support swizzling TypeScript components (#2671)
* feat(v2): Support swizzling TypeScript components

* Add tsc --noEmit to tsc script in theme-classic

Now everything can pass the type checker! (although still a lot of any)

* Add tsconfig and types.d.ts to website

Improve developer experience.

As an example, I converted NotFound to tsx

* Apply type annotation suggestions

* Do not fallback to `getThemePath` if getTypeScriptThemePath is undefined

* Fix tsc

* Add module declaration for @theme-original/*

* Move babel cli to root package.json
2020-06-25 16:07:30 +02:00
..
docs docs(v2): add plugin redirects production build note (#2983) 2020-06-24 20:13:32 +02:00
src feat(v2): Support swizzling TypeScript components (#2671) 2020-06-25 16:07:30 +02:00
static/img fix(v2): fix aspect ratio for Open Graph image (#2435) 2020-03-22 10:05:23 +08:00
versioned_docs docs(v2): fix typos in plugin-content-pages example (#2967) 2020-06-19 14:17:28 +08:00
versioned_sidebars docs(v2): rename 2.0.0-alpha.57 to 2.0.0-alpha.58 (#2958) 2020-06-18 16:10:52 +02:00
README.md feat(v2): disable optimization.removeAvailableModules for webpack performance (#1711) 2019-07-26 22:42:03 +07:00
babel.config.js feat(v2): Allow configuring babel via babel.config.js (#2903) 2020-06-12 11:03:00 +08:00
docusaurus.config.js add introduction redirect 2020-06-10 17:22:08 +02:00
package.json v2.0.0-alpha.58 2020-06-18 14:02:26 +02:00
sidebars.js feat(v2): expanded sidebar categories by default (#2682) 2020-05-28 13:17:19 +08:00
tsconfig.json feat(v2): Support swizzling TypeScript components (#2671) 2020-06-25 16:07:30 +02:00
versions.json docs(v2): rename 2.0.0-alpha.57 to 2.0.0-alpha.58 (#2958) 2020-06-18 16:10:52 +02:00

Docusaurus 2 Website

Installation

  1. yarn install in the root of the repo (one level above this directory).
  2. In this directory, do yarn start.
  3. A browser window will open up, pointing to the docs.