mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 08:14:16 +03:00
[docs] Add 'img' to static file processing.
This commit is contained in:
parent
30dedc95e5
commit
aabb26e598
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user