Skip to content

wiris/mathtype-integration-jsdoc-theme

Repository files navigation

MathType Integration JSDoc theme

JSDoc theme for MathType JavaScript Integration API.

Forked from Bookshelf.

Install Instructions

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

Usage

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.

Styles

Stlyes must be compiled if edited:

$ npm run styles

Node.js Dependency

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": ""
  }
}

Releases

All notable changes to this project are documented in the CHANGELOG.md file.

License

Licensed under the GNU 3.0 General Public License.

About

MathType Integration JSDoc Theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published