-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks, applied for 1.0.

Georg

Am 19.08.2010 17:05, schrieb steve.bo...@gmail.com:
> # HG changeset patch
> # User Steve Borho <st...@borho.org>
> # Date 1282237004 18000
> # Node ID db7f9813de65f00c803cfde451d687cecd03dc41
> # Parent  90d25c39b7280f498a303c706183ef289ed5c0e3
> htmlhelp: pick up all non java script files in _static and its subdirs
> 
> "Our" documentation build script copies doxygen generated .html and .gif files
> into a subdir of _static, which our reST code then links to.  This patch 
> allows
> the nested .gif files to be added to the .hhp project file.
> 
> diff -r 90d25c39b728 -r db7f9813de65 sphinx/builders/htmlhelp.py
> --- a/sphinx/builders/htmlhelp.py     Sat Aug 14 19:48:42 2010 +0200
> +++ b/sphinx/builders/htmlhelp.py     Thu Aug 19 11:56:44 2010 -0500
> @@ -200,7 +200,7 @@
>                  outdir += os.sep
>              olen = len(outdir)
>              for root, dirs, files in os.walk(outdir):
> -                staticdir = (root == path.join(outdir, '_static'))
> +                staticdir = root.startswith(path.join(outdir, '_static'))
>                  for fn in files:
>                      if (staticdir and not fn.endswith('.js')) or \
>                             fn.endswith('.html'):
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAkxykp0ACgkQN9GcIYhpnLDpiwCgi8NgWceG7C+cWUSnhB6eTJ/R
oIQAnRtdUwjhCMgW+Ztt5IoAgQDl9AeP
=2oP6
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to