You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can configure automated link checking with html proofer and travis. I can do that as soon as we get the links fixed.
Here are the current issues html proofer reports in platform-services:
- _site/platform-services/index.html
* External link https://docs.flutter.io/flutter/services/MojoShell-class.html failed: 404 No error
* External link https://github.com/flutter/engine/blob/master/sky/shell/platform/android/io/flutter/view/FlutterView.java failed: 404 No error
* External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterAsyncMessageListener.h failed: 404 No error
* External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterMessageListener.h failed: 404 No error
* External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterViewController.h failed: 404 No error
* External link https://github.com/flutter/flutter/blob/master/examples/hello_services/ios/HelloServices/AppDelegate.m failed: 404 No error
* External link https://github.com/flutter/flutter/blob/master/examples/hello_services/ios/HelloServices/LocationProvider.m failed: 404 No error
* External link https://github.com/flutter/flutter/tree/master/examples/hello_services/ios/HelloServices failed: 404 No error
Making this bug slightly more general to cover the remaining 18 link issues:
- _site/animations/index.html
* External link https://docs.flutter.io/flutter/physics/ScrollSimulation-class.html failed: 404 No error
- _site/assets-and-images/index.html
* External link https://docs.flutter.io/flutter/services/ImageResource-class.html failed: 404 No error
* External link https://docs.flutter.io/flutter/widgets/AssetVendor-class.html failed: 404 No error
* External link https://github.com/flutter/flutter/tree/master/examples/widgets failed: 404 No error
- _site/debugging/index.html
* External link https://docs.flutter.io/flutter/material/InkFeatures-class.html failed: 404 No error
* External link https://docs.flutter.io/flutter/rendering/RenderObject/debugDescribeSettings.html failed: 404 No error
* External link https://docs.flutter.io/flutter/scheduler/Scheduler/addPersistentFrameCallback.html failed: 404 No error
- _site/platform-services/index.html
* External link https://docs.flutter.io/flutter/services/MojoShell-class.html failed: 404 No error
* External link https://github.com/flutter/engine/blob/master/sky/shell/platform/android/io/flutter/view/FlutterView.java failed: 404 No error
* External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterAsyncMessageListener.h failed: 404 No error
* External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterMessageListener.h failed: 404 No error
* External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterViewController.h failed: 404 No error
* External link https://github.com/flutter/flutter/blob/master/examples/hello_services/ios/HelloServices/AppDelegate.m failed: 404 No error
* External link https://github.com/flutter/flutter/blob/master/examples/hello_services/ios/HelloServices/LocationProvider.m failed: 404 No error
* External link https://github.com/flutter/flutter/tree/master/examples/hello_services/ios/HelloServices failed: 404 No error
- _site/rendering/index.html
* internally linking to ../../example/rendering/sector_layout.dart, which does not exist (line 577)
<a href="../../example/rendering/sector_layout.dart">sector_layout.dart
example</a>
- _site/text-input/index.html
* External link https://docs.flutter.io/flutter/widgets/RawInputLine-class.html failed: 404 No error
- _site/widgets-intro/index.html
* External link https://docs.flutter.io/flutter/material/InputState-class.html failed: 404 No error
htmlproofer 3.4.0 | Error: HTML-Proofer found 18 failures!
I was able to install some of the various necessary ruby/jekyll/gems bits, but at least one of the gems (gem install yajl-ruby -v '1.2.1') won't compile on Mac 10.11.6, presumably it's pulled in due to our ancient version of jeckyll?
Attempting to manually force yajl-ruby 1.30 I got:
Bundler could not find compatible versions for gem "yajl-ruby":
In Gemfile:
yajl-ruby (= 1.3.0)
jekyll (= 2.4.0) was resolved to 2.4.0, which depends on
pygments.rb (~> 0.6.0) was resolved to 0.6.3, which depends on
yajl-ruby (~> 1.2.0)
@mit-mit I now have a working setup. Could you paste the commands you're using to htmlproofer to get the errors? I tried htmlproofer ._site/ and a few other variants and didn't get the same set of errors you're seeing.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
abarth commentedon Dec 23, 2016
There are many things about that page that are out of date.
mit-mit commentedon Dec 29, 2016
We can configure automated link checking with html proofer and travis. I can do that as soon as we get the links fixed.
Here are the current issues html proofer reports in platform-services:
mit-mit commentedon Dec 29, 2016
Making this bug slightly more general to cover the remaining 18 link issues:
[-]Broken links in https://flutter.io/platform-services/[/-][+]Broken links on website[/+]Fix a few broken links
eseidelGoogle commentedon Dec 29, 2016
It seems our getting started instructions for website development need some work:
https://github.com/flutter/website/blob/master/README.md
I was able to install some of the various necessary ruby/jekyll/gems bits, but at least one of the gems (
gem install yajl-ruby -v '1.2.1') won't compile on Mac 10.11.6, presumably it's pulled in due to our ancient version of jeckyll?mit-mit commentedon Dec 29, 2016
We should be using bundler; then the instructions should be as easy as:
Can you see if that works for you?
eseidelGoogle commentedon Dec 29, 2016
https://gist.github.com/eseidelGoogle/5b629b9056fb4c1511bd34d0f4b70c36
eseidelGoogle commentedon Dec 29, 2016
Looks like the issue was fixed in yajl-ruby 1.3.0: brianmario/yajl-ruby#165
eseidelGoogle commentedon Dec 29, 2016
I can try downgrading my ruby from 2.4.0, I had to upgrade due to something else not being compatible with 2.0.0
mit-mit commentedon Dec 29, 2016
OK, that might be it, I'm on 2.3:
eseidelGoogle commentedon Dec 29, 2016
Attempting to manually force yajl-ruby 1.30 I got:
eseidelGoogle commentedon Dec 29, 2016
2.0 is default on el capitan:
eseidel@eseidel-macbookpro /src/website %ruby -v [/src/website]
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]
eseidel@eseidel-macbookpro /src/website %which ruby [/src/website]
/usr/bin/ruby
And 2.4 is available from brew. Looks like the way you get 2.3 on mac is via rbenv:
https://gorails.com/setup/osx/10.11-el-capitan
eseidelGoogle commentedon Dec 29, 2016
@mit-mit I now have a working setup. Could you paste the commands you're using to htmlproofer to get the errors? I tried
htmlproofer ._site/and a few other variants and didn't get the same set of errors you're seeing.mit-mit commentedon Dec 29, 2016
Sure thing, see the PR: https://github.com/flutter/website/pull/340/files#diff-04c6e90faac2675aa89e2176d2eec7d8
Fix a few broken links (#341)
sethladd commentedon Feb 8, 2017
I think we did this, yes? Closing. Please reopen if we have more work planned.
Roll engine to f0a1d6f
Roll engine to f0a1d6f (#25849)
Roll engine to f0a1d6f (flutter#25849)
github-actions commentedon Sep 5, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.