Skip to content

Fix searching by URL for SDK docs #2470

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

Merged
merged 1 commit into from
Jan 5, 2021

Conversation

parlough
Copy link
Member

If I'm understanding its usage correctly, the search URL query parameter does not work properly as is illustrated by the following links. This is likely caused by some of the base href changes, but specifying the entire location seems to work fine in this situation as well as for the Flutter docs which worked before this change.

Typed URL:
https://api.dart.dev/stable/2.10.4/dart-async/dart-async-library.html?search=completer

Result

Before change(broken):
https://api.dart.dev/stable/2.10.4/dart-async/dart-async/Completer-class.html

After change:
https://api.dart.dev/stable/2.10.4/dart-async/Completer-class.html

@google-cla google-cla bot added the cla: yes Google CLA check succeeded. label Dec 21, 2020
Copy link
Contributor

@jcollins-g jcollins-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@parlough parlough mentioned this pull request Jan 5, 2021
@jcollins-g jcollins-g merged commit 2ddade5 into dart-lang:master Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants