A DocFX plugin that adds a last modified date at the end of each conceptual articles.
- Adds last commit/modified date to each articles
- Shows last commit message at the end of each articles
- Git for the target documentation
- This does not require the host to install the git command, only version tracking for the project
You are a mad man, but that's okay; the plugin will fallback to last modified date on the local machine when Git is not detected.
- Download the binaries from the AppVeyor artifacts linked above (or compile yourself).
- Create a new folder
last-modified
under your DocFX template folder. - Create a new folder called
plugins
underlast-modified
. - Drop the compiled binaries in.
- In your
docfx.json
file, modify your template section like so:
"template": [
"default",
"_template/last-modified"
],
- Add the post-processor plugin like so:
"postProcessors": ["LastModifiedPostProcessor"]
- Build the documentation, and it should work now!
This plugin is currently being used under Discord.Net Documentation.
This project is licensed under MIT; read LICENSE
for more details.