Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Issue 9705088: Generate API docs during build. (Closed)

Created:
8 years, 9 months ago by Bob Nystrom
Modified:
8 years, 8 months ago
CC:
reviews_dartlang.org, sethladd
Visibility:
Public.

Description

Generate API docs during build. Committed: https://code.google.com/p/dart/source/detail?r=6065

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase. #

Patch Set 3 : Respond to review. #

Patch Set 4 : Port list_files back to python. #

Total comments: 7

Patch Set 5 : Rebase and add TODO. #

Patch Set 6 : Rebase again. #

Patch Set 7 : Rerebase again again. #

Patch Set 8 : Fix arg parsing. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -7 lines) Patch
M dart.gyp View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M frog/reader.dart View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M lib/dartdoc/dartdoc.dart View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M utils/apidoc/apidoc.dart View 1 2 3 4 5 6 7 3 chunks +6 lines, -5 lines 0 comments Download
A utils/apidoc/apidoc.gyp View 1 2 3 4 5 6 7 1 chunk +34 lines, -0 lines 3 comments Download
A utils/apidoc/scripts/list_files.dart View 1 2 4 1 chunk +42 lines, -0 lines 0 comments Download
A utils/apidoc/scripts/list_files.py View 1 2 3 4 1 chunk +35 lines, -0 lines 1 comment Download

Messages

Total messages: 13 (0 generated)
Bob Nystrom
This is my first attempt at hooking up generating our API docs to the regular ...
8 years, 9 months ago (2012-03-16 01:30:31 UTC) #1
ahe
I know, GYP is complicated. Let me know if you want me to make the ...
8 years, 9 months ago (2012-03-16 08:07:40 UTC) #2
Bob Nystrom
On 2012/03/16 08:07:40, ahe wrote: > I know, GYP is complicated. Let me know if ...
8 years, 9 months ago (2012-03-16 23:48:17 UTC) #3
ahe
On 2012/03/16 23:48:17, Bob Nystrom wrote: > Thanks. I want to understand more about how ...
8 years, 9 months ago (2012-03-17 20:14:05 UTC) #4
Bob Nystrom
How does it look now? https://chromiumcodereview.appspot.com/9705088/diff/1/dart.gyp File dart.gyp (right): https://chromiumcodereview.appspot.com/9705088/diff/1/dart.gyp#newcode110 dart.gyp:110: 'target_name': 'api_docs', On 2012/03/16 ...
8 years, 8 months ago (2012-03-28 20:19:36 UTC) #5
Bob Nystrom
With Siggy's help, I figured out what was going on. You can't exactly invoke dart ...
8 years, 8 months ago (2012-03-28 21:37:29 UTC) #6
Bob Nystrom
8 years, 8 months ago (2012-03-30 17:33:36 UTC) #7
dgrove
https://chromiumcodereview.appspot.com/9705088/diff/11001/utils/apidoc/apidoc.dart File utils/apidoc/apidoc.dart (right): https://chromiumcodereview.appspot.com/9705088/diff/11001/utils/apidoc/apidoc.dart#newcode50 utils/apidoc/apidoc.dart:50: final compilerPath = joinPaths(frogPath, 'minfrog'); minfrog is going away. ...
8 years, 8 months ago (2012-03-30 17:46:31 UTC) #8
Bob Nystrom
Thanks! https://chromiumcodereview.appspot.com/9705088/diff/11001/utils/apidoc/apidoc.dart File utils/apidoc/apidoc.dart (right): https://chromiumcodereview.appspot.com/9705088/diff/11001/utils/apidoc/apidoc.dart#newcode50 utils/apidoc/apidoc.dart:50: final compilerPath = joinPaths(frogPath, 'minfrog'); On 2012/03/30 17:46:31, ...
8 years, 8 months ago (2012-03-30 18:01:40 UTC) #9
dgrove
lgtm https://chromiumcodereview.appspot.com/9705088/diff/11001/utils/apidoc/apidoc.dart File utils/apidoc/apidoc.dart (right): https://chromiumcodereview.appspot.com/9705088/diff/11001/utils/apidoc/apidoc.dart#newcode50 utils/apidoc/apidoc.dart:50: final compilerPath = joinPaths(frogPath, 'minfrog'); yes. this can ...
8 years, 8 months ago (2012-03-30 18:16:24 UTC) #10
Bob Nystrom
Thanks! https://chromiumcodereview.appspot.com/9705088/diff/11001/utils/apidoc/scripts/list_files.py File utils/apidoc/scripts/list_files.py (right): https://chromiumcodereview.appspot.com/9705088/diff/11001/utils/apidoc/scripts/list_files.py#newcode8 utils/apidoc/scripts/list_files.py:8: # need to be regenerated (see `apidoc.gyp`). On ...
8 years, 8 months ago (2012-03-30 19:00:58 UTC) #11
Ivan Posva
LGTM -ip https://chromiumcodereview.appspot.com/9705088/diff/19019/utils/apidoc/scripts/list_files.py File utils/apidoc/scripts/list_files.py (right): https://chromiumcodereview.appspot.com/9705088/diff/19019/utils/apidoc/scripts/list_files.py#newcode10 utils/apidoc/scripts/list_files.py:10: # TODO(rnystrom): Port this to dart. It ...
8 years, 8 months ago (2012-03-30 21:45:01 UTC) #12
ahe
8 years, 8 months ago (2012-04-19 09:25:26 UTC) #13
https://chromiumcodereview.appspot.com/9705088/diff/19019/utils/apidoc/apidoc...
File utils/apidoc/apidoc.gyp (right):

https://chromiumcodereview.appspot.com/9705088/diff/19019/utils/apidoc/apidoc...
utils/apidoc/apidoc.gyp:18: '<(PRODUCT_DIR)/dart',
As I'm learning more about Windows, I think this should be:

'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',

https://chromiumcodereview.appspot.com/9705088/diff/19019/utils/apidoc/apidoc...
utils/apidoc/apidoc.gyp:22: '<(PRODUCT_DIR)/api_docs',
I think this output is a directory. That is still a problem for the same reasons
I mentioned in my previous comments.

https://chromiumcodereview.appspot.com/9705088/diff/19019/utils/apidoc/apidoc...
utils/apidoc/apidoc.gyp:25: '<(PRODUCT_DIR)/dart',
See comment above.

Powered by Google App Engine
This is Rietveld 408576698