Skip to content

Commit

Permalink
feat(app): details on local server while serving
Browse files Browse the repository at this point in the history
  • Loading branch information
vogloblinsky committed Nov 7, 2016
1 parent 5673341 commit 0bc5dff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Options:
-b, --base [base] Base reference of html tag
-n, --name [name] Title documentation
-o, --open Open the generated documentation
-s, --serve Serve generated documentation
-s, --serve Serve generated documentation (default http://localhost:8080/)
-g, --hideGenerator Do not print the Compodoc link at the bottom of the page
```

Expand All @@ -80,10 +80,8 @@ Because we doesn't find our needs on existing tools. We want to have a single pl
- [ ] routes
- [ ] classes
- [ ] support for Angular 1.5+ projects written in Typescript
- [x] module(s) page(s) with ngmodule comments
- [x] module(s) page(s) started
- [x] component(s) page(s) with @component comments, API, class
- [x] component(s) page(s) started
- [x] module(s) page(s) with comments
- [x] component(s) page(s) with comments, API, class
- [x] directives
- [x] injectables
- [x] pipes
Expand Down
6 changes: 3 additions & 3 deletions src/app/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export namespace Application {
.option('-b, --base [base]', 'Base reference of html tag', '/')
.option('-n, --name [name]', 'Title documentation', `Application documentation`)
.option('-o, --open', 'Open the generated documentation', false)
.option('-s, --serve', 'Serve generated documentation', false)
.option('-s, --serve', 'Serve generated documentation (default http://localhost:8080/)', false)
.option('-g, --hideGenerator', 'Do not print the Compodoc link at the bottom of the page', false)
.parse(process.argv);

Expand Down Expand Up @@ -307,8 +307,8 @@ export namespace Application {
};
$ngdengine.renderGraph(program.file, 'documentation/graph', 'p').then(() => {
loop();
}, () => {
logger.error('Error during graph generation');
}, (err) => {
logger.error('Error during graph generation: ', err);
});
}

Expand Down

0 comments on commit 0bc5dff

Please sign in to comment.