Sphinx docs without JavaScript

Viewed 427

I'd like to build docs using Sphinx, but without any JavaScript. Is there a straight forward way to configure Sphinx not to include any JavaScript? Setting an empty html_js_files in the conf.py doesn't do the trick.

Obviously there will be some functionality missing, like the search box. However it seems that no core functionality that I care about is impacted when manually removing the scripts.

1 Answers

Modify your theme's template where the JavaScript is included, removing that HTML tag.

Related