feat: last updated time in docs (#913)

* Adding last updated time for docs

* Making file path general and other suggested changes

* Checking if time returned is null due to absence of git or some other issue

* Adding option to enable/disable update time feature and test-doc

* Adding simple unit tests for getGitUpdateTime()

* nits & rewrote failing test

* consistent test naming

* Adding optional updateEnableTime in documentation

* package-lock & yarn.lock
This commit is contained in:
Shubham Bansal 2018-08-29 18:45:18 +05:30 committed by Endilie Yacop Sucipto
parent 5542ace288
commit 1a572757f1
10 changed files with 170 additions and 14 deletions

View file

@ -69,6 +69,7 @@ const siteConfig = {
scrollToTopOptions: {
zIndex: 100,
},
enableUpdateTime: true,
};
module.exports = siteConfig;