spf13--cobra/doc
Aleksa Sarai fe5e611709 doc: obey SOURCE_DATE_EPOCH with manpage generation (#735)
Previously if a cobra user didn't specify an explicit .Date header, the
current time would be included in all of the generated man pages each
time they were built. This causes an issue for reproducible builds,
since each re-build of a package that includes the man pages will have
different times listed in the man pages.

To fix this, add support for SOURCE_DATE_EPOCH (which is a standardised
packaging environment variable, designed to be used specifically for
this purpose[1]).

[1]: https://reproducible-builds.org/specs/source-date-epoch/

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2018-10-21 10:11:14 -04:00
..
cmd_test.go Improve tests in doc/ 2017-11-09 07:56:43 +01:00
man_docs.go doc: obey SOURCE_DATE_EPOCH with manpage generation (#735) 2018-10-21 10:11:14 -04:00
man_docs.md Fix #401 (#402) 2017-04-19 14:39:58 +02:00
man_docs_test.go doc: hide hidden parent flags (#686) 2018-04-24 12:15:12 -04:00
man_examples_test.go doc: Fix govet complaints (#408) 2017-04-01 15:45:39 -05:00
md_docs.go doc: hide hidden parent flags (#686) 2018-04-24 12:15:12 -04:00
md_docs.md Fix #401 (#402) 2017-04-19 14:39:58 +02:00
md_docs_test.go doc: hide hidden parent flags (#686) 2018-04-24 12:15:12 -04:00
rest_docs.go doc: hide hidden parent flags (#686) 2018-04-24 12:15:12 -04:00
rest_docs.md doc: add ReST doc generation (#537) 2017-10-07 19:39:47 +02:00
rest_docs_test.go doc: hide hidden parent flags (#686) 2018-04-24 12:15:12 -04:00
util.go Rename IsHelpCommand to IsAdditionalHelpTopicCommand (#398) 2017-03-09 10:37:15 -05:00
yaml_docs.go doc: Ad help flag and cmd when generating docs 2017-05-20 19:28:06 +02:00
yaml_docs.md Fix #401 (#402) 2017-04-19 14:39:58 +02:00
yaml_docs_test.go Improve tests in doc/ 2017-11-09 07:56:43 +01:00