docusaurus/examples/facebook
2022-01-15 16:33:09 +08:00
..
blog chore: regenerate beta.6 examples + fix regen script (#5484) 2021-09-03 16:54:06 +02:00
docs docs: audit grammar issues (#6203) 2021-12-27 19:34:04 +08:00
src chore(v2): upgrade example projects (#4399) 2021-03-11 17:01:04 +01:00
static chore: regenerate beta.6 examples + fix regen script (#5484) 2021-09-03 16:54:06 +02:00
.eslintrc.js chore(examples): update examples to 2.0.0-beta.14 (#6148) 2021-12-21 17:49:39 +01:00
.gitignore feat(v2): official CodeSandbox support (#3717) 2020-11-16 16:20:16 +01:00
.prettierignore feat(v2): official CodeSandbox support (#3717) 2020-11-16 16:20:16 +01:00
.prettierrc chore: upgrade lint-staged and globs (#6369) 2022-01-15 16:33:09 +08:00
.stackblitzrc feat: docusaurus.new + improved StackBlitz playground (#5235) 2021-07-28 19:27:58 +02:00
.stylelintrc.js feat(v2): official CodeSandbox support (#3717) 2020-11-16 16:20:16 +01:00
babel.config.js feat(v2): official CodeSandbox support (#3717) 2020-11-16 16:20:16 +01: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 refactor(utils): reorganize functions; move authors file resolution to utils (#6229) 2021-12-31 11:55:42 +08: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 fix(v2): examples should use Node 14 by default on CodeSandbox + regen with alpha72 (#4574) 2021-04-07 18:28:06 +02:00
sidebars.js chore: regenerate beta.6 examples + fix regen script (#5484) 2021-09-03 16:54:06 +02:00
yarn.lock chore(examples): update examples to 2.0.0-beta.14 (#6148) 2021-12-21 17:49:39 +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.

Continuous Integration

Some common defaults for linting/formatting have been set for you. If you integrate your project with an open source Continuous Integration system (e.g. Travis CI, CircleCI), you may check for issues using the following command.

$ yarn ci