docusaurus/packages/docusaurus-init/templates
Joshua Chen 4c246493ef
refactor(init): share common files between templates (#5315)
* Create shared folder & update init logic

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Restore needed links

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Prevent copying symlinks

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Reuse some FB files

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Minor tweak

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Minor refactors

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Fix bootstrap url

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Add path alias

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Handle facebook template more gracefully

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* minor refactor: extract getTypeScriptBaseTemplate

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-08-10 16:26:59 +02:00
..
bootstrap refactor(init): share common files between templates (#5315) 2021-08-10 16:26:59 +02:00
classic refactor(init): share common files between templates (#5315) 2021-08-10 16:26:59 +02:00
classic-typescript refactor(init): share common files between templates (#5315) 2021-08-10 16:26:59 +02:00
facebook refactor(init): share common files between templates (#5315) 2021-08-10 16:26:59 +02:00
shared refactor(init): share common files between templates (#5315) 2021-08-10 16:26:59 +02:00
README.MD fix(v2): bad update notifier dist tag (#3824) 2020-11-26 12:06:52 +01:00

Templates

Official templates provided by Docusaurus. They are designed to be selected when using the npx @docusaurus/init init [name] [template] CLI command.

Guide to Test Templates for Developer

  1. yarn install in the root of the repo (one level above this directory).
  2. Go to any template's directory, example: cd classic && yarn start.