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

Fix several broken links and console errors #261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

28raining
Copy link

To solve plotly/plotly.js#6706

The issue is about a broken link. I used https://www.drlinkcheck.com/ to find all the broken links in https://plotly.com/javascript/.
It only scanned the first 2000 links without paying.
This PR fixes multiple issues

  • 'more controls' button doesn't need to exist as all control options are already displayed (there are 5). Subplots has 6 and we see the button

  • inside a code block throws a console warning about un-escaped HTML - but if we escape it the link won't work. The link is v hidden anyway, imo it can be removed

  • Fastly's logo is no longer at that URL and I couldn't find where it is

  • main.css corrected a a typo. There is still an unclosed { (line 9094) but closing it messes up the page CSS... Not obvious how to fix that

  • swapped highlightBlock for highlightElement, to fix console warning. https://highlightjs.readthedocs.io/en/latest/api.html

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

Successfully merging this pull request may close these issues.

1 participant