<Repo Name> by Randall Rowland is licensed under CC BY-NC 4.0
A repository template copies all of its settings and content over to newly created repositories in that project. Utilizing this feature allows users to manage settings centrally & ensure that your repositories are always correctly configured. There is no need to define certain settings all over again. It includes branches and file (README, LICENSE, .gitignore, and .github/workflows) in the template repository every new repository will automatically have. The feature will mirror the content from the template to the new repositories.
After you've cloned the new repo, go into Settings and on the left handside, look for Pages. Make your settings look like the following:
Deploy from a branch
gh-pages 📁/(root)
This repository includes the following files
-
- This workflow watches the master branch and every time a commit is made, it uses the mkdocs.yml file and the
docs/folder to build mkdocs static website and deploy the repos documentation to thegh-pagesbranch automatically. The documentation can then be viewd athttps://<username>.github.io/<repo-name>/. For example, this repo's documentation is located at https://rowland007.github.io/template-repository/.
- This workflow watches the master branch and every time a commit is made, it uses the mkdocs.yml file and the
This repository initializes two branches, master and develop.
✅ Spend less time repeating code
✅ Focus on building new things
✅ Less manual configuration
✅ Sharing boilerplate code across codebase
✅ Every template has a new url endpoint called /generate