-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix #1475. Add documentation using docma: gets markdown from docs dir gets jsdoc from reducers, actions, epics, components and plugins create a single page application to deploy inside mapstore2 directly Fixes #1300 documenting some plugins, together with actions, reducers, epics
- Loading branch information
1 parent
c735782
commit fa7095c
Showing
15 changed files
with
563 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,7 @@ set -e | |
npm install | ||
npm run compile | ||
npm run lint | ||
npm run doc | ||
npm test | ||
mvn clean install | ||
npm run cleandoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
{ | ||
"debug": 1, | ||
"jsdoc": { | ||
"encoding": "utf8", | ||
"recurse": false, | ||
"pedantic": false, | ||
"access": null, | ||
"package": null, | ||
"module": true, | ||
"undocumented": false, | ||
"undescribed": false, | ||
"hierarchy": true, | ||
"sort": "alphabetic", | ||
"relativePath": null, | ||
"filter": null, | ||
"allowUnknownTags": true, | ||
"plugins": ["plugins/markdown"] | ||
}, | ||
"markdown": { | ||
"gfm": true, | ||
"tables": true, | ||
"breaks": false, | ||
"pedantic": false, | ||
"sanitize": false, | ||
"smartLists": true, | ||
"smartypants": false, | ||
"tasks": true, | ||
"emoji": true | ||
}, | ||
"app": { | ||
"title": "MapStore 2 documentation", | ||
"base": "/mapstore/docs", | ||
"entrance": "content:readme", | ||
"routing": { "method": "path", "caseSensitive": true } | ||
}, | ||
"template": { | ||
"path": "default", | ||
"options": { | ||
"title": "MapStore 2", | ||
"sidebar": true, | ||
"collapsed": false, | ||
"outline": "tree", | ||
"badges": true, | ||
"search": true, | ||
"navbar": true, | ||
"navItems": [ | ||
{ | ||
"iconClass": "ico-book", | ||
"label": "Guides", | ||
"items": [ | ||
{ "label": "Home", "href": "./" }, | ||
{ "separator": true }, | ||
{ "label": "Developer's guide", "href": "developer-guide" }, | ||
{ "separator": true }, | ||
{ "label": "Plugins Architecture", "href": "plugins-architecture" }, | ||
{ "label": "Configuring Plugins", "href": "plugins-documentation" }, | ||
{ "separator": true }, | ||
{ "label": "Project Creation Script", "href": "project-creation-script" } | ||
] | ||
}, | ||
{ | ||
"iconClass": "ico-mouse-pointer", | ||
"label": "Reference", | ||
"items": [ | ||
{ "label": "Components", "href": "api/components"}, | ||
{ "label": "Actions", "href": "api/actions" }, | ||
{ "label": "Reducers", "href": "api/reducers" }, | ||
{ "label": "Epics", "href": "api/epics" }, | ||
{ "separator": true }, | ||
{ "label": "Plugins", "href": "api/plugins" } | ||
|
||
] | ||
}, | ||
{ | ||
"iconClass": "ico-md ico-download", | ||
"label": "Download", | ||
"href": "index.html", | ||
"items": [ | ||
{ "label": "<code>mvn clean install</code>" }, | ||
{ | ||
"label": "MapStore 2 Releases", | ||
"href": "https://github.com/geosolutions-it/MapStore2/releases", | ||
"target": "_blank" | ||
}, | ||
{ | ||
"label": "MapStore 2 tar.gz", | ||
"href": "https://github.com/geosolutions-it/MapStore2/tarball/master", | ||
"target": "_blank" | ||
}, | ||
{ | ||
"label": "MapStore 2 .zip", | ||
"href": "https://github.com/geosolutions-it/MapStore2/zipball/master", | ||
"target": "_blank" | ||
} | ||
|
||
] | ||
}, | ||
{ | ||
"iconClass": "ico-md ico-github", | ||
"label": "GitHub", | ||
"href": "https://github.com/geosolutions-it/MapStore2", | ||
"target": "_blank" | ||
} | ||
] | ||
} | ||
}, | ||
"src": [ | ||
{ | ||
"components" : ["web/client/components/mapcontrols/search/SearchBar.jsx"], | ||
"actions" : ["web/client/actions/search.js"], | ||
"reducers" : ["web/client/reducers/search.js"], | ||
"epics": "web/client/epics/search.js", | ||
"plugins": [ | ||
"web/client/plugins/Search.jsx", | ||
"web/client/plugins/BackgroundSwitcher.jsx", | ||
"web/client/plugins/Map.jsx", | ||
"web/client/plugins/Identify.jsx" | ||
] | ||
}, | ||
"./docs/**/*md", | ||
{ | ||
"readme": "./README.md", | ||
"site": "./docs/index.md", | ||
"developer-guide": "./docs/developer-guide/index.md", | ||
"plugins-architecture": "./docs/developer-guide/plugins-architecture.md", | ||
"building-and-developing": "./docs/developer-guide/plugins-architecture.md", | ||
"plugins-documentation": "./docs/developer-guide/plugins-documentation.md", | ||
"project-creation-script": "./docs/developer-guide/project-creation-script.md" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.