docusaurus/examples/classic-typescript
Alex Nicholls 68a55f0d11
fix(create): update broken SVG paths in templates (#6762)
* fix: Update broken URL in typescript template example

* fix SVG images; improve a11y

* format

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-02-27 07:44:50 +08:00
..
blog chore: regenerate beta.6 examples + fix regen script (#5484) 2021-09-03 16:54:06 +02:00
docs chore: update examples for beta.15 (#6486) 2022-01-27 15:06:10 +01:00
src fix(create): update broken SVG paths in templates (#6762) 2022-02-27 07:44:50 +08:00
static chore: regenerate beta.6 examples + fix regen script (#5484) 2021-09-03 16:54:06 +02:00
.gitignore chore: regenerate beta.6 examples + fix regen script (#5484) 2021-09-03 16:54:06 +02:00
.stackblitzrc chore: update examples for beta.15 (#6486) 2022-01-27 15:06:10 +01:00
babel.config.js chore: regenerate beta.6 examples + fix regen script (#5484) 2021-09-03 16:54:06 +02:00
docusaurus.config.js chore(examples): update examples to 2.0.0-beta.14 (#6148) 2021-12-21 17:49:39 +01:00
package.json chore: update examples for beta.15 (#6486) 2022-01-27 15:06:10 +01:00
README.md chore(examples): update examples to 2.0.0-beta.14 (#6148) 2021-12-21 17:49:39 +01:00
sandbox.config.json chore: update examples for beta.15 (#6486) 2022-01-27 15:06:10 +01:00
sidebars.js chore: regenerate beta.7 examples (#5720) 2021-10-16 09:25:24 +03:00
tsconfig.json chore: fix gen script to support TS template (#5722) 2021-10-20 12:45:06 +02:00
yarn.lock chore: update examples for beta.15 (#6486) 2022-01-27 15:06:10 +01:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true yarn deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.