Skip to content

Commit

Permalink
Simplify Sphinx config for matlab_src_dir.
Browse files Browse the repository at this point in the history
Other minor doc tweaks.
  • Loading branch information
rdzman committed Mar 26, 2024
1 parent c7f79a7 commit a3743cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions docs/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import os
import sphinx_rtd_theme
import re

Expand All @@ -39,8 +36,7 @@
'sphinx_rtd_theme',
'sphinx_tabs.tabs',
]
this_dir = os.path.dirname(os.path.abspath(__file__))
matlab_src_dir = os.path.abspath(os.path.join(this_dir, 'matlab-source'))
matlab_src_dir = 'matlab-source'
primary_domain = 'mat'

templates_path = ['_templates']
Expand Down
2 changes: 1 addition & 1 deletion lib/mips.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
%
% .. math:: \g(\x) = 0
% .. math:: \h(\x) \le 0
% .. math:: \param{\rvec{l}} \le \param{\cmat{A}} \x \le \param{\rvec{u}}
% .. math:: \param{\rvec{l}} \le \param{\rmat{A}} \x \le \param{\rvec{u}}
% :label: eq_mips_lin_constraint
% .. math:: \param{\x}_\mathrm{min} \le \x \le \param{\x}_\mathrm{max}
% :label: eq_mips_var_bounds
Expand Down
2 changes: 1 addition & 1 deletion lib/mipsver.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
% mipsver without assigning the return value prints the version and
% release date of the current installation of MIPS.
%
% See also mpver.
% See also mpver.

% MIPS
% Copyright (c) 2010-2024, Power Systems Engineering Research Center (PSERC)
Expand Down

0 comments on commit a3743cf

Please sign in to comment.