-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error since pull request #74 #77
Comments
More info on this: with the introduction of Simply put: monorepo is not compatible anymore with the i18n plugin. As an ugly workaround I created empty fake sites for each languages that with the magic Example for our workarond: Another solution would be highly appreciated: either check for the i18n plugin (e.g. |
I have this error as well, except I am not using the i18n plugin. I'm using the https://github.com/wtc-cloud-eng/mkdocs-terraform-monorepo-plugin plugin which is built on top of this plugin. |
Same error for me. And I'm unsure how to work around it (no i18n plugin for me, either). |
Backdating to version 1.0.0 seems to work. |
This happens to me when I have a tree like this:
and I run Maybe having the above layout doesn't make sense for a user of this plugin. However, I am an accidental user of this plugin, not an intentional one, because this comes baked into the backstage-core plugins. That being the case, it'd be nice for this plugin to work with my setup. |
Hi
I just updated the monorepo plugin and the before working project now fails to serve/build. I could drill down the issue to the pull request #74 which added the
edit_uri.py
file.When I comment the call
set_edit_url(config, page, self)
in the fileplugin.py
on line 71 the project builds fine.The edit_uri is not set in my environment and even when setting it something it does not build. The problem seems to have a dependency to the mkdocs-static-i18n plugin that we also use. I don't know if the root cause of the problem is in th2 i18n plugin or in the mono repo plugin. The issue occured after updating the monorepo plugin.
It would be great if you could add some check to the code to skip the edit-url thing when there is no edit-url set to fix this for cases like mine. Below I attached the Treaceback to narrow the issue.
What do you think?
Thanks for your work and thoughts about this issue
Regards
Florian
The text was updated successfully, but these errors were encountered: