Skip to content

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

Closed
@trinarytree

Description

@trinarytree

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.

Activity

kwalrath

kwalrath commented on Jul 14, 2014

@kwalrath
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

srawlins commented on Aug 18, 2014

@srawlins
Member

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

nicolasgarnier

nicolasgarnier commented on Sep 29, 2014

@nicolasgarnier
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @srawlins@kwalrath@nicolasgarnier@trinarytree

        Issue actions

          dart:math max function is not discoverable in the docs · Issue #20000 · dart-lang/sdk