Commit Graph

30 Commits

Author SHA1 Message Date
alanknight@google.com f89a658037 Adds a --include-dependent-packages option to docgen
R=efortuna@google.com

Review URL: https://codereview.chromium.org//108473004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30964 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 20:42:02 +00:00
kustermann@google.com f9d7e3e939 Removed dart.gyp:upload_sdk target and tools/upload_sdk.py
R=ricow@google.com

Review URL: https://codereview.chromium.org//84703004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30619 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 12:41:55 +00:00
efortuna@google.com 3713bed8df Expose exported classes as well.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//78713004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30542 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-21 19:26:27 +00:00
alanknight@google.com 03d0cd826f Generate docgen output along with api_docs as part of the build
R=danrubel@google.com, efortuna@google.com, kustermann@google.com, rnystrom@google.com

Review URL: https://codereview.chromium.org//73113002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30485 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 21:51:51 +00:00
alanknight@google.com b7dbc53b05 Stopgap generating docgen all at once until --append mode can be fixed
R=efortuna@google.com

Review URL: https://codereview.chromium.org//63303002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30009 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 23:16:41 +00:00
efortuna@google.com 423f3b9b60 Refactor scripts, so we have a single entrypoint, dartdoc.py, to generate docs.
Also, generate documentation incrementally as a fallback so that some docs are
generated rather than an all-or-nothing approach.

Also, set a "blacklist" instead of a "whitelist" for annotations.

BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//56183003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29780 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 23:18:31 +00:00
alanknight@google.com 8134f01f9e Further fixes for including package information in docs
Review URL: https://codereview.chromium.org//47603014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29606 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 23:00:14 +00:00
whesse@google.com 69205c207c Remove uses of Options from pkg, samples, tests, and third_party directories.
BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//52573002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29552 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 15:17:01 +00:00
alanknight@google.com 0f20feb9ca Make docgen able to generate pkg docs and save the package names
R=terry@google.com

Review URL: https://codereview.chromium.org//35743002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29387 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 20:10:57 +00:00
kathyw@google.com 0f73ac7096 Improve API homepage
R=mcampione@google.com

Review URL: https://codereview.chromium.org//25589006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28292 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 23:58:09 +00:00
alanknight@google.com 301e821da6 Make the dartdoc.py script pull the master version of the client rather than dev
R=efortuna@google.com

Review URL: https://codereview.chromium.org//23892017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27447 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 20:49:54 +00:00
janicejl@google.com 83ae491059 Appending working for library_list.json
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//23003010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26294 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 21:39:04 +00:00
janicejl@google.com 385e47bb60 added the introduction option to the readme, and fixed the spacing on the help message for introduction.
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//23038005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26288 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 18:30:27 +00:00
janicejl@google.com 4247f504cc Added an introduction option by passing in a file with markdown.
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//22831008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26213 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 20:32:43 +00:00
tmandel@google.com e5a4142dfd Added script to run local files on App Engine
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//22488017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26035 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 21:23:23 +00:00
janicejl@google.com 108ff664b7 Added a flag --append to docgen.
Results of docgen append together if append flag is set.

BUG=
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//21184003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25624 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 16:56:57 +00:00
janicejl@google.com a89fca38ca Changed script to use an explicit package root to execute docgen.
BUG=
R=alanknight@google.com, efortuna@google.com

Review URL: https://codereview.chromium.org//19775011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25286 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 17:22:44 +00:00
janicejl@google.com 65c5e02957 Added a uploadsdk python script.
removed docs/ prefix in library_list.txt

R=efortuna@google.com

Review URL: https://codereview.chromium.org//18999006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24932 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-11 23:01:11 +00:00
janicejl@google.com 1707850c87 Removed ArgResult in lib/docgen.dart and removed top level variables.
R=efortuna@google.com

Review URL: https://codereview.chromium.org//18438003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24711 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 00:56:38 +00:00
janicejl@google.com bf625fa3eb Added a flag package-root for users to define where the package directory is.
R=efortuna@google.com

Review URL: https://codereview.chromium.org//18233004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24647 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 19:43:36 +00:00
janicejl@google.com e505d44db4 moved everything inside of the Docgen class into top level variables and functions. Also made most of the helper functions private.
This should aid unit testing as it would be possible to create a mirror system separately, and also generate one library object separately without everything being chained together by the docgen class.

R=efortuna@google.com

Review URL: https://codereview.chromium.org//17943002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24550 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 21:11:57 +00:00
janicejl@google.com 7dc47c68d0 Getting docgen to work with the SDK.
R=amouravski@google.com

Review URL: https://codereview.chromium.org//17745007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24477 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 17:04:41 +00:00
janicejl@google.com 8e081d2f0e finds packageDir from the returned list from listDir.
used pathos package and moved to listDir from pub/lib/src/io.dart

moved listLibraries into the docgen class, and changed return type to Strings.

R=amouravski@google.com

Review URL: https://codereview.chromium.org//17611006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24434 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 21:38:13 +00:00
janicejl@google.com 0bbe2c4920 Added --exclude-lib=docgen so that it does throw an error about markdown when building.
R=efortuna@google.com

Review URL: https://codereview.chromium.org//17608007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24421 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 16:49:11 +00:00
janicejl@google.com e740b1bfd0 "Reverting 24368"
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//17621004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24369 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 21:48:39 +00:00
janicejl@google.com 1bc841e74e docgen working with a temporary link hack.
added checking the environment varaible DART_SDK first, just like how pub does it, also added checking for null in constructor of docgen.

R=efortuna@google.com

Review URL: https://codereview.chromium.org//16915007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24368 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 21:36:06 +00:00
janicejl@google.com 7cd34e372c "Reverting 24208"
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//16975021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24209 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 23:40:17 +00:00
janicejl@google.com 350b57dbed removed unnecessary comments and debug print statements.
added Command Line Arguments, support for directories, hiding private data, not parsing the SDK, removing linebreaks in html comments and added an ID for resolving links later.

beginning work of command line arguments.

BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//16948010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24208 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 23:28:16 +00:00
tmandel@google.com 51443b20b5 Added markdown reference recognition and output to JSON.
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//17000002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24009 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 20:31:14 +00:00
tmandel@google.com d9af545bb5 Moved docgen out of the sdk into pkg/
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//16839004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23935 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 21:31:20 +00:00