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

Integration with mkdocs-material privacy plugin - image link invalid #302

Open
niccokunzmann opened this issue Apr 24, 2024 · 1 comment

Comments

@niccokunzmann
Copy link
Contributor

niccokunzmann commented Apr 24, 2024

When I embed the pictures as img tags, sometimes, they do not show up if they are external.
I have the privacy plugin activated.

I wonder: The url at the top does not have /en/ in it. Maybe, that is a problem?

<img alt="Logo NLnet: abstract logo of four people seen from above" src="../../https:/nlnet.nl/logo/banner.svg" height="50px">

grafik

<img alt="Logo NLnet: abstract logo of four people seen from above" src="../../../assets/external/nlnet.nl/logo/banner.svg" height="50px">

grafik

Reproduce:
repo: https://github.com/niccokunzmann/open-web-calendar/
commit: bc18c79
build command:

pip install tox
tox -e docs -- build 

Thanks for your work!

@niccokunzmann
Copy link
Contributor Author

It works when I change the link of the English documentation:

         - locale: en
           name: English
           default: true
+          link: /en/

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

1 participant