video.js
Зеркало из https://github.com/videojs/video.js
/
.jsdoc.js
70 строк · 1.8 Кб
1"use strict";2
3const pkg = require('./package.json');4
5module.exports = {6source: {7include: ['src/js/'],8includePattern: '.js$',9},10opts: {11destination: 'docs/api',12readme: 'docs/index.md',13template: 'node_modules/clean-jsdoc-theme',14package: '',15recurse: true,16encoding: 'utf8',17theme_opts: {18homepageTitle: 'Video.js API docs',19menu: [20{21title: 'Video.js website',22link: 'https://videojs.com',23class: 'link-vjs',24},25{26title: `v${pkg.version} source`,27link: 'https://github.com/videojs/video.js',28class: 'link-gh',29},30{31title: 'Twitter',32link: 'https://twitter.com/videojs',33class: 'link-tw',34},35],36favicon: 'https://videojs.com/favicon.ico',37footer:38'<span class="copyright"><a href="https://videojs.com">Video.js</a> is a free and open source HTML5 video player. © <a href="https://brightcove.com" target="_blank">Brightcove, Inc</a>. <a href="https://github.com/videojs/video.js/blob/master/LICENSE" class="button blue" target="_blank">View license</a></span>',39include_css: ['./build/docs/styles/videojs.css'],40displayModuleHeade: true,41meta: [42{43name: 'name',44content: 'Video.js API documentation',45},46{47name: 'description',48content:49`Generated API documentation for the latest version of Video.js (${pkg.version}).`,50},51],52},53},54templates: {55default: {56staticFiles: {57include: ['build/docs/'],58},59},60},61plugins: [62'plugins/markdown',63'build/jsdoc-typeof-plugin',64'build/jsdoc-workarounds',65],66markdown: {67tags: ['example'],68idInHeadings: true,69},70};71