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(remote-content): Remove MDX exceptions #129

Merged
merged 1 commit into from
Nov 25, 2020
Merged

fix(remote-content): Remove MDX exceptions #129

merged 1 commit into from
Nov 25, 2020

Conversation

tumido
Copy link
Member

@tumido tumido commented Nov 25, 2020

Depends on: aicoe-aiops/data-science-workflows#23 operate-first/continuous-deployment#71
Reverts: operate-first/operate-first.github.io#120

Since we treat all Markdown files as MDX (while their syntax is not fully compatible) we've introduced exceptions - which makes gatsby not process certain files - files which don't comply with MDX.

MDX can't parse invalid XHTML as well as is unable to handle Markdown/HTML comments. See:
mdx-js/mdx#784
mdx-js/mdx#1039

@sesheta sesheta added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 25, 2020
@durandom
Copy link
Member

Ah, so it's only the HTML tags in those files which are treated as MDX components.
Maybe we should use the MDX parser only for .mdx files then

@sesheta
Copy link
Member

sesheta commented Nov 25, 2020

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: durandom

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sesheta sesheta added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 25, 2020
@sesheta sesheta merged commit 5a88419 into operate-first:master Nov 25, 2020
quaid pushed a commit to quaid/operate-first.github.io-old that referenced this pull request May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants