Skip to content

Commit

Permalink
[docs] updated js file attaching mechanism (#2287)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS committed Jul 27, 2019
1 parent 5d3a3ea commit 5dc1507
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Expand Up @@ -220,4 +220,5 @@ def setup(app):
app.connect("builder-inited", generate_doxygen_xml)
else:
app.add_directive('doxygenfile', IgnoredDirective)
app.add_javascript("js/script.js")
add_js_file = getattr(app, 'add_js_file', False) or app.add_javascript
add_js_file("js/script.js")

0 comments on commit 5dc1507

Please sign in to comment.