Commit Graph

159 Commits

Author SHA1 Message Date
Parker Lougheed
76f03359b1
Update dartdoc to 6.1.3 (#116474)
No longer generates weird constructor-like calls interspersed.

Fixes https://github.com/dart-lang/dartdoc/issues/3201
2022-12-06 21:10:10 +00:00
godofredoc
c3e5612362
Zip api docs using the repo under test script. (#116437)
This is to move more logic to the repo under test and remove them from
recipes.

Bug: https://github.com/flutter/flutter/issues/115489
2022-12-02 22:46:07 +00:00
Kevin Moore
38a5571e91
Rev dartdoc to 6.1.2 (#112664) 2022-09-29 20:55:30 +00:00
Dan Field
d905fbab0d
Rev dartdoc to 6.1.1 (#111767) 2022-09-16 20:35:49 +00:00
Michael Goderbauer
49a52ae8d1
Bump dartdoc to 6.0.0 (#107194) 2022-07-06 23:24:08 +00:00
Michael Goderbauer
28d817e708
Bump dartdoc to 5.1.2 (#104097) 2022-05-18 17:57:13 -07:00
Michael Goderbauer
0a5a641f8f
Bump snippets tool to 0.3.0 (#103751) 2022-05-13 14:49:26 -07:00
Michael Goderbauer
8bec125aaf
Avoid analyzing API example code twice, clean-up (#103548) 2022-05-11 21:27:45 -07:00
Michael Goderbauer
fe6d09a9ef
Bump Dartdoc to 5.0.1 (#101783) 2022-04-13 09:31:19 -07:00
Greg Spencer
c7643cf54e
Fix samples so that they present properly in the docs (#97224) 2022-02-24 18:51:22 -08:00
Kevin Moore
d1cd614338
dev: Drop domain verification file (#94124) 2021-11-23 16:03:02 -08:00
Janice Collins
b98ed1b39d
Update dartdoc to 4.1.0. (#92446) 2021-10-26 09:03:02 -07:00
Janice Collins
35fe52cb86
Update dartdoc to 4.0.0 (#91252) 2021-10-04 14:08:04 -07:00
Greg Spencer
7b8a3c1bcd
Force building of snippets package executable. (#91110)
This fixes an issue with the Dart Head-Head-Head CI bot, where it was seeing failures because of concurrent execution of the snippets tool.

It adds a single run of the snippets tool right after activation to force the compiling of the package executable, which is what has trouble with concurrent invocation.

This is a temporary measure until dart pub global run is fixed.
2021-10-04 12:17:27 -07:00
Greg Spencer
fd9ce27748
Clean up examples, remove section markers and --template args (#91133)
This does a cleanup of the examples, removing all of the "section" markers and extra comments that we don't need anymore now that the samples are no longer in the source code. It also removes the --template arguments from the {@tool dartpad} and {@tool sample} directives, since those are no longer used. It converts two examples that I discovered were still embedded into linked examples in the examples folder.

I didn't delete the templates from the snippets config folder yet, because there are still embedded samples in the dart:ui package from the engine that use them. Once dart:ui no longer uses the templates, they can be removed.

I bumped the version of the snippets package to pick up a change that allows removal of the --template argument.
2021-10-04 12:16:17 -07:00
Janice Collins
2d909fcc5b
Update dartdoc to v3.1.0. (#90415) 2021-09-24 14:03:07 -07:00
Janice Collins
0353fa282b
Update dartdoc to 3.0.0 (#89603) 2021-09-08 12:32:06 -07:00
Greg Spencer
a7310dc0d4
Eliminate uses of pub executable in docs publishing and sample analysis. (#89181) 2021-08-30 12:16:05 -07:00
Janice Collins
f74be66494
Update dartdoc to 2.0.0. (#88729) 2021-08-23 14:27:04 -07:00
Greg Spencer
2a42069b2a
Bump snippets to 0.2.3, fix redundant global activate in docs.sh (#88123) 2021-08-12 17:37:05 -07:00
Greg Spencer
10e4b04010
Switch document generation to use the snippets package (#87231)
Switch document generation to use the snippets package instead of the snippets code in the Flutter repo. In the process, some bugs in sample code analysis have been fixed, and I've fixed some more errors in the samples.

This will allow the snippets package to be developed separately from the Flutter repo, and reduce the code in the Flutter repo.

The snippets code is deleted in this PR.

I also converted some comments in the snippet templates to be regular comments instead of doc comments, because having a doc comment block before the imports causes the Dart import sorter to lose the comment. They should have been regular comments in the first place.

The snippets package resides in the assets-for-api-docs repo.

The sample analysis has also been converted to be run in parallel, and I've bumped the Dartdoc version to 1.0.2.
2021-08-11 19:48:29 -07:00
Janice Collins
0825f49ed4
Update dartdoc to 1.0.0 (#85549)
This includes some major internal changes that should improve performance (the AOT template compiler) and the new lookup code. The big changes noticeable for Flutter will be resolution of field formal parameters, extension method support, and more consistent disambiguation in comment reference lookups.

While a vast net improvement, this PR will change a few links to point to the wrong place. #85484 will address that after this lands, as there was no good way to specify what the user wanted unambiguously before dartdoc 1.0.0 in a few cases. That PR includes more details on the introduced regressions and link changes.
2021-06-29 14:19:19 -07:00
Janice Collins
e6f2e2a38d
Update dartdoc to 0.45.0 (#84130) 2021-06-07 12:29:05 -07:00
Janice Collins
c5bbe7552a
Update dartdoc to 0.44.0. (#83352) 2021-05-25 13:04:02 -07:00
Janice Collins
cb57480bdd
Update dartdoc to 0.43.0. (#82362) 2021-05-18 08:54:02 -07:00
Janice Collins
82551118b8
Update dartdoc to 0.42.0 (#79795) 2021-04-05 14:09:03 -07:00
Janice Collins
4d062996d3
Update dartdoc to 0.41.0 (#79304) 2021-03-29 21:34:02 -07:00
Janice Collins
b300efcd8f
Update dartdoc to 0.40.0. (#76820) 2021-02-25 15:06:04 -08:00
Janice Collins
d1f78b48ea
Update dartdoc to 0.38.0 (#71935) 2020-12-08 16:13:04 -08:00
Janice Collins
a5519dc75e
Update dartdoc to 0.37.0 (#70882) 2020-11-20 11:18:07 -08:00
Janice Collins
c2054196a7
Update dartdoc to 0.36.2 (#69693) 2020-11-03 12:08:03 -08:00
Janice Collins
dcc8ced8e4
Update to dartdoc 0.36.1 (#68791) 2020-10-22 14:13:50 -07:00
Janice Collins
4a59ee9c31
Updated dartdoc to 0.36.0 (#68641) 2020-10-21 08:47:02 -07:00
godofredoc
f8f6963cd1
Fix docset generation. (#67025)
* Fix docset generation.

* Remove checks to be able to test.

* More logging

* More logging

* More logging.

* more logging.

* More logging.

* Add flags to firebase command.

* Re-enable docset generation.

* Disable firebase step.

* Comment docset to speed up validations.

* Re-enable docset.

* Add back condition to prevent uploading docs from PRs.
2020-10-13 17:06:49 -07:00
Janice Collins
e9a9a6104c
Update dartdoc to 0.35.0 (#67432) 2020-10-07 08:47:05 -07:00
Michael Goderbauer
923eb765f0
Bump dartdoc to 0.34.0 (#66048) 2020-09-22 12:57:13 -07:00
Christopher Fujino
d6e308c578
Don't fail docs-linux on release branches (#64203) 2020-08-19 18:16:05 -07:00
Michael Goderbauer
3e867f78db
Fix assert in dartdoc_checker and enable asserts (#64111) 2020-08-18 19:11:05 -07:00
Michael Goderbauer
e1a09622df
Bump dartdoc to 0.30.4 (#64112) 2020-08-18 17:31:04 -07:00
Michael Goderbauer
e49a57660d
Bump dartdoc to 0.32.3 and tighten doc quality checker (#63111) 2020-08-07 20:41:04 -07:00
Ian Hickson
209e3e9fd6
Update docs.sh (#62814) 2020-08-05 19:21:08 -07:00
Todd Volkert
8c5c720ce6
Temporarily disable docset generation (#62386)
https://github.com/flutter/flutter/issues/60646
2020-07-28 01:07:42 -07:00
Todd Volkert
39fa00201d
Use in-memory disk for docs shards (#62373)
https://github.com/flutter/flutter/issues/60646
2020-07-27 21:11:43 -07:00
Todd Volkert
271b8dd674
Fix doc generation scripts (#62340) 2020-07-27 08:46:57 -07:00
Todd Volkert
8e0eee9008
Sub-shard the docs shard (#62281)
Separate out offline docs, docset generation, and docs deployment
each into dedicated shards.

https://github.com/flutter/flutter/issues/60646
2020-07-26 23:38:01 -07:00
Todd Volkert
35e7005184
Rather than timing out dashing, run it in background (#62251)
https://github.com/flutter/flutter/issues/60646
2020-07-25 09:44:17 -07:00
Todd Volkert
5a290fc84d
Add --disable-dart-dev to docs.sh (#62249)
https://github.com/flutter/flutter/issues/62206
2020-07-24 23:51:41 -07:00
Todd Volkert
81bf39e4a9
Print date/time for each step taken in docs.sh (#62248)
This will allow us to see in the logs how long each step takes
2020-07-24 22:38:17 -07:00
Christopher Fujino
e3ad0345ba
add a timeout to dashing (#60723) 2020-07-01 19:41:41 -07:00
Janice Collins
d2572c8fb7
Update dartdoc version to 0.31.0 (#55335) 2020-04-21 19:33:02 -07:00