sphinx-matlabdoc-builder
A Sphinx extension for generating Matlab HTML docs.
This extension builds the Sphinx project into a set of HTML
documents and additionally generates the TOC helptoc.xml file
required for the
Matlab toolbox documentation
For generating documentation for Matlab code, check out the matlabdomain Sphinx extension.
Installation
The package can be installed from Pip
pip install sphinx-matlabdoc-builder
Alternatively you can download the sphinx_matlabdoc_builder package into your
sphinx directory and add the local directory to the sphinx path.
Requirements
This package is an extension to Sphinx. Requires Python 3.
Usage
To use sphinx-matlabdoc-builder, you must first install the package and add
the extension to your sphinx conf.py file. For example, add the
sphinx_matlabdoc_builder extension to the end of your extension list:
extensions = [
'sphinx.ext.mathjax',
'sphinx.ext.githubpages',
'sphinx_matlabdoc_builder',
]
Then compile the source with
make matlabdoc
or if using sphinx-build
sphinx-build -M matlabdoc ./ build
this should generate the normal HTML output and add the helptoc.xml
file to the output directory.
To use the helptoc.xml file in your toolbox, create a new matlab
package and click add documentation and specify the documentation
output directory.
If you have an existing info.xml file, simply change the documentation
directory to point to the output directory containing the helptoc.xml file.
For example, on Matlab 2018a, a info.xml file might look something like:
<?xml version="1.0" encoding="utf-8"?>
<productinfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="optional"><?xml-stylesheet type="text/xsl"href="optional"?>
<matlabrelease>2018a</matlabrelease>
<name>otslm</name>
<type>toolbox</type>
<icon/>
<help_location>docs\_build\matlabdoc</help_location>
<help_contents_icon/>
</productinfo>
where help_location specifies the path to the Sphinx output directory.
Metadata
Release files for sphinx-matlabdoc-builder 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sphinx-matlabdoc-builder-0.1.2.tar.gz | 4.0 kB | Without provenance | Details for sphinx-matlabdoc-builder-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sphinx_matlabdoc_builder-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for sphinx_matlabdoc_builder-0.1.2-py3-none-any.whl |
Total release size: 9.7 kB
Release files / sphinx-matlabdoc-builder-0.1.2.tar.gz
| Download URL | sphinx-matlabdoc-builder-0.1.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5519f5ace6967404efa264cdfb95b9810b4e8561b8413834e773314740575d80
|
|
BLAKE2b-256 checksum How to use checksums |
54a91c1000c8415a3b55c01550e257efb04b364232b786f5f43a765764acf1a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.6
|
Release files / sphinx_matlabdoc_builder-0.1.2-py3-none-any.whl
| Download URL | sphinx_matlabdoc_builder-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21f56d30835925a319f7a65608c3974443458589d5721a3ad1a4f84665c5532a
|
|
BLAKE2b-256 checksum How to use checksums |
28463068079ea46e562f859c8ec71f2ad2c7c7d14f798975903f5bd97b797a78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.6
|
Security for sphinx-matlabdoc-builder 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.