Skip to content
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

[DO NOT COMMIT] Fix highlights in the diagnostics page #1745

Closed
wants to merge 2 commits into from

Conversation

kwalrath
Copy link
Contributor

The good news: I got the highlights working, and you can see them at https://kw-www-dartlang-1.firebaseapp.com/guides/diagnostics.

The bad news: to get the highlights working, I had to change ```dart to {% prettify dart %}. Yuck. This is a known problem, and I’ve created #1744 to track it.

Other issues to ponder:

  • We might want to use a different URL.
  • The right-hand TOC is too narrow, so the entries for ambiguous_set_or_map_literal_both &
    ambiguous_set_or_map_literal_either look the same.

/cc @domesticmouse @legalcodes @bwilkerson @johnpryan

@googlebot googlebot added the cla: yes Contributor has signed the Contributor License Agreement label Jul 10, 2019
@kwalrath kwalrath requested a review from bwilkerson July 10, 2019 00:25
@bwilkerson
Copy link
Member

The good news: I got the highlights working ...

Yeah!

The bad news: to get the highlights working ...

Not as bad as it might sound. The markdown file is generated, so we could automatically convert from one form to the other if need be.

We might want to use a different URL.

I'll hold off on sending the URLs from server (or printing them from the command-line) until we've decided. After we start producing URLs we'll need to have a process in place to change them; otherwise users using older versions of the SDK will get obsolete URLs, and that wouldn't be a good UX.

The right-hand TOC is too narrow ...

Yep. We noticed that last time too.

@kwalrath
Copy link
Contributor Author

Closing in favor of #1790.

@kwalrath kwalrath closed this Jul 25, 2019
@kwalrath kwalrath deleted the kw-diagnostics branch July 25, 2019 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Contributor has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants