🐛 Bug Report
The latest version of D2 fails to build if markdown links or images contain an empty URL value. A build may also fail if a relative URL value path cannot be resolved.
Yes.
To Reproduce
(Write your steps here:)
- Add a markdown link or image to a doc with an empty URL value.
- Attempt to perform a dev server start or production build.
Expected behavior
Inherit the onBrokenMarkdownLinks setting. For example, if set to warn then error should be displayed as a warning and dev server or build should continue.
(Write what you thought would happen.)
Actual Behavior
Seeing the following errors:
Error: Markdown link url is mandatory.
Error: Markdown Image url is mandatory.
(Write what happened. Add screenshots, if applicable.)
Your Environment
- Docusaurus version used: alpha 70
- Environment name and version (e.g. Chrome 78.0.3904.108, Node.js 10.17.0): Chrome 87.0.4280.88, Node.js 14.x
- Operating system and version (desktop or mobile): MacOSX 10.15.7
Reproducible Demo
demisto/content-docs#429
🐛 Bug Report
The latest version of D2 fails to build if markdown links or images contain an empty URL value. A build may also fail if a relative URL value path cannot be resolved.
Have you read the Contributing Guidelines on issues?
Yes.
To Reproduce
(Write your steps here:)
Expected behavior
Inherit the
onBrokenMarkdownLinkssetting. For example, if set towarnthen error should be displayed as a warning and dev server or build should continue.(Write what you thought would happen.)
Actual Behavior
Seeing the following errors:
Error: Markdown link url is mandatory.Error: Markdown Image url is mandatory.(Write what happened. Add screenshots, if applicable.)
Your Environment
Reproducible Demo
demisto/content-docs#429