GitHub Integration¶
This site demonstrates GitHub integration in Material:
- Header shows linking to the repository (set via
repo_url). - Pages can display revision date via the
git-revision-dateplugin. - Configure
edit_urito enable the "Edit this page" link.
Repository Settings¶
Update your configuration in mkdocs.yml:
repo_url: https://github.com/SpCraft/EasyDeploy
repo_name: SpCraft/EasyDeploy
edit_uri: edit/main/src/docs/
Last Updated¶
To surface the last update date on pages, ensure the plugin is enabled:
plugins:
- search
- git-revision-date
Material will show metadata where available.