docs: Update GitHub default branch from to 'main' (#1883)

This commit is contained in:
Mike Mwanje 2022-09-17 17:50:31 +03:00 committed by GitHub
parent 9b74744299
commit c98fda7ad6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,14 +7,14 @@ Similar to [GitBook](https://www.gitbook.com), you can deploy files to GitHub Pa
There are three places to populate your docs for your GitHub repository:
- `docs/` folder
- master branch
- main branch
- gh-pages branch
It is recommended that you save your files to the `./docs` subfolder of the `master` branch of your repository. Then select `master branch /docs folder` as your GitHub Pages source in your repository's settings page.
It is recommended that you save your files to the `./docs` subfolder of the `main` branch of your repository. Then select `main branch /docs folder` as your GitHub Pages source in your repository's settings page.
![GitHub Pages](_images/deploy-github-pages.png)
!> You can also save files in the root directory and select `master branch`.
!> You can also save files in the root directory and select `main branch`.
You'll need to place a `.nojekyll` file in the deploy location (such as `/docs` or the gh-pages branch)
## GitLab Pages