aboutsummaryrefslogtreecommitdiffstats
path: root/mkdocs.py
diff options
context:
space:
mode:
authorAlec Perkins2012-09-07 13:57:44 -0400
committerAlec Perkins2012-09-07 13:57:44 -0400
commitaabb26e598a0eeb604a4d33270d23e324c95ba5d (patch)
tree50a0212ecf86cab2cb246dabaa3579e9913ae043 /mkdocs.py
parent30dedc95e5a71caa436e9ef2e0e543cd0def1162 (diff)
downloaddjango-rest-framework-aabb26e598a0eeb604a4d33270d23e324c95ba5d.tar.bz2
[docs] Add 'img' to static file processing.
Diffstat (limited to 'mkdocs.py')
-rwxr-xr-xmkdocs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkdocs.py b/mkdocs.py
index c7921fcd..63e15d8f 100755
--- a/mkdocs.py
+++ b/mkdocs.py
@@ -28,7 +28,7 @@ sub_header = '<li><a href="#{{ anchor }}">{{ title }}</a></li>'
page = open(os.path.join(docs_dir, 'template.html'), 'r').read()
# Copy static files
-for static in ['css', 'js']:
+for static in ['css', 'js', 'img']:
source = os.path.join(docs_dir, 'static', static)
target = os.path.join(html_dir, static)
if os.path.exists(target):