Various improvements in Sphinx doc
- see if we can use https://pypi.org/project/sphinxcontrib-matlabdomain/ instead of
MatComm
and MatlabVar
defined in doc/manual/utils/dynare_dom.py
- if not, add new domain entry to differentiate between MATLAB commands and MATLAB functions
- find way to fix output of Matlab Commands so the options conform to the true type used for Dynare Command options
- code block:
- many general problems with highlighting: e.g.
end
is highlighted when it is MATLAB code but the corresponding for
is not highlighted
- despite being in
doc/manual/utils/dynare_lex.py
, var
is not highlighted in code blocks
- ideally find a programmatic way to fill
doc/manual/utils/dynare_lex.py
from the rst
files instead of having to update it by hand