Change sourceDir to src/ in generate-info.js

This is to accomodate the case where other directories than "ol" include "api" annotations. For example, the Swisstopo geoadmin folks extend OpenLayers 3 in an ol3 fork, and they have their own "ga" namespace/directory under "src". See https://github.com/geoadmin/ol3/tree/master/src.
This commit is contained in:
Éric Lemoine
2014-06-09 10:20:50 +02:00
parent ee38f8fc2f
commit be62e75714

View File

@@ -6,7 +6,7 @@ var async = require('async');
var fse = require('fs-extra');
var walk = require('walk').walk;
var sourceDir = path.join(__dirname, '..', 'src', 'ol');
var sourceDir = path.join(__dirname, '..', 'src');
var infoPath = path.join(__dirname, '..', 'build', 'info.json');
var jsdoc = path.join(__dirname, '..', 'node_modules', '.bin', 'jsdoc');
var jsdocConfig = path.join(