#Mkdocs draw.io

1 messages · Page 1 of 1 (latest)

dry pollen
#

Hi Team,
I am using drawio pluigin in techdocs, diagrams are rending perfectly fine when i open generate site on browser, but in backstage it is not visible.

misty pollen
#

You are most likely missing the mkdocs-drawio plugin. If you need plugins beyond what is available to Techdocs builder you will need to install them.

dry pollen
#

I did

#

It is working fine with techdoc cli

#

But when i open same document in backstage drawio diagram disappeared

#

If I go to generated docs , and open index.html i can drawio diagram rendered

#

When i open same document inside backstage it disappeared

#

Does backstage perform any kind if changes of generated document?

#

Am i using wrong plugin?

dry pollen
#

Please help

dry pollen
dry pollen
quiet glacier
#

can you check if the script is blocked by CSP?

dry pollen
#

I copied script in local public folder and reffered from there

#

But still not working

#

I even modified the plugin, added script tag with content in place of script referring viewer URL, but result is same , work on tech docs cli but not on backstage

#

Someone please tell how backstage loads generated techdocs?

quiet glacier
#
GitHub

Backstage TechDocs Mermaid Addon. Contribute to johanneswuerbach/backstage-plugin-techdocs-addon-mermaid development by creating an account on GitHub.

dry pollen
#

What would be the work around

dry pollen
#

Any help would be appreciated

pale wing
#

Did you check the network tab for any errors?

dry pollen
#

No error on network and console, seems backstage delete all scripts tags from generated site

dry pollen