Skip to content

Commit ca8b750

Browse files
committed
Put visibility info closer to decision info
1 parent fe4b7b9 commit ca8b750

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

content/github/working-with-github-pages/creating-a-github-pages-site-with-jekyll.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ Before you can use Jekyll to create a {% data variables.product.prodname_pages %
2525

2626
{% data reusables.pages.new-or-existing-repo %}
2727

28-
{% data reusables.pages.private_pages_are_public_warning %}
29-
3028
{% data reusables.repositories.create_new %}
3129
{% data reusables.repositories.owner-drop-down %}
3230
{% data reusables.pages.create-repo-name %}
@@ -36,6 +34,8 @@ Before you can use Jekyll to create a {% data variables.product.prodname_pages %
3634

3735
{% data reusables.pages.must-have-repo-first %}
3836

37+
{% data reusables.pages.private_pages_are_public_warning %}
38+
3939
{% data reusables.command_line.open_the_multi_os_terminal %}
4040
2. If you don't already have a local copy of your repository, navigate to the location where you want to store your site's source files, replacing _PARENT-FOLDER_ with the folder you want to contain the folder for your repository.
4141
```shell

content/github/working-with-github-pages/creating-a-github-pages-site.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ versions:
2020

2121
{% data reusables.pages.new-or-existing-repo %}
2222

23-
{% data reusables.pages.private_pages_are_public_warning %}
24-
2523
{% data reusables.repositories.create_new %}
2624
{% data reusables.repositories.owner-drop-down %}
2725
{% data reusables.pages.create-repo-name %}
@@ -33,6 +31,8 @@ versions:
3331

3432
{% data reusables.pages.must-have-repo-first %}
3533

34+
{% data reusables.pages.private_pages_are_public_warning %}
35+
3636
{% data reusables.pages.navigate-site-repo %}
3737
{% data reusables.pages.decide-publishing-source %}
3838
3. If your chosen publishing source already exists, navigate to the publishing source. If your chosen publishing source doesn't exist, create the publishing source.
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
If your site is an independent project, you can create a new repository to store your site's source code. If your site is associated with an existing project, you can add the source code {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" or currentVersion == "github-ae@latest" %}to that project's repository, in a `/docs` folder on the default branch or on a different branch.{% else %}for your site to a `gh-pages` branch or a `docs` folder on the `master` branch in that project's repository.{% endif %} For example, if you're creating a site to publish documentation for a project that's already on {% data variables.product.product_name %}, you may want to store the source code for the site in the same repository as the project.
1+
If your site is an independent project, you can create a new repository to store your site's source code. In this case, it is best to create a public repository. {% data variables.product.prodname_pages %} is supported for private repositories for paid accounts, but using a public repository makes it easy to remember that the content is published publicly.
2+
3+
If your site is associated with an existing project, you can add the source code {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" or currentVersion == "github-ae@latest" %}to that project's repository, in a `/docs` folder on the default branch or on a different branch.{% else %}for your site to a `gh-pages` branch or a `docs` folder on the `master` branch in that project's repository.{% endif %} For example, if you're creating a site to publish documentation for a project that's already on {% data variables.product.product_name %}, you may want to store the source code for the site in the same repository as the project.
24

35
If you want to create a site in an existing repository, skip to the "[Creating your site](#creating-your-site)" section.
6+

0 commit comments

Comments
 (0)