Commits

Akihiro Uchida  committed 6b4447a

remove mathjax_macropath due to duplicate of mathjax_path

  • Participants
  • Parent commits a7d581e

Comments (0)

Files changed (1)

File sphinx/ext/mathjax.py

         raise ExtensionError('mathjax_path config value must be set for the '
                              'mathjax extension to work')
     app.add_javascript(app.config.mathjax_path)
-    if app.config.mathjax_macropath:
-        app.add_javascript(app.config.mathjax_macropath)
 
 def html_page_context(app, pagename, templatename, context, doctree):
     if app.config.mathjax_preamble and 'body' in context:
     app.add_config_value('mathjax_path',
                          'http://cdn.mathjax.org/mathjax/latest/MathJax.js?'
                          'config=TeX-AMS-MML_HTMLorMML', False)
-    app.add_config_value('mathjax_macropath', False, 'html')
     app.add_config_value('mathjax_preamble', False, 'html')
     app.add_config_value('mathjax_inline', [r'\(', r'\)'], 'html')
     app.add_config_value('mathjax_display', [r'\[', r'\]'], 'html')