You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is a bug or a feature request, but I'm porting a bunch of docs over from another tool and they contain markup that you don't support, such as <img> tags.
When working in local development I get the following error [docs]: Failed to read docs configuration. Rendering last successful configuration.
Two problems with this
The problem isn't in the docs configuration, it's in being caused by a tag in specific .mdx file, so the error message could be more clear
Running fern check does not report any errors. This is especially confusing when trying to debug an error in docs configuration
If an mdx page contains a markup tag that you don't support, such as a tag, then fern check works, but server returns
Information to Reproduce
Add an <img> tag to a mdx file and try and render the docs
CLI Version
0.44.11
Actual Behavior
If server is running, the docs do not render. Instead the above error is printed.
If local server is not running, it won't start.
Expected Behavior
I would expect fern check to catch this
I would expect the error message to tell me what .mdx file it can't read
I would love the ability to ignore the tags it can't parse and log them as warnings as opposed to errors
The text was updated successfully, but these errors were encountered:
Related to #5083. I think the reason the docs were originally failing was due to a self-closing <img> tag, not the fact that you don't support <img/> tags
Describe the Bug
Not sure if this is a bug or a feature request, but I'm porting a bunch of docs over from another tool and they contain markup that you don't support, such as
<img>
tags.When working in local development I get the following error
[docs]: Failed to read docs configuration. Rendering last successful configuration.
Two problems with this
docs configuration
, it's in being caused by a tag in specific.mdx
file, so the error message could be more clearfern check
does not report any errors. This is especially confusing when trying to debug an error indocs configuration
If an mdx page contains a markup tag that you don't support, such as a tag, then fern check works, but server returns
Information to Reproduce
Add an
<img>
tag to amdx
file and try and render the docsCLI Version
0.44.11
Actual Behavior
If server is running, the docs do not render. Instead the above error is printed.
If local server is not running, it won't start.
Expected Behavior
fern check
to catch this.mdx
file it can't readThe text was updated successfully, but these errors were encountered: