backstage / mkdocs-techdocs-core

The core MkDocs plugin used by Backstage's TechDocs as a wrapper around multiple MkDocs plugins and Python Markdown extensions
Apache License 2.0
83 stars 61 forks source link

Extra Characters added with mkdocs-autolinks-plugin #117

Closed SilentGlasses closed 10 months ago

SilentGlasses commented 1 year ago

We have a use for using mkdocs-autolinks-plugin as it makes it easier to create inter site links without having to build ../../.. paths or typing out full URL paths.

When deploying our mkdocs site to Backstage, for some reason, the generated URL for some reasons comes with some extra items in the path that is not existent.

For example:

![Image](siteicon.png)

gets generated as this locally:

![Image](../images/siteicon.png)

but gets generated as in Backstage:

![Image](../../../../../tmp/docs_veebg344/images/siteicon.png)

Not sure if this is an issue with this plugin or with mkdocs-autolinks-plugin so I also have an issue filed there just in case.

github-actions[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.