Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

template-mkdocs

Setup

  • Create new repository using this as a template

  • In the cloned repository: Settings -> Pages -> Build and deployment:

    • Source: Deploy from a branch
    • Branch: gh-pages
    • Folder: / (root)
  • Set up mkdocs locally

Using mamba:

mamba create -n mkdocs -c conda-forge mkdocs-material
mamba activate mkdocs
.
├── docs # all contents for pages here
│   ├── assets
│   │   └── usyd-logo.png
│   ├── extra.css # usyd styling
│   └── index.md # home page
├── .github # GH action to auto publish when pushed to main
│   └── workflows
│       └── mkdocs_deploy.yml
├── mkdocs.yml # config for extensions, contents/navbar, etc.
└── README.md

Usage

To preview changes in your browser:

# mamba activate mkdocs
mkdocs serve

All pushes to main will render the content and publish to github pages automatically.

About

mkdocs template with USYD styling and automatic publishing to pages

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors