JSDoc theme for MathType JavaScript Integration API.
Forked from Bookshelf.
Clone the MathType Javascript Integration API from the MathType web repository:
$ git clone https://github.com/wiris/html-integrations
$ cd packages/mathtype-html-integration-devkit
Then, install npm
dependencies:
$ npm install
Run this commands to generate the source files of the documentation site:
$ npm run build-docs
The source code of the documentation site is generated on the /out
folder.
Stlyes must be compiled if edited:
$ npm run styles
In your projects package.json
file add a generate script:
"script": {
"generate-docs": "jsdoc --configure .jsdoc.json --verbose"
}
### Example JSDoc Config
```js
{
"tags": {
"allowUnknownTags": true,
"dictionaries": ["jsdoc"]
},
"source": {
"include": ["lib", "package.json", "README.md"],
"includePattern": ".js$",
"excludePattern": "(node_modules/|docs)"
},
"plugins": [
"plugins/markdown"
],
"templates": {
"cleverLinks": false,
"monospaceLinks": true
},
"opts": {
"destination": "./docs/",
"encoding": "utf8",
"private": true,
"recurse": true,
"template": "path/to/mathtype-integration-jsdoc-theme",
"whitelist": ["Optional", "List", "Of", "Top", "Level", "Classes"],
"changelog": "./path-to/CHANGELOG.md",
"title": ""
}
}
All notable changes to this project are documented in the CHANGELOG.md file.
Licensed under the GNU 3.0 General Public License.