View on GitHub

The Least You Need to Know About GitHub Pages

The least you need to know about GitHub Pages is laser-focused on one thing: showing how to get a working informational website up and running as fast as possible using GitHub Pages, using only the GitHub website.

Setting the GitHub Pages master branch to /docs folder

GitHub Pages and Jekyll prefer you to use a directory structure starting not in the root directory but in /docs. Inserting /docs before in a path can get old. GitHub lets you avoid this by establishing it as the base directory for your documentation site.

Choose the Settings tab

Changing the master branch to /docs means you will be able to avoid specifying the /docs folder at the base of every link in the README directory.

Previous Page Next page

Home