Browse Source

Fix jsdocs build on server repo

Signed-off-by: Julius Härtl <jus@bitgrid.net>
tags/v15.0.0beta1
Julius Härtl 5 years ago
parent
commit
5d888984a0
No account linked to committer's email address

+ 2
- 2
apps/files/js/favoritesplugin.js View File

@@ -10,9 +10,9 @@

(function(OCA) {
/**
* @namespace OCA.Files.FavoritesPlugin
*
* Registers the favorites file list from the files app sidebar.
*
* @namespace OCA.Files.FavoritesPlugin
*/
OCA.Files.FavoritesPlugin = {
name: 'Favorites',

+ 2
- 2
apps/files/js/recentplugin.js View File

@@ -10,9 +10,9 @@

(function (OCA) {
/**
* @namespace OCA.Files.RecentPlugin
*
* Registers the recent file list from the files app sidebar.
*
* @namespace OCA.Files.RecentPlugin
*/
OCA.Files.RecentPlugin = {
name: 'Recent',

+ 2
- 2
apps/files/js/tagsplugin.js View File

@@ -132,11 +132,11 @@
OCA.Files = OCA.Files || {};

/**
* @namespace OCA.Files.TagsPlugin
*
* Extends the file actions and file list to include a favorite mark icon
* and a favorite action in the file actions menu; it also adds "data-tags"
* and "data-favorite" attributes to file elements.
*
* @namespace OCA.Files.TagsPlugin
*/
OCA.Files.TagsPlugin = {
name: 'Tags',

buildjsdocs.sh → build/buildjsdocs.sh View File

@@ -8,10 +8,9 @@
# @copyright 2014 Vincent Petry <pvince81@owncloud.com>
#
NPM="$(which npm 2>/dev/null)"
PREFIX="build"
OUTPUT_DIR="build/jsdocs"
OUTPUT_DIR="jsdocs"

JS_FILES="core/js/*.js core/js/**/*.js apps/*/js/*.js"
JS_FILES="../core/js/*.js ../core/js/**/*.js ../apps/*/js/*.js"

if test -z "$NPM"
then
@@ -20,14 +19,14 @@ then
fi

# update/install test packages
mkdir -p "$PREFIX" && $NPM install --link --prefix "$PREFIX" jsdoc || exit 3
$NPM install --prefix . --link jsdoc || exit 3

JSDOC_BIN="$(which jsdoc 2>/dev/null)"

# If not installed globally, try local version
if test -z "$JSDOC_BIN"
then
JSDOC_BIN="$PREFIX/node_modules/jsdoc/jsdoc.js"
JSDOC_BIN="./node_modules/jsdoc/jsdoc.js"
fi

if test -z "$JSDOC_BIN"
@@ -38,5 +37,5 @@ fi

mkdir -p "$OUTPUT_DIR"

NODE_PATH="$PREFIX/node_modules" $JSDOC_BIN -d "$OUTPUT_DIR" $JS_FILES
NODE_PATH="./node_modules" $JSDOC_BIN -d "$OUTPUT_DIR" $JS_FILES


+ 4149
- 5694
build/package-lock.json
File diff suppressed because it is too large
View File


+ 1
- 1
build/package.json View File

@@ -15,7 +15,7 @@
"handlebars": "^4.0.5",
"jasmine-core": "~2.5.2",
"jasmine-sinon": "^0.4.0",
"jsdoc": "~3.5.5",
"jsdoc": "^3.5.5",
"karma": "^2.0.2",
"karma-coverage": "*",
"karma-jasmine": "^1.1.2",

Loading…
Cancel
Save