Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displaying the repository in Github Pages #65

Open
yookoala opened this issue May 14, 2019 · 0 comments
Open

Displaying the repository in Github Pages #65

yookoala opened this issue May 14, 2019 · 0 comments

Comments

@yookoala
Copy link

I suggest to config GitHub pages to host the master branch directly. That way we can directly read the site content on diveintomark.github.io/diveintopython3 without cloning.

The setting is under "Settings" > "GitHub Pages":

Default source settings for repositories without the username naming scheme

The default settings for publishing your site's source files depend on your site type and the branches you have in your site repository.

If your site repository doesn't have a master or gh-pages branch, your GitHub Pages publishing source is set to None and your site is not published.

https://help.github.com/assets/images/help/pages/none-source-setting.png

After you've created either a master or gh-pages branch, you can set one as your publishing source so that your site will be published.

If you fork or upload your site repository with only a master or gh-pages branch, your site's source setting will automatically be enabled for that branch.

The result would look like this:
https://yookoala.github.io/diveintopython3/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant