Greg Spencer
72d6bcc3f7
Use .pub-cache from Flutter root, if it exists. ( #13248 )
...
The purpose of this PR is to make it so that when the user runs 'flutter', if they have a .pub-cache directory in their flutter root, we use that instead of the default location for the pub cache. Otherwise, it should act as before.
The eventual goal is to support a pre-populated flutter .zip/.tar.gz file that has everything the developer needs in one bundle. In order for that to actually work, we need to have the pub cache be self-contained, and not in the user's home dir.
Another advantage of this is that if you have multiple flutter repos that you're switching between, then the versions in the pub cache will remain static when you switch between them.
2017-12-05 12:02:14 -08:00
Matt Sullivan
f44007c810
Add survey js to docs web site ( #13210 )
...
* Fixed typo in navigator.dart doc comments
* Added survey js to docs template
2017-11-29 09:07:04 -08:00
Devon Carew
00c4c7b023
de-emphasize the footer of the generated docs ( #12514 )
2017-10-13 13:31:32 -07:00
Ian Hickson
6655074b37
Fix documentation based on dartdoc's warnings ( #11428 )
2017-07-28 15:44:38 -07:00
Sarah Zakarias
c838c19e7f
Fix ios doc url ( #11262 )
2017-07-17 23:42:13 +02:00
Sarah Zakarias
d97b13b5fd
Add objc doc to the dartdoc output ( #10905 )
2017-06-26 12:15:24 +02:00
jcollins-g
3f3a36787e
Update dartdoc to 0.13.0+1 for flutter ( #10863 )
2017-06-21 08:01:26 -07:00
jcollins-g
5fee9789e2
Add version information to dartdoc footer ( #10844 )
...
* Add version information to dartdoc footer
* Add final to variable declaration
* Drop toString()
2017-06-20 11:27:37 -07:00
jcollins-g
7fb798f5f1
Upgrade dartdoc to 0.12.0 ( #10296 )
...
* update the docs css style so the generated dartdoc matches the new flutter.io
* Change to 0.12.0 dartdoc
* Review comment
2017-05-25 09:42:55 -07:00
Ian Hickson
ee1db83523
We removed markdown a while ago. ( #10184 )
...
This will get tested once we turn on fatal errors for dartdocs.
We can't do that yet because of upstream failures.
2017-05-19 08:47:14 -07:00
Ian Hickson
1e6c7eb97f
Make docs.sh resilient to not having dart in the path ( #9981 )
2017-05-11 09:42:08 -07:00
jcollins-g
f101ad4e5a
Upgrade dartdoc to 0.11.0 ( #9805 )
2017-05-04 13:28:07 -07:00
jcollins-g
37fafeecb1
Dartdoc bot sanity flexibility ( #9496 )
...
* Have sanity check pass on old and new versions of flutter
2017-04-21 08:11:33 -07:00
Adam Barth
ab1aa07e8f
Update engine ( #9484 )
2017-04-19 15:42:02 -07:00
Devon Carew
84a9ff7318
list which version of dartdoc we're using ( #9466 )
2017-04-19 10:00:18 -07:00
Devon Carew
668ae8bdda
update the font used for docs.flutter.io ( #9337 )
...
* update the font used for docs.flutter.io
* update to use the flutter primary color
* update the header background color
2017-04-14 08:55:16 -07:00
Ian Hickson
2a54524337
Fix tests to use Ahem, and helpful changes around that ( #9332 )
...
* Fix tests to use Ahem, and helpful changes around that
- Fix fonts that had metric-specific behaviours.
- LiveTestWidgetsFlutterBinding.allowAllFrames has been renamed
to LiveTestWidgetsFlutterBinding.framePolicy.
- LiveTestWidgetsFlutterBinding now defaults to using a frame policy
that pumps slightly more frames, to animate the pointer crosshairs.
- Added "flutter run --use-test-fonts" to enable Ahem on devices.
- Changed how idle() works to be more effective in live mode.
- Display the test name in live mode (unless ahem fonts are enabled).
- Added a toString to TextSelectionPoint.
- Style nit fixes.
* Roll engine to get Ahem changes.
* Update tests for dartdoc changes.
* Fix flutter_tools tests
2017-04-12 13:33:02 -07:00
Chris Bracken
6c97dd2c6c
Declare locals as final where not reassigned (dev) ( #8574 )
2017-03-03 18:06:08 -08:00
Jason Simmons
68221a8023
Add a timestamp and Git commit to the dartdoc home page ( #8046 )
...
Fixes https://github.com/flutter/flutter/issues/7974
2017-02-10 09:55:58 -08:00
Jason Simmons
6873cdfe30
Add a fake package that generates a link to the Android javadocs in the dartdoc output ( #8032 )
...
Fixes https://github.com/flutter/flutter/issues/7963
2017-02-09 16:12:09 -08:00
Adam Barth
d0cd545818
Merge the two dartdoc smoke tests ( #7443 )
...
We were checking similar things in two places. Now we check everything in one
place.
2017-01-12 09:47:50 -08:00
Adam Barth
6d84e4aacc
Update Flutter to use the latest dartdoc ( #7438 )
...
Now that dart-lang/dartdoc#1236 is fixed.
2017-01-11 09:00:10 -08:00
Ian Hickson
2b84d1ff1b
Silence new analyzer warnings ( #6866 )
...
See https://github.com/flutter/flutter/pull/6861
This silences all but two of the warnings from https://travis-ci.org/flutter/flutter/builds/176055550
One of the silenced warnings was a genuine code error.
Some of the others were correct but there was no way for the analyzer to know, and I worked around them.
The remainder are problems with the analyzer, specifically https://github.com/dart-lang/sdk/issues/27827 and https://github.com/dart-lang/sdk/issues/27504 .
2016-11-15 12:35:50 -08:00
Ian Hickson
690ec45095
Fix Material docs ( #6781 )
...
...by reverting us to an earlier dartdoc package.
Also I added a sanity test to make sure that we don't regress this again.
2016-11-09 15:16:13 -08:00
Adam Barth
70eb4929af
Stop downloading sky_services and flutter_services ( #6583 )
...
These aren't needed anymore.
2016-10-28 16:25:05 -07:00
Adam Barth
c1a2967430
Use SDK sources to refer to our own packages ( #6001 )
...
Switch our pubspec.yamls to using SDK sources so that we can have consistent
source types when we depend on these packages from external packages using SDK
sources.
2016-09-22 20:39:35 -07:00
Devon Carew
22fe5db91a
peg dartdoc to a specific version ( #5644 )
...
* peg dartdoc to a specific version
* add some documentation
* apply the fix to dev/bots/docs instead
2016-08-29 16:20:18 -07:00
Devon Carew
b8d15a1e61
hide some unnecessary headers from the generated docs ( #5020 )
2016-07-22 22:21:04 -07:00
Seth Ladd
a03c8f77ad
gracefully handle generating docs twice ( #3939 )
...
* gracefully handle generating docs twice
* silently handle if directory doesn't exist
2016-05-16 13:05:13 -07:00
Seth Ladd
707fe582a6
Docs homepage ( #3908 )
...
* put an index at root of API docs bucket
* ignore all of dev/docs/doc dir, fix a bug, remove private names from doc gen script
* tweaks from review
2016-05-16 08:28:58 -07:00
Devon Carew
e464a81998
remove the packages/flutter_tools/.analysis_options file ( #3733 )
2016-05-04 11:43:01 -07:00
Devon Carew
a807b009ad
Re add large sample ( #3661 )
...
* Revert "Revert "Mega gallery (#3647 )" (#3659 )"
This reverts commit ea62d31fde
.
* fix the dev/dartdoc.dart script
2016-05-01 15:52:51 -07:00
Adam Barth
ea62d31fde
Revert "Mega gallery ( #3647 )" ( #3659 )
...
This reverts commit 9497fb56d4
.
This patch broke the dartdoc step on the bots.
2016-05-01 14:58:40 -07:00
Devon Carew
9497fb56d4
Mega gallery ( #3647 )
...
* working on a large benchmark app
* build a 100k saple app
* print sizes of other libs; scale to 60k lines
* test the generated app on travis
2016-04-29 21:47:17 -07:00