mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add and document html_extra_path option.
This commit is contained in:
@@ -509,10 +509,11 @@ that use Sphinx' HTMLWriter class.
|
||||
|
||||
.. confval:: html_static_path
|
||||
|
||||
A list of paths that contain custom static files (such as style sheets or
|
||||
script files). Relative paths are taken as relative to the configuration
|
||||
directory. They are copied to the output directory after the theme's static
|
||||
files, so a file named :file:`default.css` will overwrite the theme's
|
||||
A list of paths that contain custom static files (such as style
|
||||
sheets or script files). Relative paths are taken as relative to
|
||||
the configuration directory. They are copied to the output's
|
||||
:file:`_static` directory after the theme's static files, so a file
|
||||
named :file:`default.css` will overwrite the theme's
|
||||
:file:`default.css`.
|
||||
|
||||
.. versionchanged:: 0.4
|
||||
@@ -521,6 +522,15 @@ that use Sphinx' HTMLWriter class.
|
||||
.. versionchanged:: 1.0
|
||||
The entries in :confval:`html_static_path` can now be single files.
|
||||
|
||||
.. confval:: html_extra_path
|
||||
|
||||
A list of paths that contain extra files (such as
|
||||
:file:`robots.txt` or :file:`.htaccess`). Relative paths are taken
|
||||
as relative to the configuration directory. They are copied to the
|
||||
output directory, and will overwrite any existing generated file.
|
||||
|
||||
.. versionadded:: 1.2
|
||||
|
||||
.. confval:: html_last_updated_fmt
|
||||
|
||||
If this is not the empty string, a 'Last updated on:' timestamp is inserted
|
||||
|
||||
Reference in New Issue
Block a user