Configuration Options
Complete reference of all configuration options.
This page provides a comprehensive reference. For a getting-started guide, see Configuration.
Essential Options
extensions
Type: List[str]
Required: Yes
Add sphinxcontrib.matlab to your extensions:
extensions = ['sphinxcontrib.matlab', 'sphinx.ext.autodoc']
matlab_src_dir
Type: str
Required: Yes
Default: None
Path to MATLAB source directory:
matlab_src_dir = '/path/to/matlab/src'
Optional Options
primary_domain
Type: str
Default: 'py'
Set to 'mat' to make MATLAB the primary domain:
primary_domain = 'mat'
matlab_short_links
Type: bool
Default: False
Added in: v0.19.0
Use shorter names in links:
matlab_short_links = True
matlab_auto_link
Type: str or None
Default: None
Added in: v0.21.0
Options: 'basic', 'all', None
Automatically create links:
matlab_auto_link = 'basic'
matlab_keep_package_prefix
Type: bool
Default: True
Show + prefix in package names:
matlab_keep_package_prefix = False
matlab_show_property_default_values
Type: bool
Default: False
Added in: v0.17.0
Show default property values:
matlab_show_property_default_values = True
See Also
Configuration - Configuration guide
Autodoc Directives - Using configured options
Note
Full reference documentation coming soon. See Configuration for details.