Changes in docs/sphinx-docs/source/conf.py [96f00a0:6394851] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/sphinx-docs/source/conf.py
r96f00a0 r6394851 36 36 'sphinx.ext.coverage', 37 37 'sphinx.ext.mathjax', 38 #'mathjax', # replacement mathjax that allows a list of paths39 38 'dollarmath', 40 39 'sphinx.ext.viewcode'] 41 40 42 mathjax_path = ( 43 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?' 44 'config=TeX-MML-AM_CHTML') 45 46 # For katex uncomment the following 47 """ 48 #STATIC_PATH = '../../_static/' 49 STATIC_PATH = '' 50 mathjax_path = [ 51 STATIC_PATH + 'katex/katex.min.js', 52 STATIC_PATH + 'katex/contrib/auto-render.min.js', 53 STATIC_PATH + 'rendermath.js' 54 ] 55 mathjax_css = STATIC_PATH + 'katex/katex.min.css' 56 """ 57 41 #set mathjax path 42 mathjax_path="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML" 58 43 59 44 # Add any paths that contain templates here, relative to this directory. … … 80 65 version = '4.1' 81 66 # The full version, including alpha/beta/rc tags. 82 release = '4.1. 0'67 release = '4.1.2' 83 68 84 69 # The language for content autogenerated by Sphinx. Refer to documentation … … 219 204 # -- Options for LaTeX output -------------------------------------------------- 220 205 221 # TODO: seems like angstroms is defined twice.222 206 LATEX_PREAMBLE=r""" 207 \renewcommand{\AA}{\text{\r{A}}} % Allow \AA in math mode 223 208 \usepackage[utf8]{inputenc} % Allow unicode symbols in text 224 \newcommand{\lt}{<} % HTML needs \lt rather than <225 \newcommand{\gt}{>} % HTML needs \gt rather than >226 \renewcommand{\AA}{\text{\r{A}}} % Allow \AA in math mode227 \DeclareUnicodeCharacter {212B} {\AA} % Angstrom228 209 \DeclareUnicodeCharacter {00B7} {\ensuremath{\cdot}} % cdot 229 210 \DeclareUnicodeCharacter {00B0} {\ensuremath{^\circ}} % degrees 211 \DeclareUnicodeCharacter {212B} {\AA} % Angstrom 230 212 """ 231 213 latex_elements = {
Note: See TracChangeset
for help on using the changeset viewer.