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
Hi, when trying to insert some images into rendered preview I found out that htmlTemlate parameter can't be passed nether through .redocly.yaml nor command line parameters:
( htmlTemplate parameter is never passed to startPreviewServer call )
Thus when I insert image link into a description, preview server tries to find it inside node_modules/@redocly/openapi-cli/dist/preview-docs/ instead of a folder where my custom html template is located.
My question is: what is a correct way to insert images into locally rendered preview? Thank you.
The text was updated successfully, but these errors were encountered:
Hi, when trying to insert some images into rendered preview I found out that
htmlTemlate
parameter can't be passed nether through.redocly.yaml
nor command line parameters:https://github.com/Redocly/openapi-cli/blob/989d6e3b6ccbba2d6779e544abc1780cc6df14ad/src/cli/index.js#L223-L229
(
htmlTemplate
parameter is never passed tostartPreviewServer
call )Thus when I insert image link into a description, preview server tries to find it inside
node_modules/@redocly/openapi-cli/dist/preview-docs/
instead of a folder where my custom html template is located.My question is: what is a correct way to insert images into locally rendered preview? Thank you.
The text was updated successfully, but these errors were encountered: