better-docs icon indicating copy to clipboard operation
better-docs copied to clipboard

Adding timestamp indicating when better-docs was run

Open philipmjohnson opened this issue 5 years ago • 2 comments

I have better-docs integrated into my CI pipeline and it would be nice to know when it was run over my code.

According to the jsdocs documentation, the timestamp should be automatically inserted into the footer, but this does not seem to be the case for my documentation:

https://radgrad.github.io/radgrad2/

What is the correct way for me to add a timestamp to better-docs generated documentation?

Thank you!

philipmjohnson avatar Nov 02 '20 17:11 philipmjohnson

if you have betterDocs.hideGenerator set to true - it wont be there

wojtek-krysiak avatar Nov 03 '20 06:11 wojtek-krysiak

Thanks so much for the quick response!

I didn't reference hideGenerator anywhere (to my knowledge) so, I explicitly set hideGenerator to false:

https://github.com/radgrad/radgrad2/blob/master/app/jsdoc.json#L26

But still no luck seeing a timestamped footer:

https://radgrad.github.io/radgrad2/

Any advice on my next step?

philipmjohnson avatar Nov 03 '20 19:11 philipmjohnson