Credit to Zora for this repo - forked repo.
Thanks for giving a little extra love to our docs site! Below are some basic guidelines to follow to get your PR merged :)
- Fork the repository.
- On your copy of the repo, create a new branch. Be sure that your branch contains the most recent changes from the main branch.
- Make any necessary changes, then commit and push them to your fork.
- Go to the main docs repo in your browser and open a new pull request.
- Title the pull request to describe your contribution, and include a short summary of the changes. If an open issue is associated with your changes, tag the issue by referencing the issue number ( i.e., #123) in the pull request summary.
- If there is a relevant tag like "typo", "bug", or "enhancement", include the tag in the PR.
Set up your fork with the following terminal commands, or an alteration of them to suit your enviornment:
git remote add upstream https://github.com/EnsoFinance/enso-docs.git
git fetch upstream
git pull --rebase upstream main
git checkout -b "<your-name>/my-contribution"
This website is built using Docusaurus 2, a modern static website generator.
yarn install
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.
yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.
GIT_USER=<Your GitHub username> USE_SSH=true 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.