mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-16 20:35:09 +00:00
Merge "docs: Use the standard way of generating documentation"
This commit is contained in:
commit
9644aacefa
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,2 @@
|
||||||
docs/js/
|
docs/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
set -e
|
|
||||||
cd $(dirname $0)/..
|
|
||||||
jsduck
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"--title": "MultimediaViewer - Documentation",
|
"--title": "MultimediaViewer - Documentation",
|
||||||
"--categories": "docs/categories.json",
|
"--categories": "jsduck.categories.json",
|
||||||
"--builtin-classes": true,
|
"--builtin-classes": true,
|
||||||
"--processes": "0",
|
"--processes": "0",
|
||||||
"--warnings-exit-nonzero": true,
|
"--warnings-exit-nonzero": true,
|
||||||
"--output": "docs",
|
"--output": "docs",
|
||||||
"--": [
|
"--": [
|
||||||
"docs/external.js",
|
"jsduck.external.js",
|
||||||
"resources/mmv"
|
"resources/mmv"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "grunt test"
|
"test": "grunt test",
|
||||||
|
"doc": "jsduck"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "0.4.5",
|
"grunt": "0.4.5",
|
||||||
|
|
Loading…
Reference in a new issue