unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] doc/conf.py: Remove _static from html_static_path
@ 2014-05-10 15:55 W. Trevor King
  2014-05-12 10:32 ` [PATCH] Unset html_static_path in Python bindings docs Amadeusz Żołnowski
  2014-05-28 12:57 ` [PATCH] doc/conf.py: Remove _static from html_static_path David Bremner
  0 siblings, 2 replies; 6+ messages in thread
From: W. Trevor King @ 2014-05-10 15:55 UTC (permalink / raw)
  To: notmuch

Avoid:

  $ make HAVE_SPHINX=1 sphinx-html
  python ./doc/mkdocdeps.py ./doc doc/_build doc/docdeps.mk
  sphinx-build -b html -d doc/_build/doctrees -q ./doc doc/_build/html
  Making output directory...
  WARNING: html_static_path entry '/home/wking/src/notmuch/notmuch/doc/_static' does not exist

because we have no static source in doc/_static.
---
 doc/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/conf.py b/doc/conf.py
index a926fe4..70ba1b8 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -42,7 +42,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 = ['_static']
+html_static_path = []
 
 # Output file base name for HTML help builder.
 htmlhelp_basename = 'notmuchdoc'
-- 
1.9.1.353.gc66d89d

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] Unset html_static_path in Python bindings docs
  2014-05-10 15:55 [PATCH] doc/conf.py: Remove _static from html_static_path W. Trevor King
@ 2014-05-12 10:32 ` Amadeusz Żołnowski
  2014-05-12 10:35   ` Amadeusz Żołnowski
  2014-05-28 12:57 ` [PATCH] doc/conf.py: Remove _static from html_static_path David Bremner
  1 sibling, 1 reply; 6+ messages in thread
From: Amadeusz Żołnowski @ 2014-05-12 10:32 UTC (permalink / raw)
  To: notmuch

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..692a8f2 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 = ['']
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
-- 
1.9.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] Unset html_static_path in Python bindings docs
  2014-05-12 10:32 ` [PATCH] Unset html_static_path in Python bindings docs Amadeusz Żołnowski
@ 2014-05-12 10:35   ` Amadeusz Żołnowski
  2014-05-12 15:18     ` W. Trevor King
  2014-05-28 12:59     ` David Bremner
  0 siblings, 2 replies; 6+ messages in thread
From: Amadeusz Żołnowski @ 2014-05-12 10:35 UTC (permalink / raw)
  To: notmuch

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 = []
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
-- 
1.9.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] Unset html_static_path in Python bindings docs
  2014-05-12 10:35   ` Amadeusz Żołnowski
@ 2014-05-12 15:18     ` W. Trevor King
  2014-05-28 12:59     ` David Bremner
  1 sibling, 0 replies; 6+ messages in thread
From: W. Trevor King @ 2014-05-12 15:18 UTC (permalink / raw)
  To: Amadeusz Żołnowski; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 1333 bytes --]

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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] doc/conf.py: Remove _static from html_static_path
  2014-05-10 15:55 [PATCH] doc/conf.py: Remove _static from html_static_path W. Trevor King
  2014-05-12 10:32 ` [PATCH] Unset html_static_path in Python bindings docs Amadeusz Żołnowski
@ 2014-05-28 12:57 ` David Bremner
  1 sibling, 0 replies; 6+ messages in thread
From: David Bremner @ 2014-05-28 12:57 UTC (permalink / raw)
  To: W. Trevor King, notmuch

"W. Trevor King" <wking@tremily.us> writes:

> Avoid:
>
>   $ make HAVE_SPHINX=1 sphinx-html
>   python ./doc/mkdocdeps.py ./doc doc/_build doc/docdeps.mk
>   sphinx-build -b html -d doc/_build/doctrees -q ./doc doc/_build/html
>   Making output directory...
>   WARNING: html_static_path entry '/home/wking/src/notmuch/notmuch/doc/_static' does not exist

pushed to release and master

d

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Unset html_static_path in Python bindings docs
  2014-05-12 10:35   ` Amadeusz Żołnowski
  2014-05-12 15:18     ` W. Trevor King
@ 2014-05-28 12:59     ` David Bremner
  1 sibling, 0 replies; 6+ messages in thread
From: David Bremner @ 2014-05-28 12:59 UTC (permalink / raw)
  To: Amadeusz Żołnowski, notmuch

Amadeusz Żołnowski <aidecoe@aidecoe.name> writes:

> 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.

pushed to release and master.

d

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-28 12:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-10 15:55 [PATCH] doc/conf.py: Remove _static from html_static_path W. Trevor King
2014-05-12 10:32 ` [PATCH] Unset html_static_path in Python bindings docs Amadeusz Żołnowski
2014-05-12 10:35   ` Amadeusz Żołnowski
2014-05-12 15:18     ` W. Trevor King
2014-05-28 12:59     ` David Bremner
2014-05-28 12:57 ` [PATCH] doc/conf.py: Remove _static from html_static_path David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).