diff --git a/.travis.yml b/.travis.yml index 47469fa69..2699e6f87 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ branches: install: - pip install mkdocs - pip install mkdocs-material + - pip install mkdocs-git-revision-date-localized-plugin script: - mkdocs build --clean diff --git a/docs/technical-documentation/docs-build.md b/docs/technical-documentation/docs-build.md index cd54ee2df..a68c025de 100644 --- a/docs/technical-documentation/docs-build.md +++ b/docs/technical-documentation/docs-build.md @@ -10,13 +10,17 @@ This documentation is built using [mkdocs](http://www.mkdocs.org/), a static sit ## Prerequisites -You will need to have `mkdocs` installed locally, as well as the mkdocs theme. +You will need to have `mkdocs` installed locally, as well as a required plugin and the MkDocs _Material_ theme. Install `mkdocs`: `sudo -H pip install mkdocs` -Install material theme: +Install plugin to enable display of the last revision date: + +`sudo -H pip install mkdocs-git-revision-date-localized-plugin` + +Install Material theme: `sudo -H pip install mkdocs-material` diff --git a/mkdocs.yml b/mkdocs.yml index 88db415ba..6e7ba3fd9 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -23,6 +23,9 @@ markdown_extensions: permalink: True extra_css: - css/custom.css +plugins: + - search + - git-revision-date-localized extra: font: