docusaurus/website
Kohhee Peace 5e0d11dbaf
feat(v2): add filename in CodeBlock (#2346)
* feat: add filename in CodeBlock

* Fix code to use Regex to find title from markdown and Update style

* Fix reviewed point
- Delete unnecessary template literals
- Delete unnecessary "important!" from css

* Add title in live codeblock

* Just edit code order

* Add demo for code title

* Add docs about code title in markdown-features.mdx

* Make code title height scalable

* Rename codeBlockWrapper to codeBlockContent

* Make copyButton appear when hovering codeTitle

* Fix docs description about code title
2020-03-26 01:05:18 +08:00
..
docs feat(v2): add filename in CodeBlock (#2346) 2020-03-26 01:05:18 +08:00
src polish(v2): use npm-to-yarn for the npm2yarn remark plugin (#2428) 2020-03-24 08:53:48 +08: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): include appId key for Algolia (#2413) 2020-03-17 12:25:48 +03:00
versioned_sidebars docs(v2): delete alpha.39 2020-03-10 16:41:43 +08:00
docusaurus.config.js polish(v2): add logo for dark mode (#2439) 2020-03-22 21:33:19 +08:00
package.json polish(v2): use npm-to-yarn for the npm2yarn remark plugin (#2428) 2020-03-24 08:53:48 +08:00
README.md feat(v2): disable optimization.removeAvailableModules for webpack performance (#1711) 2019-07-26 22:42:03 +07:00
sidebars.js feat(v2): allow nested sidebar category shorthand syntax (#2444) 2020-03-26 00:59:51 +08:00
versions.json docs(v2): delete alpha.39 2020-03-10 16:41:43 +08: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.