docusaurus/lib/server
Shubham Bansal 1a572757f1 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
2018-08-29 21:15:18 +08:00
..
__tests__ Fix correct linking when setting defaultVersionShown to non-latest version (#894) 2018-08-10 23:49:52 -07:00
blog.js Refactor(server): share logic between server.js & generate.js (#856) 2018-07-24 13:37:52 +07:00
docs.js feat: last updated time in docs (#913) 2018-08-29 21:15:18 +08:00
env.js Fix correct linking when setting defaultVersionShown to non-latest version (#894) 2018-08-10 23:49:52 -07:00
feed.js fix: truncate blogpost properly with truncate-html (#880) 2018-08-02 15:16:26 +08:00
generate.js fix: copy static image as it is if image compression fail (#887) 2018-08-04 22:40:36 +08:00
metadataUtils.js Refactor + add more tests (Part 1) (#847) 2018-07-13 11:31:37 -07:00
readCategories.js Revert "Add ability to specify sub categories in sidebar.json (#891)" 2018-08-06 18:58:54 -07:00
readMetadata.js Fix: conflicting strings issue in translations (#917) 2018-08-29 00:04:02 +08:00
renderUtils.js ESLintify Part 3 (#846) 2018-07-11 18:21:31 +08:00
routing.js Refactor + add more tests (Part 1) (#847) 2018-07-13 11:31:37 -07:00
server.js fix: strict css/main.css routing (#904) 2018-08-22 16:38:44 +08:00
sitemap.js fix: add baseUrl to sitemap URLs (#902) 2018-08-12 18:49:45 +07:00
translate-plugin.js ESLintify Part 3 (#846) 2018-07-11 18:21:31 +08:00
translate.js ESLintify Part 3 (#846) 2018-07-11 18:21:31 +08:00
translation.js ESLintify Part 3 (#846) 2018-07-11 18:21:31 +08:00
utils.js Fix Jest tests that fail on Windows (#896) 2018-08-10 22:21:52 +07:00
versionFallback.js ESLintify Part 3 (#846) 2018-07-11 18:21:31 +08:00