File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
1919
2020project = 'MIPS'
21- copyright = '2009-2024 , Power Systems Engineering Research Center (PSERC)'
21+ copyright = '2009-2025 , Power Systems Engineering Research Center (PSERC)'
2222author = 'Ray D. Zimmerman, Hongye Wang'
2323
2424# The full version, including alpha/beta/rc tags
7171# matlab_auto_link = "basic"
7272matlab_auto_link = "all"
7373matlab_show_property_default_value = True
74+ matlab_show_property_specs = True
7475# autoclass_content = 'both' # 'class', 'init', 'both'
7576autodoc_member_order = 'bysource' # 'alphabetical', 'groupwise', 'bysource'
7677napoleon_use_param = False
111112
112113with open ('mp-docs-shared/mathCmds.tex.txt' , 'r' ) as f :
113114 for line in f :
114- macros = re .findall (r'\\(re)?newcommand{\\(.*?)}(\[(\d)\])?{(. +)}' , line )
115+ macros = re .findall (r'(?<!%) \\(re)?newcommand{\\(.*?)}(\[(\d)\])?{([^%\n] +)}' , line )
115116 for macro in macros :
116117 if len (macro [2 ]) == 0 :
117118 mathjax3_config ['tex' ]['macros' ][macro [1 ]] = macro [4 ]
You can’t perform that action at this time.
0 commit comments