Fix #2022: html_extra_path also copies dotfiles and refers exclude_patterns

This commit is contained in:
Takeshi KOMIYA
2016-01-15 20:44:03 +09:00
parent 9ed3d51826
commit ae478f678e
15 changed files with 64 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ General configuration
:confval:`exclude_dirnames`)
:confval:`exclude_patterns` is also consulted when looking for static files
in :confval:`html_static_path`.
in :confval:`html_static_path` and :confval:`html_extra_path`.
.. versionadded:: 1.0
@@ -640,6 +640,11 @@ that use Sphinx's HTMLWriter class.
.. versionadded:: 1.2
.. versionchanged:: 1.4
The dotfiles in the extra directory will be copied to the output directory.
And it refers :confval:`exclude_patterns` on copying extra files and
directories, and ignores if path matches to patterns.
.. confval:: html_last_updated_fmt
If this is not None, a 'Last updated on:' timestamp is inserted