Skip to content
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

Proper treatment of edit_uri after merge #19

Open
mzarucki opened this issue Mar 20, 2024 · 3 comments
Open

Proper treatment of edit_uri after merge #19

mzarucki opened this issue Mar 20, 2024 · 3 comments

Comments

@mzarucki
Copy link

mzarucki commented Mar 20, 2024

Hi @ovasquez,

Thank you for this nice tool!

We are using mkdocs-merge to add a separate site repository into a central (MASTER_SITE) site as a sub-page.

It appears that the treatment of the edit_uri for the sub-page does not link back (via the edit icon) to the original repository, but links back to the central one and returns an error.

Is there a way this can be treated properly?

Best regards,
Mateusz

@mzarucki
Copy link
Author

I believe this relates to: mkdocs/mkdocs#2745

@ovasquez
Copy link
Owner

ovasquez commented Apr 5, 2024

Hi, sorry for the late reply.

I’m guessing that this would mean having multiple edit_uri values which isn’t supported in MkDocs by default. Have you tried with the plugin mentioned in the issue you referenced?

@ovasquez
Copy link
Owner

@mzarucki did you try the plugin you referenced? If this is not related to the plugin, could you provide a sample mkdocs.yml and the expected outcome for this requirement?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants