Skip to content

dart:math max function is not discoverable in the docs #20000

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

Closed
trinarytree opened this issue Jul 11, 2014 · 3 comments
Closed

dart:math max function is not discoverable in the docs #20000

trinarytree opened this issue Jul 11, 2014 · 3 comments

Comments

@trinarytree
Copy link

go to
https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart-math#id_max

you will see the max function. yay.
in the "search api" box in the upper right, type "max".
you will see 10 suggestions - there is no scroll bar.
the max function in dart:math is most likely the max you want but it's not in the list.
now, without choosing any of those other max functions, hit enter.
it will take you to some dart:html thingy. not the max i want!

so the problems are
(1) suggest should have a smarter ranking. dart:math's max is more popular than dart:html's.
(2) there needs to be some way of discovering every max function, popular or not,
like the wikipedia disambiguation pages.

@kwalrath
Copy link
Contributor

Very true. It seems like basic libs like math and core should take precedence over specialty libs.


Removed Area-Site label.
Added Area-DartDocViewer label.

@srawlins
Copy link
Member

Is this a dup of Issue #4853? "Let search preferentially find things on the current page"

@nicolasgarnier
Copy link
Contributor

This issue has been moved to Github as part of a migration. Please use the Issue on Github going forward: https://github.com/dart-lang/dartdoc-viewer/issues


Added MovedToGithub label.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants