Re: [PATCH] Unset html_static_path in Python bindings docs

Subject: Re: [PATCH] Unset html_static_path in Python bindings docs

Date: Mon, 12 May 2014 08:18:46 -0700

To: Amadeusz Żołnowski

Cc: notmuch@notmuchmail.org

From: W. Trevor King


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@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
signature.asc (application/pgp-signature)

Thread: