[PATCH] Unset html_static_path in Python bindings docs

W. Trevor King wking at tremily.us
Mon May 12 08:18:46 PDT 2014


On Mon, May 12, 2014 at 12:35:41PM +0200, Amadeusz Żołnowski wrote:
> html_static_path is a kind of source directory and it was set to
> destination directory (../html) which caused infinite recursion with
> Sphinx 1.2 and above.
> ---
>  bindings/python/docs/source/conf.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/bindings/python/docs/source/conf.py b/bindings/python/docs/source/conf.py
> index 9db377f..5107a96 100644
> --- a/bindings/python/docs/source/conf.py
> +++ b/bindings/python/docs/source/conf.py
> @@ -140,7 +140,7 @@ html_theme = 'default'
>  # Add any paths that contain custom static files (such as style sheets) here,
>  # relative to this directory. They are copied after the builtin static files,
>  # so a file named "default.css" will overwrite the builtin "default.css".
> -html_static_path = ['../html']
> +html_static_path = []

+1 to this.  I didn't think to look for other Sphinx configs besides
doc/conf.py when I wrote [1].

Cheers,
Trevor

[1]: id:4244e9c2c0e64eedcd8e4bcca5c24f942f747548.1399737242.git.wking at tremily.us
     http://article.gmane.org/gmane.mail.notmuch.general/18289

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20140512/312d97ae/attachment.pgp>


More information about the notmuch mailing list