From 09111285d2fc6326ce526f304072812e3ffeb93c Mon Sep 17 00:00:00 2001 From: Koy Zhuang <369491420@qq.com> Date: Wed, 26 Oct 2022 22:36:01 +0800 Subject: [PATCH] Revert "docs: Update GitHub default branch from to 'main' (#1883)" This reverts commit e76cac5f228079ef431e5c6ecb7d64a6eee11a9f. --- docs/deploy.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/deploy.md b/docs/deploy.md index 9ac3ca50fa..4072b404bf 100644 --- a/docs/deploy.md +++ b/docs/deploy.md @@ -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 -- main branch +- master branch - gh-pages branch -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. +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. ![GitHub Pages](_images/deploy-github-pages.png) -!> You can also save files in the root directory and select `main branch`. +!> You can also save files in the root directory and select `master branch`. You'll need to place a `.nojekyll` file in the deploy location (such as `/docs` or the gh-pages branch) ## GitLab Pages