fix unclear documentation for html_last_updated_fmt

This commit is contained in:
Ralf Hemmecke 2015-03-05 12:27:40 +01:00
parent 04e3e761d7
commit 2c58eef1d1
2 changed files with 8 additions and 6 deletions

View File

@ -624,9 +624,10 @@ that use Sphinx's HTMLWriter class.
.. confval:: html_last_updated_fmt .. confval:: html_last_updated_fmt
If this is not the empty string, a 'Last updated on:' timestamp is inserted If this is not None, a 'Last updated on:' timestamp is inserted
at every page bottom, using the given :func:`strftime` format. Default is at every page bottom, using the given :func:`strftime` format.
``'%b %d, %Y'`` (or a locale-dependent equivalent). The empty string is equivalent to '%b %d, %Y' (or a
locale-dependent equivalent).
.. confval:: html_use_smartypants .. confval:: html_use_smartypants

View File

@ -213,9 +213,10 @@ html_static_path = ['%(dot)sstatic']
# directly to the root of the documentation. # directly to the root of the documentation.
#html_extra_path = [] #html_extra_path = []
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # If not None, a 'Last updated on:' timestamp is inserted at every page
# using the given strftime format. # bottom, using the given strftime format.
#html_last_updated_fmt = '%%b %%d, %%Y' # The empty string is equivalent to '%%b %%d, %%Y'.
#html_last_updated_fmt = None
# If true, SmartyPants will be used to convert quotes and dashes to # If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities. # typographically correct entities.