Github Pages
This page is intended for individuals who are already familiar with Github and how to make repositories, clone them, push them, etc.
How to serve your static website from Github pages
Create a github repository if one does not already exist.
Get a copy of your remote repository locally if not already done.
Create a directory within your local repository where you'll write your documentation.
You can do this with the command line utility if you've installed it. Within your repository directory run the following command to set up a starter for your documentation within the
docs-srcdirectory.markdown-docs init docs-srcBuild your site to the
docsdirectory.markdown-docs build docs-src docsOr if you prefer you can develop the docs and build them at the same time:
markdown-docs dev --destination docs docs-srcCommit all files and push to Github.
Navigate to your github repository's settings page. Find the option to use github pages and tell it to use the
docsdirectory.Your site will be available in a few seconds at
https://ORG_NAME.github.io/REPO_NAMEwhereORG_NAMEis your username or organization andREPO_NAMEis the repository name on Github.