Open joshknowles opened 2 weeks ago
Oof. Appreciate you calling out the two problems -- I agree with both.
To answer your question, I'd call #1 a feature request and #2 a bug. We'll likely split this into two issues when we tackle it.
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 read