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/
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
cd $(dirname $0)/..
|
||||
jsduck
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"--title": "MultimediaViewer - Documentation",
|
||||
"--categories": "docs/categories.json",
|
||||
"--categories": "jsduck.categories.json",
|
||||
"--builtin-classes": true,
|
||||
"--processes": "0",
|
||||
"--warnings-exit-nonzero": true,
|
||||
"--output": "docs",
|
||||
"--": [
|
||||
"docs/external.js",
|
||||
"jsduck.external.js",
|
||||
"resources/mmv"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"test": "grunt test"
|
||||
"test": "grunt test",
|
||||
"doc": "jsduck"
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt": "0.4.5",
|
||||
|
|
Loading…
Reference in a new issue