mirror of
https://github.com/facebook/sapling.git
synced 2024-10-04 13:57:13 +03:00
68cde3c87d
Summary: With dotgit mode, users should be able to use the unmodified `ghstack` just fine. There is no need for first party support for this 3rd party tool. `ghstack` runs low-level Git commands that will not work if we migrate the `.sl/` Git support to not use the Git on-disk format (for the benefit of laziness or repack-free). There are already 3 different ways to `pr submit`, `ghstack` seems just further adding confusion. Reviewed By: sggutier Differential Revision: D55970086 fbshipit-source-id: 85616f7f57b8bcebec0c83e326aecd4aaee090a7 |
||
---|---|---|
.. | ||
docs | ||
fb | ||
scripts | ||
src | ||
static | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
.stylelintrc.js | ||
babel.config.js | ||
constants.js | ||
docusaurus.config.js | ||
elements.tsx | ||
package.json | ||
README.md | ||
sidebars.js | ||
tsconfig.json | ||
yarn.lock |
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