Create your own
Copy this template to your own repos and then deploy to GH Pages
- Generate from template
- Deploy with GH Actions and GH Pages
- Update Content
Copy this template to your own repos.
Configure the site by updating _config.yml file:
urlto reflect your own username e.g.
baseurlto be the name of your repo e.g.
/my-repo. If not using a subpath, then use
Follow the Deploy steps of this repo’s docs to set up the GH Pages site.
- Update the config, such as with your own
- Set another theme in
- Add more plugins to
Delete the template’s Markdown pages.
Add your own Markdown pages.
See the Just the Docs docs for instructions on using the theme and extending such as with CSS. Or look-up the docs for whatever theme you choose.
The Just The Docs theme will find files automatically and add them to the navbar for you. So if you are happy with alphabetical menu, then so you don’t have to worry about configuring a navbar in the config.
You can also set a custom ordering with a field.
The homepage is set first already because
nav_order is set to
--- title: Home layout: default nav_order: 1 ---
A second page can be set to
For more details and nesting pages in directories, see Navigation structure in the theme’s docs.