diff --git a/mkdocs.yml b/mkdocs.yml index 9135d261eb22555c4885b4ef33349b5301860248..39b12f55d1c28785712e3ffce6593a44606d65b8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,7 +3,7 @@ theme_dir: 'material' docs_dir: docs.it4i # Copyright -copyright: Copyright (c) 2016 IT4Innovations +copyright: Copyright (c) 2016 IT4Innovations__VERSION__ pages: - Home: index.md diff --git a/ver.sh b/ver.sh new file mode 100755 index 0000000000000000000000000000000000000000..06814384e28e510faaea66f421196b934c97b3fd --- /dev/null +++ b/ver.sh @@ -0,0 +1,3 @@ +#!/bin/bash +VER=$(git log --pretty=format:'%h / %an / %ai' -n 1) +sed "s,__VERSION__,\<\/BR\>$VER," mkdocs.yml -i