Closed mlcooper closed 11 months ago
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?
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.
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 themkdocs-multirepo-plugin
, but the script is present when hosted on my local workstation viamkdocs serve
:Hosted on Gitlab Pages Using mkdocs-multirepo-plugin
Locally Hosted by running
mkdocs serve