Skip to content

Remove all JS syntax errors caused by split code blocks #40101

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Josh-Cena
Copy link
Member

I am working on fixing all parser errors so that code examples can be linted. This PR fixes the rest of the problems with code blocks with interspersed prose. They are fixed by either adding the surrounding context, or migrating to live samples (which are concatenated at build time and can be picked up by my tool)

@Josh-Cena Josh-Cena requested review from a team as code owners June 27, 2025 03:41
@Josh-Cena Josh-Cena requested review from dipikabh, sideshowbarker and rebloor and removed request for a team June 27, 2025 03:41
@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs Content:WebExt WebExtensions docs Content:WebAPI Web API docs labels Jun 27, 2025
@Josh-Cena Josh-Cena requested review from bsmth and removed request for dipikabh, sideshowbarker and rebloor June 27, 2025 03:41
@github-actions github-actions bot added the size/xl [PR only] >1000 LoC changed label Jun 27, 2025
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

github-actions bot commented Jun 27, 2025

Preview URLs (12 pages)
Flaws (6)

Note! 9 documents with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/API/Document_Object_Model/Examples
Title: Examples of web and XML development using the DOM
Flaw count: 2

  • macros:
    • Macro produces link /en-US/docs/Web/API/Document_Object_Model/Events which is a redirect
    • Macro produces link /en-US/docs/Web/API/Document_Object_Model/Whitespace_in_the_DOM which is a redirect

URL: /en-US/docs/Web/API/IndexedDB_API/Checking_when_a_deadline_is_due
Title: Checking when a deadline is due
Flaw count: 2

  • macros:
    • Macro produces link /en-US/docs/Web/API/IndexedDB_API/Basic_Concepts_Behind_IndexedDB which is a redirect
    • Macro produces link /en-US/docs/Web/API/IndexedDB_API/Browser_storage_limits_and_eviction_criteria which is a redirect

URL: /en-US/docs/Web/API/WebVR_API/Using_the_WebVR_API
Title: Using the WebVR API
Flaw count: 2

  • macros:
    • Macro produces link /en-US/docs/Web/API/Window/vrdisplayblur_event which is a redirect
    • Macro produces link /en-US/docs/Web/API/Window/vrdisplayfocus_event which is a redirect

(comment last updated: 2025-06-27 03:49:12)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:HTML Hypertext Markup Language docs Content:WebAPI Web API docs Content:WebExt WebExtensions docs size/xl [PR only] >1000 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant