Document the version and sha constants.
Update a few additional things related to documentation.
MODIFY
.eslintignore
.eslintignore
-src/vgl/**
-src/version.js
-src/sha.js
-src/util/wigglemaps.js
src/util/distanceGrid.js
dist/**
testing/**

MODIFY
docs/conf.py
docs/conf.py
# All configuration values have a default; values that are commented out
# serve to show the default.
-import sys
+import json
import os
-import shutil
import re
+import sys
from glob import glob
# from subprocess import check_output
@@ -73,7 +73,7 @@ copyright = u'Kitware, Inc.'
# built documents.
#
# The short X.Y version.
-version = '0.16.0'
+version = json.load(open(os.path.join(toppath, 'package.json')))['version']
# The full version, including alpha/beta/rc tags.
release = version

MODIFY
docs/users.rst
docs/users.rst
@@ -29,7 +29,7 @@ list of libraries used by GeoJS.
+---------------------------+------------+---------------------------+
| `earcut`_ | 2.1 | GL polygon feature |
+---------------------------+------------+---------------------------+
- | `jQuery`_ | 2.2 | Core |
+ | `jQuery`_ | 3.3 | Core |
+---------------------------+------------+---------------------------+
.. table:: External GeoJS dependencies

MODIFY
src/index.js
src/index.js
// License headers that will be preserved in distributed bundles.
/**
* GeoJS
- * @copyright 2013-2017, Kitware, Inc.
+ * @copyright 2013-2018, Kitware, Inc.
* @license Apache-2.0
*
* Bundled with the following libraries:

MODIFY
src/sha.js
src/sha.js
+/* global GEO_SHA */
+
+/**
+ * The current geojs git SHA.
+ *
+ * @alias geo.sha
+ * @constant
+ * @type {string}
+ */
module.exports = GEO_SHA;

MODIFY
src/version.js
src/version.js
+/* global GEO_VERSION */
+
+/**
+ * The current geojs version.
+ *
+ * @alias geo.version
+ * @constant
+ * @type {string}
+ */
module.exports = GEO_VERSION;

Document the version and sha constants.

Update a few additional things related to documentation.