This sets up the simple themed docs for a small project.
Actually this site is using the theme.
Installation
We are using the dotnet cli
support for templates, so you will need to install .NET 5
(or .NET Core 3.1
)
nuget Template
Add our nuget source
dotnet nuget add source https://nuget.pkg.github.com/dbones-labs/index.json -n gh-dbones-labs -u YOUR_USER_NAME -p GH_TOKEN [--store-password-in-clear-text]
Install the template
dotnet new -i DBones.Template.Docs.Simple --nuget-source gh-dbones-labs
Docs Branch
this is one possible way
- Add a branch called
docs
- Add the template to the
docs
branch
dotnet new simple-doc --organisation-name "dbones-labs" --project-name "template-docs-simple"
- update the content
Github
Pages
- Settings > Github Pages
- Set the Github pages to
docs