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

glightbox-mkdocs plugin does not work with mkdocs-multirepo-plugin #23

Closed
mlcooper opened this issue Jun 13, 2023 · 2 comments
Closed

Comments

@mlcooper
Copy link

On its own, I can get the glightbox-mkdocs plugin to work without any issues. My images become 'zoomable' which is the desired effect I am looking for.

However, when I import that same repo with the mkdocs-multirepo-plugin, the 'zoomable' feature of my images in markdown no longer are 'zoomable'.

I installed the glightbox-mkdocs plugin in both my 'parent' multi-repo repo and the child repo, but that did not help.

You can see below that the glightbox script is missing when hosted on Gitlab pages with the mkdocs-multirepo-plugin, but the script is present when hosted on my local workstation via mkdocs serve:

Hosted on Gitlab Pages Using mkdocs-multirepo-plugin

image

Locally Hosted by running mkdocs serve

image

@blueswen
Copy link
Owner

Hi @mlcooper

Do you mean in locally hosted using glightbox-mkdocs and mkdocs-multirepo-plugin at the same time is working fine but when published with GitLab page is failed? Could you provide a reproducible repo and your mkdocs.yaml for the GitLab page?

@mlcooper
Copy link
Author

I had who plugins: sections, one in mkdocs.yml and one in an inherited mkdocs.yml file and they did NOT merge (perhaps by design?). Anyway, when I moved plugins: to mkdocs.yml only, this now worked.

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