From f17c33f631f883262dceecabc411bd8071b7a1a8 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Thu, 21 Aug 2014 17:11:13 -0600 Subject: [PATCH] Rename buildcfg to config --- build.py | 20 +++++++++--------- buildcfg/readme.md | 3 --- {buildcfg => config}/examples-all.json | 0 {buildcfg => config}/jsdoc/api/conf.json | 14 ++++++------ {buildcfg => config}/jsdoc/api/index.md | 0 {buildcfg => config}/jsdoc/api/plugins/api.js | 0 .../jsdoc/api/plugins/events.js | 0 .../jsdoc/api/plugins/inheritdoc.js | 0 .../jsdoc/api/plugins/interface.js | 0 .../jsdoc/api/plugins/observable.js | 0 .../jsdoc/api/plugins/typedefs.js | 0 {buildcfg => config}/jsdoc/api/readme.md | 0 .../jsdoc/api/template/README.md | 0 .../jsdoc/api/template/less/common.less | 0 .../jsdoc/api/template/less/footer.less | 0 .../jsdoc/api/template/less/jaguar.less | 0 .../jsdoc/api/template/less/main.less | 0 .../jsdoc/api/template/less/navigation.less | 0 .../jsdoc/api/template/publish.js | 0 .../fonts/glyphicons-halflings-regular.eot | Bin .../fonts/glyphicons-halflings-regular.svg | 0 .../fonts/glyphicons-halflings-regular.ttf | Bin .../fonts/glyphicons-halflings-regular.woff | Bin .../template/static/scripts/bootstrap.min.js | 0 .../api/template/static/scripts/jquery.min.js | 0 .../template/static/scripts/jquery.min.map | 0 .../api/template/static/scripts/linenumber.js | 0 .../jsdoc/api/template/static/scripts/main.js | 0 .../scripts/prettify/Apache-License-2.0.txt | 0 .../static/scripts/prettify/lang-css.js | 0 .../static/scripts/prettify/prettify.js | 0 .../template/static/scripts/underscore-min.js | 0 .../static/scripts/underscore-min.map | 0 .../template/static/styles/bootstrap.min.css | 0 .../api/template/static/styles/jaguar.css | 0 .../template/static/styles/prettify-jsdoc.css | 0 .../static/styles/prettify-tomorrow.css | 0 .../jsdoc/api/template/tmpl/container.tmpl | 0 .../jsdoc/api/template/tmpl/details.tmpl | 0 .../jsdoc/api/template/tmpl/example.tmpl | 0 .../jsdoc/api/template/tmpl/examples.tmpl | 0 .../jsdoc/api/template/tmpl/exceptions.tmpl | 0 .../jsdoc/api/template/tmpl/layout.tmpl | 0 .../jsdoc/api/template/tmpl/mainpage.tmpl | 0 .../jsdoc/api/template/tmpl/members.tmpl | 0 .../jsdoc/api/template/tmpl/method.tmpl | 0 .../jsdoc/api/template/tmpl/navigation.tmpl | 0 .../jsdoc/api/template/tmpl/observables.tmpl | 0 .../jsdoc/api/template/tmpl/params.tmpl | 0 .../jsdoc/api/template/tmpl/properties.tmpl | 0 .../jsdoc/api/template/tmpl/returns.tmpl | 0 .../jsdoc/api/template/tmpl/source.tmpl | 0 .../jsdoc/api/template/tmpl/stability.tmpl | 0 .../jsdoc/api/template/tmpl/tutorial.tmpl | 0 .../jsdoc/api/template/tmpl/type.tmpl | 0 {buildcfg => config}/jsdoc/info/api-plugin.js | 0 {buildcfg => config}/jsdoc/info/conf.json | 6 +++--- .../jsdoc/info/define-plugin.js | 0 {buildcfg => config}/jsdoc/info/publish.js | 0 {buildcfg => config}/ol-debug.json | 0 {buildcfg => config}/ol.json | 0 config/readme.md | 3 +++ tasks/generate-info.js | 2 +- 63 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 buildcfg/readme.md rename {buildcfg => config}/examples-all.json (100%) rename {buildcfg => config}/jsdoc/api/conf.json (70%) rename {buildcfg => config}/jsdoc/api/index.md (100%) rename {buildcfg => config}/jsdoc/api/plugins/api.js (100%) rename {buildcfg => config}/jsdoc/api/plugins/events.js (100%) rename {buildcfg => config}/jsdoc/api/plugins/inheritdoc.js (100%) rename {buildcfg => config}/jsdoc/api/plugins/interface.js (100%) rename {buildcfg => config}/jsdoc/api/plugins/observable.js (100%) rename {buildcfg => config}/jsdoc/api/plugins/typedefs.js (100%) rename {buildcfg => config}/jsdoc/api/readme.md (100%) rename {buildcfg => config}/jsdoc/api/template/README.md (100%) rename {buildcfg => config}/jsdoc/api/template/less/common.less (100%) rename {buildcfg => config}/jsdoc/api/template/less/footer.less (100%) rename {buildcfg => config}/jsdoc/api/template/less/jaguar.less (100%) rename {buildcfg => config}/jsdoc/api/template/less/main.less (100%) rename {buildcfg => config}/jsdoc/api/template/less/navigation.less (100%) rename {buildcfg => config}/jsdoc/api/template/publish.js (100%) rename {buildcfg => config}/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.eot (100%) rename {buildcfg => config}/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.svg (100%) rename {buildcfg => config}/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.ttf (100%) rename {buildcfg => config}/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.woff (100%) rename {buildcfg => config}/jsdoc/api/template/static/scripts/bootstrap.min.js (100%) rename {buildcfg => config}/jsdoc/api/template/static/scripts/jquery.min.js (100%) rename {buildcfg => config}/jsdoc/api/template/static/scripts/jquery.min.map (100%) rename {buildcfg => config}/jsdoc/api/template/static/scripts/linenumber.js (100%) rename {buildcfg => config}/jsdoc/api/template/static/scripts/main.js (100%) rename {buildcfg => config}/jsdoc/api/template/static/scripts/prettify/Apache-License-2.0.txt (100%) rename {buildcfg => config}/jsdoc/api/template/static/scripts/prettify/lang-css.js (100%) rename {buildcfg => config}/jsdoc/api/template/static/scripts/prettify/prettify.js (100%) rename {buildcfg => config}/jsdoc/api/template/static/scripts/underscore-min.js (100%) rename {buildcfg => config}/jsdoc/api/template/static/scripts/underscore-min.map (100%) rename {buildcfg => config}/jsdoc/api/template/static/styles/bootstrap.min.css (100%) rename {buildcfg => config}/jsdoc/api/template/static/styles/jaguar.css (100%) rename {buildcfg => config}/jsdoc/api/template/static/styles/prettify-jsdoc.css (100%) rename {buildcfg => config}/jsdoc/api/template/static/styles/prettify-tomorrow.css (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/container.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/details.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/example.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/examples.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/exceptions.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/layout.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/mainpage.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/members.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/method.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/navigation.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/observables.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/params.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/properties.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/returns.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/source.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/stability.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/tutorial.tmpl (100%) rename {buildcfg => config}/jsdoc/api/template/tmpl/type.tmpl (100%) rename {buildcfg => config}/jsdoc/info/api-plugin.js (100%) rename {buildcfg => config}/jsdoc/info/conf.json (59%) rename {buildcfg => config}/jsdoc/info/define-plugin.js (100%) rename {buildcfg => config}/jsdoc/info/publish.js (100%) rename {buildcfg => config}/ol-debug.json (100%) rename {buildcfg => config}/ol.json (100%) create mode 100644 config/readme.md diff --git a/build.py b/build.py index 12d136cacd..4c6bc146fe 100755 --- a/build.py +++ b/build.py @@ -145,15 +145,15 @@ def build_ol_css(t): t.output('%(CLEANCSS)s', 'css/ol.css') -@target('build/ol.js', SRC, SHADER_SRC, 'buildcfg/ol.json') +@target('build/ol.js', SRC, SHADER_SRC, 'config/ol.json') def build_ol_new_js(t): - t.run('node', 'tasks/build.js', 'buildcfg/ol.json', 'build/ol.js') + t.run('node', 'tasks/build.js', 'config/ol.json', 'build/ol.js') report_sizes(t) -@target('build/ol-debug.js', SRC, SHADER_SRC, 'buildcfg/ol-debug.json') +@target('build/ol-debug.js', SRC, SHADER_SRC, 'config/ol-debug.json') def build_ol_debug_js(t): - t.run('node', 'tasks/build.js', 'buildcfg/ol-debug.json', 'build/ol-debug.js') + t.run('node', 'tasks/build.js', 'config/ol-debug.json', 'build/ol-debug.js') report_sizes(t) @@ -200,9 +200,9 @@ def examples_examples_list_js(t): @target('build/examples/all.combined.js', 'build/examples/all.js', - SRC, SHADER_SRC, 'buildcfg/examples-all.json') + SRC, SHADER_SRC, 'config/examples-all.json') def build_examples_all_combined_js(t): - t.run('node', 'tasks/build.js', 'buildcfg/examples-all.json', + t.run('node', 'tasks/build.js', 'config/examples-all.json', 'build/examples/all.combined.js') report_sizes(t) @@ -218,7 +218,7 @@ def examples_star_json(name, match): # It would make more sense to use olx.js as an input file here. We use # it as an externs file instead to prevent "Cannot read property '*' of # undefined" error when running examples in "raw" or "whitespace" mode. - # Note that we use the proper way in buildcfg/examples-all.json, which + # Note that we use the proper way in config/examples-all.json, which # is only used to check the examples code using the compiler. content = json.dumps({ "exports": [], @@ -533,10 +533,10 @@ virtual('apidoc', 'build/jsdoc-%(BRANCH)s-timestamp' % vars(variables)) @target('build/jsdoc-%(BRANCH)s-timestamp' % vars(variables), 'host-resources', - SRC, SHADER_SRC, ifind('buildcfg/jsdoc/api/template')) + SRC, SHADER_SRC, ifind('config/jsdoc/api/template')) def jsdoc_BRANCH_timestamp(t): - t.run('%(JSDOC)s', 'buildcfg/jsdoc/api/index.md', - '-c', 'buildcfg/jsdoc/api/conf.json', + t.run('%(JSDOC)s', 'config/jsdoc/api/index.md', + '-c', 'config/jsdoc/api/conf.json', '-d', 'build/hosted/%(BRANCH)s/apidoc') t.touch() diff --git a/buildcfg/readme.md b/buildcfg/readme.md deleted file mode 100644 index d91cdd5c9a..0000000000 --- a/buildcfg/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# Build configs - -This directory includes configuration files (json) for the build scripts in tasks/. diff --git a/buildcfg/examples-all.json b/config/examples-all.json similarity index 100% rename from buildcfg/examples-all.json rename to config/examples-all.json diff --git a/buildcfg/jsdoc/api/conf.json b/config/jsdoc/api/conf.json similarity index 70% rename from buildcfg/jsdoc/api/conf.json rename to config/jsdoc/api/conf.json index 92520e0380..48581962ac 100644 --- a/buildcfg/jsdoc/api/conf.json +++ b/config/jsdoc/api/conf.json @@ -1,7 +1,7 @@ { "opts": { "recurse": true, - "template": "buildcfg/jsdoc/api/template" + "template": "config/jsdoc/api/template" }, "tags": { "allowUnknownTags": true @@ -17,12 +17,12 @@ }, "plugins": [ "node_modules/jsdoc/plugins/markdown", - "buildcfg/jsdoc/api/plugins/inheritdoc", - "buildcfg/jsdoc/api/plugins/interface", - "buildcfg/jsdoc/api/plugins/typedefs", - "buildcfg/jsdoc/api/plugins/events", - "buildcfg/jsdoc/api/plugins/observable", - "buildcfg/jsdoc/api/plugins/api" + "config/jsdoc/api/plugins/inheritdoc", + "config/jsdoc/api/plugins/interface", + "config/jsdoc/api/plugins/typedefs", + "config/jsdoc/api/plugins/events", + "config/jsdoc/api/plugins/observable", + "config/jsdoc/api/plugins/api" ], "markdown": { "parser": "gfm" diff --git a/buildcfg/jsdoc/api/index.md b/config/jsdoc/api/index.md similarity index 100% rename from buildcfg/jsdoc/api/index.md rename to config/jsdoc/api/index.md diff --git a/buildcfg/jsdoc/api/plugins/api.js b/config/jsdoc/api/plugins/api.js similarity index 100% rename from buildcfg/jsdoc/api/plugins/api.js rename to config/jsdoc/api/plugins/api.js diff --git a/buildcfg/jsdoc/api/plugins/events.js b/config/jsdoc/api/plugins/events.js similarity index 100% rename from buildcfg/jsdoc/api/plugins/events.js rename to config/jsdoc/api/plugins/events.js diff --git a/buildcfg/jsdoc/api/plugins/inheritdoc.js b/config/jsdoc/api/plugins/inheritdoc.js similarity index 100% rename from buildcfg/jsdoc/api/plugins/inheritdoc.js rename to config/jsdoc/api/plugins/inheritdoc.js diff --git a/buildcfg/jsdoc/api/plugins/interface.js b/config/jsdoc/api/plugins/interface.js similarity index 100% rename from buildcfg/jsdoc/api/plugins/interface.js rename to config/jsdoc/api/plugins/interface.js diff --git a/buildcfg/jsdoc/api/plugins/observable.js b/config/jsdoc/api/plugins/observable.js similarity index 100% rename from buildcfg/jsdoc/api/plugins/observable.js rename to config/jsdoc/api/plugins/observable.js diff --git a/buildcfg/jsdoc/api/plugins/typedefs.js b/config/jsdoc/api/plugins/typedefs.js similarity index 100% rename from buildcfg/jsdoc/api/plugins/typedefs.js rename to config/jsdoc/api/plugins/typedefs.js diff --git a/buildcfg/jsdoc/api/readme.md b/config/jsdoc/api/readme.md similarity index 100% rename from buildcfg/jsdoc/api/readme.md rename to config/jsdoc/api/readme.md diff --git a/buildcfg/jsdoc/api/template/README.md b/config/jsdoc/api/template/README.md similarity index 100% rename from buildcfg/jsdoc/api/template/README.md rename to config/jsdoc/api/template/README.md diff --git a/buildcfg/jsdoc/api/template/less/common.less b/config/jsdoc/api/template/less/common.less similarity index 100% rename from buildcfg/jsdoc/api/template/less/common.less rename to config/jsdoc/api/template/less/common.less diff --git a/buildcfg/jsdoc/api/template/less/footer.less b/config/jsdoc/api/template/less/footer.less similarity index 100% rename from buildcfg/jsdoc/api/template/less/footer.less rename to config/jsdoc/api/template/less/footer.less diff --git a/buildcfg/jsdoc/api/template/less/jaguar.less b/config/jsdoc/api/template/less/jaguar.less similarity index 100% rename from buildcfg/jsdoc/api/template/less/jaguar.less rename to config/jsdoc/api/template/less/jaguar.less diff --git a/buildcfg/jsdoc/api/template/less/main.less b/config/jsdoc/api/template/less/main.less similarity index 100% rename from buildcfg/jsdoc/api/template/less/main.less rename to config/jsdoc/api/template/less/main.less diff --git a/buildcfg/jsdoc/api/template/less/navigation.less b/config/jsdoc/api/template/less/navigation.less similarity index 100% rename from buildcfg/jsdoc/api/template/less/navigation.less rename to config/jsdoc/api/template/less/navigation.less diff --git a/buildcfg/jsdoc/api/template/publish.js b/config/jsdoc/api/template/publish.js similarity index 100% rename from buildcfg/jsdoc/api/template/publish.js rename to config/jsdoc/api/template/publish.js diff --git a/buildcfg/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.eot b/config/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from buildcfg/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.eot rename to config/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.eot diff --git a/buildcfg/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.svg b/config/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from buildcfg/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.svg rename to config/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.svg diff --git a/buildcfg/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.ttf b/config/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from buildcfg/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.ttf rename to config/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.ttf diff --git a/buildcfg/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.woff b/config/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from buildcfg/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.woff rename to config/jsdoc/api/template/static/fonts/glyphicons-halflings-regular.woff diff --git a/buildcfg/jsdoc/api/template/static/scripts/bootstrap.min.js b/config/jsdoc/api/template/static/scripts/bootstrap.min.js similarity index 100% rename from buildcfg/jsdoc/api/template/static/scripts/bootstrap.min.js rename to config/jsdoc/api/template/static/scripts/bootstrap.min.js diff --git a/buildcfg/jsdoc/api/template/static/scripts/jquery.min.js b/config/jsdoc/api/template/static/scripts/jquery.min.js similarity index 100% rename from buildcfg/jsdoc/api/template/static/scripts/jquery.min.js rename to config/jsdoc/api/template/static/scripts/jquery.min.js diff --git a/buildcfg/jsdoc/api/template/static/scripts/jquery.min.map b/config/jsdoc/api/template/static/scripts/jquery.min.map similarity index 100% rename from buildcfg/jsdoc/api/template/static/scripts/jquery.min.map rename to config/jsdoc/api/template/static/scripts/jquery.min.map diff --git a/buildcfg/jsdoc/api/template/static/scripts/linenumber.js b/config/jsdoc/api/template/static/scripts/linenumber.js similarity index 100% rename from buildcfg/jsdoc/api/template/static/scripts/linenumber.js rename to config/jsdoc/api/template/static/scripts/linenumber.js diff --git a/buildcfg/jsdoc/api/template/static/scripts/main.js b/config/jsdoc/api/template/static/scripts/main.js similarity index 100% rename from buildcfg/jsdoc/api/template/static/scripts/main.js rename to config/jsdoc/api/template/static/scripts/main.js diff --git a/buildcfg/jsdoc/api/template/static/scripts/prettify/Apache-License-2.0.txt b/config/jsdoc/api/template/static/scripts/prettify/Apache-License-2.0.txt similarity index 100% rename from buildcfg/jsdoc/api/template/static/scripts/prettify/Apache-License-2.0.txt rename to config/jsdoc/api/template/static/scripts/prettify/Apache-License-2.0.txt diff --git a/buildcfg/jsdoc/api/template/static/scripts/prettify/lang-css.js b/config/jsdoc/api/template/static/scripts/prettify/lang-css.js similarity index 100% rename from buildcfg/jsdoc/api/template/static/scripts/prettify/lang-css.js rename to config/jsdoc/api/template/static/scripts/prettify/lang-css.js diff --git a/buildcfg/jsdoc/api/template/static/scripts/prettify/prettify.js b/config/jsdoc/api/template/static/scripts/prettify/prettify.js similarity index 100% rename from buildcfg/jsdoc/api/template/static/scripts/prettify/prettify.js rename to config/jsdoc/api/template/static/scripts/prettify/prettify.js diff --git a/buildcfg/jsdoc/api/template/static/scripts/underscore-min.js b/config/jsdoc/api/template/static/scripts/underscore-min.js similarity index 100% rename from buildcfg/jsdoc/api/template/static/scripts/underscore-min.js rename to config/jsdoc/api/template/static/scripts/underscore-min.js diff --git a/buildcfg/jsdoc/api/template/static/scripts/underscore-min.map b/config/jsdoc/api/template/static/scripts/underscore-min.map similarity index 100% rename from buildcfg/jsdoc/api/template/static/scripts/underscore-min.map rename to config/jsdoc/api/template/static/scripts/underscore-min.map diff --git a/buildcfg/jsdoc/api/template/static/styles/bootstrap.min.css b/config/jsdoc/api/template/static/styles/bootstrap.min.css similarity index 100% rename from buildcfg/jsdoc/api/template/static/styles/bootstrap.min.css rename to config/jsdoc/api/template/static/styles/bootstrap.min.css diff --git a/buildcfg/jsdoc/api/template/static/styles/jaguar.css b/config/jsdoc/api/template/static/styles/jaguar.css similarity index 100% rename from buildcfg/jsdoc/api/template/static/styles/jaguar.css rename to config/jsdoc/api/template/static/styles/jaguar.css diff --git a/buildcfg/jsdoc/api/template/static/styles/prettify-jsdoc.css b/config/jsdoc/api/template/static/styles/prettify-jsdoc.css similarity index 100% rename from buildcfg/jsdoc/api/template/static/styles/prettify-jsdoc.css rename to config/jsdoc/api/template/static/styles/prettify-jsdoc.css diff --git a/buildcfg/jsdoc/api/template/static/styles/prettify-tomorrow.css b/config/jsdoc/api/template/static/styles/prettify-tomorrow.css similarity index 100% rename from buildcfg/jsdoc/api/template/static/styles/prettify-tomorrow.css rename to config/jsdoc/api/template/static/styles/prettify-tomorrow.css diff --git a/buildcfg/jsdoc/api/template/tmpl/container.tmpl b/config/jsdoc/api/template/tmpl/container.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/container.tmpl rename to config/jsdoc/api/template/tmpl/container.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/details.tmpl b/config/jsdoc/api/template/tmpl/details.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/details.tmpl rename to config/jsdoc/api/template/tmpl/details.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/example.tmpl b/config/jsdoc/api/template/tmpl/example.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/example.tmpl rename to config/jsdoc/api/template/tmpl/example.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/examples.tmpl b/config/jsdoc/api/template/tmpl/examples.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/examples.tmpl rename to config/jsdoc/api/template/tmpl/examples.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/exceptions.tmpl b/config/jsdoc/api/template/tmpl/exceptions.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/exceptions.tmpl rename to config/jsdoc/api/template/tmpl/exceptions.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/layout.tmpl b/config/jsdoc/api/template/tmpl/layout.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/layout.tmpl rename to config/jsdoc/api/template/tmpl/layout.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/mainpage.tmpl b/config/jsdoc/api/template/tmpl/mainpage.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/mainpage.tmpl rename to config/jsdoc/api/template/tmpl/mainpage.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/members.tmpl b/config/jsdoc/api/template/tmpl/members.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/members.tmpl rename to config/jsdoc/api/template/tmpl/members.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/method.tmpl b/config/jsdoc/api/template/tmpl/method.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/method.tmpl rename to config/jsdoc/api/template/tmpl/method.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/navigation.tmpl b/config/jsdoc/api/template/tmpl/navigation.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/navigation.tmpl rename to config/jsdoc/api/template/tmpl/navigation.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/observables.tmpl b/config/jsdoc/api/template/tmpl/observables.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/observables.tmpl rename to config/jsdoc/api/template/tmpl/observables.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/params.tmpl b/config/jsdoc/api/template/tmpl/params.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/params.tmpl rename to config/jsdoc/api/template/tmpl/params.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/properties.tmpl b/config/jsdoc/api/template/tmpl/properties.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/properties.tmpl rename to config/jsdoc/api/template/tmpl/properties.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/returns.tmpl b/config/jsdoc/api/template/tmpl/returns.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/returns.tmpl rename to config/jsdoc/api/template/tmpl/returns.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/source.tmpl b/config/jsdoc/api/template/tmpl/source.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/source.tmpl rename to config/jsdoc/api/template/tmpl/source.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/stability.tmpl b/config/jsdoc/api/template/tmpl/stability.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/stability.tmpl rename to config/jsdoc/api/template/tmpl/stability.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/tutorial.tmpl b/config/jsdoc/api/template/tmpl/tutorial.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/tutorial.tmpl rename to config/jsdoc/api/template/tmpl/tutorial.tmpl diff --git a/buildcfg/jsdoc/api/template/tmpl/type.tmpl b/config/jsdoc/api/template/tmpl/type.tmpl similarity index 100% rename from buildcfg/jsdoc/api/template/tmpl/type.tmpl rename to config/jsdoc/api/template/tmpl/type.tmpl diff --git a/buildcfg/jsdoc/info/api-plugin.js b/config/jsdoc/info/api-plugin.js similarity index 100% rename from buildcfg/jsdoc/info/api-plugin.js rename to config/jsdoc/info/api-plugin.js diff --git a/buildcfg/jsdoc/info/conf.json b/config/jsdoc/info/conf.json similarity index 59% rename from buildcfg/jsdoc/info/conf.json rename to config/jsdoc/info/conf.json index c66f3993ab..e1c181a914 100644 --- a/buildcfg/jsdoc/info/conf.json +++ b/config/jsdoc/info/conf.json @@ -1,7 +1,7 @@ { "opts": { "recurse": true, - "template": "buildcfg/jsdoc/info" + "template": "config/jsdoc/info" }, "tags": { "allowUnknownTags": true @@ -10,7 +10,7 @@ "includePattern": "\\.js$" }, "plugins": [ - "buildcfg/jsdoc/info/api-plugin", - "buildcfg/jsdoc/info/define-plugin" + "config/jsdoc/info/api-plugin", + "config/jsdoc/info/define-plugin" ] } diff --git a/buildcfg/jsdoc/info/define-plugin.js b/config/jsdoc/info/define-plugin.js similarity index 100% rename from buildcfg/jsdoc/info/define-plugin.js rename to config/jsdoc/info/define-plugin.js diff --git a/buildcfg/jsdoc/info/publish.js b/config/jsdoc/info/publish.js similarity index 100% rename from buildcfg/jsdoc/info/publish.js rename to config/jsdoc/info/publish.js diff --git a/buildcfg/ol-debug.json b/config/ol-debug.json similarity index 100% rename from buildcfg/ol-debug.json rename to config/ol-debug.json diff --git a/buildcfg/ol.json b/config/ol.json similarity index 100% rename from buildcfg/ol.json rename to config/ol.json diff --git a/config/readme.md b/config/readme.md new file mode 100644 index 0000000000..200d20e8f7 --- /dev/null +++ b/config/readme.md @@ -0,0 +1,3 @@ +# Configuration Files + +This directory includes configuration files for the build scripts in and documentation templates. diff --git a/tasks/generate-info.js b/tasks/generate-info.js index 724049553e..bf3ef4357e 100644 --- a/tasks/generate-info.js +++ b/tasks/generate-info.js @@ -15,7 +15,7 @@ var externsPaths = [ var infoPath = path.join(__dirname, '..', 'build', 'info.json'); var jsdoc = path.join(__dirname, '..', 'node_modules', '.bin', 'jsdoc'); var jsdocConfig = path.join( - __dirname, '..', 'buildcfg', 'jsdoc', 'info', 'conf.json'); + __dirname, '..', 'config', 'jsdoc', 'info', 'conf.json'); /**