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

docs: fix link for mdx parsing #6296

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Conversation

jeanregisser
Copy link
Member

MDX parsing with latest docusaurus fails:

Error: MDX compilation failed for file "/Users/jean/src/github.com/valora-inc/docs/submodules/wallet/docs/connecting-dapps.md"
Cause: Unexpected character `/` (U+002F) before local name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a link in MDX, use `[text](url)`)
Details:
{
  "column": 27,
  "message": "Unexpected character `/` (U+002F) before local name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a link in MDX, use `[text](url)`)",
  "line": 9,
  "name": "9:27",
  "place": {
    "line": 9,
    "column": 27,
    "offset": 634,
    "_index": 0,
    "_bufferIndex": 26
  },
  "reason": "Unexpected character `/` (U+002F) before local name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a link in MDX, use `[text](url)`)",
  "ruleId": "unexpected-character",
  "source": "micromark-extension-mdx-jsx",
  "url": "https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-character-at-expected-expect"
}

MDX parsing with latest docusaurus fails:

```
Error: MDX compilation failed for file "/Users/jean/src/github.com/valora-inc/docs/submodules/wallet/docs/connecting-dapps.md"
Cause: Unexpected character `/` (U+002F) before local name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a link in MDX, use `[text](url)`)
Details:
{
  "column": 27,
  "message": "Unexpected character `/` (U+002F) before local name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a link in MDX, use `[text](url)`)",
  "line": 9,
  "name": "9:27",
  "place": {
    "line": 9,
    "column": 27,
    "offset": 634,
    "_index": 0,
    "_bufferIndex": 26
  },
  "reason": "Unexpected character `/` (U+002F) before local name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a link in MDX, use `[text](url)`)",
  "ruleId": "unexpected-character",
  "source": "micromark-extension-mdx-jsx",
  "url": "https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-character-at-expected-expect"
}
```
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.01%. Comparing base (250b34b) to head (afd760b).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6296      +/-   ##
==========================================
- Coverage   89.01%   89.01%   -0.01%     
==========================================
  Files         739      739              
  Lines       31610    31610              
  Branches     5880     5571     -309     
==========================================
- Hits        28138    28137       -1     
- Misses       3427     3428       +1     
  Partials       45       45              

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 250b34b...afd760b. Read the comment docs.

@jeanregisser jeanregisser added this pull request to the merge queue Dec 4, 2024
Merged via the queue into main with commit 06bf2ee Dec 4, 2024
15 checks passed
@jeanregisser jeanregisser deleted the jeanregisser/fix-link-for-mdx branch December 4, 2024 09:34
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.

2 participants