Making Sphinx detect changes to auxiliary configuration/template files
问题 I'm using Sphinx (v1.4.9, with Python 3.5.1 on Windows 7, 64-bit) to write a document set with MathJax enabled. I wanted to define custom LaTeX commands to clean up my source, so I implemented this approach by adding _templates\layout.html : {% extends "!layout.html" %} {% set script_files = script_files + ["_static/mjconf.js"] %} and defining my custom commands in _static\mjconf.js : MathJax.Hub.Config({ TeX: { Macros: { dsetarr: ['{\\small \\textsf{#1 Array } \\mathsf{(#2)} }', 2], dsettype