Commit Graph

53 Commits

Author SHA1 Message Date
alanknight@google.com 71dd6daaad Let docgen detect a dart-sdk directory that's differently named, and do it correctly on bleeding edge
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42112 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-04 17:10:15 +00:00
alanknight@google.com 48ff3ccd27 Rename snapshot, other user-visible parts of docgen to dartdocgen.
BUG=
R=ricow@google.com

Committed: https://code.google.com/p/dart/source/detail?r=41529

Committed: https://code.google.com/p/dart/source/detail?r=41571

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41573 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:41:25 +00:00
alanknight@google.com 57aede2e75 "Reverting 41571"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41572 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:27:52 +00:00
alanknight@google.com b9be0df603 Rename snapshot, other user-visible parts of docgen to dartdocgen.
BUG=
R=ricow@google.com

Committed: https://code.google.com/p/dart/source/detail?r=41529

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41571 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:15:10 +00:00
alanknight@google.com 844c55185c "Reverting 41529"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41531 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 21:08:12 +00:00
alanknight@google.com 935058524b Rename snapshot, other user-visible parts of docgen to dartdocgen.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41529 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 20:23:08 +00:00
alanknight@google.com dc5e959487 Make --no-include-sdk the default for docgen
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39829 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-03 20:11:51 +00:00
kevmoo@google.com 5e76839f75 pkg/docgen: add --indent-json option
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35054 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-15 00:13:20 +00:00
kevmoo@google.com 2c977913a4 pkg/docgen: removed yaml and append output support
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35039 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-14 20:56:15 +00:00
kevmoo@google.com c4d5d5ff13 pkg/docgen: sort output files
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35032 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-14 17:33:52 +00:00
kevmoo@google.com f4b296daed pkg/docgen: the big refactor
Separated code into mini-libraries
Eliminated "static" classes in favor of named imports

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34313 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-24 16:46:17 +00:00
kevmoo@google.com 91e9411742 pkg/docgen: fix docs for --json flag, bin cleanup
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32774 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 03:07:26 +00:00
kevmoo@google.com 9a10369306 pkg/docgen: removed py files, doc/README.txt, fixed analyzer warning
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32758 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 19:38:12 +00:00
dgrove@google.com c23e071c3e Add --compile flag.
BUG=16716 .
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32639 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 01:07:19 +00:00
dgrove@google.com 22d649cf9a Automatically pass SDK into docgen.dart, and use the SDK for running
pub and the Dart binary. This removes the need to have the SDK in the
PATH when running docgen.

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32632 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 23:23:25 +00:00
alanknight@google.com 68e4bd8794 Use reasonable defaults for docgen if invoked on a single package
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32583 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-11 23:45:00 +00:00
jmesserly@google.com 7d71bc988d introduce web_components pkg to replace shadow_dom, html_import, custom_element. This new package is 100% compatible with the polyfills used by http://www.polymer-project.org/
Deletes:
  pkg/shadow_dom
  pkg/custom_element (except web_ui stuff)
  pkg/html_import

Adds:
  pkg/web_components, with README.md and build instructions

Changes:
  pkg/html5lib -- deprecate queryAll/query in favor of *Selector
  pkg/polymer -- test fixes & a few small changes to work with new polyfills, mostly in build
  tests/html/custom -- can't load the CE polyfill at runtime, must now be injected statically via an HTML page, similar to the style @blois used for some custom element tests.

R=blois@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32533 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-11 01:15:05 +00:00
efortuna@google.com 9d27119a8d Additional refactoring for docgen.`
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32305 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-05 00:50:47 +00:00
alanknight@google.com da43d16ec5 Let users specify the start page of the resulting docs
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32293 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 21:35:32 +00:00
alanknight@google.com 5fe10e575b Print options when given no arguments instead of crashing
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32290 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 21:22:52 +00:00
alanknight@google.com 3730236bdf Add a snapshot for docgen and use it in the build
R=efortuna@google.com, ricow@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32025 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 18:40:34 +00:00
efortuna@google.com 0526aa6904 Add a snapshot for docgen and use it in the build (https://codereview.chromium.org/116043013/)
Also fixed up comments for some inherited object methods.

BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31850 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 21:12:26 +00:00
efortuna@google.com c57b55c5dd Enable re-export in docgen. Work in progress. More to come.
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31793 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-14 18:34:23 +00:00
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