Merge pull request #1757 from hemmecke/master

fix unclear documentation for html_last_updated_fmt
This commit is contained in:
Takayuki SHIMIZUKAWA
2015-12-09 16:54:45 +09:00
2 changed files with 8 additions and 6 deletions

View File

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

View File

@@ -216,9 +216,10 @@ html_static_path = ['%(dot)sstatic']
# directly to the root of the documentation.
#html_extra_path = []
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
#html_last_updated_fmt = '%%b %%d, %%Y'
# If not None, a 'Last updated on:' timestamp is inserted at every page
# bottom, using the given strftime format.
# 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
# typographically correct entities.