-
Notifications
You must be signed in to change notification settings - Fork 124
--package-root does not appear to work #766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I can't really make further progress until at least: dart-lang/dartdoc#766 is resolved, ideally also: dart-lang/dartdoc#763 @abarth
This is the one bug in dartdoc I can't easily work around at the moment. Short of actually doing a pub get inside the sky package before running dartdoc. |
Will take a look. |
@eseidelGoogle, are you passing in the complete path to the directory for package root? |
I tried both a relative and absolute path. "--package-root /src/docdemo/packages" as well as "--package-root packages" when running inside the docdemo directory. I also tried with and without a = separating package-root and the value. I didn't try debugging dartdoc itself. |
How are you running dartdoc? from source? pub global run? |
Pub global activate dartdoc
|
@eseidelGoogle , see that it is 'packages:test/two.dart', should be 'package:test/two.dart' |
Apologies. This was an attempt at making a reduction for an error we're
|
Sigh. My repo was definitely busted. This can be closed. I'll figure out what the actual bug is. |
No worries. Keep the feedback coming. |
Here is an example package:
http://filebin.ca/2B2DDfWYrFNu/docdemo.zip
Here is a diff version of that zip:
(Note that in the above diff packages/test is a symlink, that's just the way git diff represents it.)
Now attempt to run dartdoc:
Now try with a --package-root:
It appears the package-root is just being ignored.
The text was updated successfully, but these errors were encountered: