1. Georg Brandl
  2. sphinx


Steve Borho  committed 9f5f62d

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.

  • Participants
  • Parent commits 06d62c6
  • Branches default

Comments (0)

Files changed (1)

File sphinx/builders/htmlhelp.py

View file
                 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 \