Skip to content

Commit

Permalink
Cleanup for the upcoming release
Browse files Browse the repository at this point in the history
- Moved HowToBuildWebWW.md to a new Building section in README.md

- Moved HowToCreateAndRunUnitTests.md to test/README.md

- Ordered npm build scripts to group testing commands

- Moved and renamed JSDoc configuration files to clarify their purpose

- Removed design-notes with the expecation of re-establishing developer focused documentation on the website or wiki.

- Closes #258
  • Loading branch information
pdavidc committed Nov 8, 2017
1 parent d7f8171 commit 6a6593e
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 131 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = function (grunt) {
src: ['src'],
options: {
destination: 'dist/api-doc',
configure: 'config.json',
configure: 'tools/jsdoc.conf.json',
readme: 'README.md',
recurse: true
}
Expand Down
21 changes: 0 additions & 21 deletions HowToBuildWebWW.md

This file was deleted.

14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ The Web WorldWind [Developer's Guide](https://webworldwind.org/developers-guide)
WorldWind's functionality. You'll also find there links to many Web WorldWind resources, including a user guide. The
latest Web WorldWind release provides many simple examples showing how to use all of Web WorldWind's functionality.

## Building

[Install NodeJS](https://nodejs.org/download/). The build is known to work with v6.9.2 (LTS).

- `npm install` downloads WorldWind's dependencies

- `npm run build` builds everything

- `npm run doc` generates the WorldWind API documentation

- `npm run test` runs WorldWind's unit tests

- `npm run test:watch` automatically runs WorldWind's unit tests when source code changes

## Example Usage

Here is a simple web app using Web WorldWind. It is the contents of SimplestExample.html in the example collection. It
Expand Down
42 changes: 0 additions & 42 deletions design-notes/Picking.rtf

This file was deleted.

65 changes: 0 additions & 65 deletions design-notes/SurfaceShapes.rtf

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"scripts": {
"build": "grunt",
"clean": "grunt clean",
"test": "grunt karma",
"doc": "grunt jsdoc",
"test": "grunt karma",
"test:watch": "karma start karma.conf.js"
},
"files": [
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion config.json → tools/jsdoc.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"templates": {
"default": {
"layoutFile": "./layout.tmpl"
"layoutFile": "./jdsoc.layout.tmpl"
}
}
}
File renamed without changes.

0 comments on commit 6a6593e

Please sign in to comment.