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
Render ipyleaflet and ipywidgets in mkdocs-jupyter #85
Comments
I think the main issue is that the mkdocs-jupyter does not include the Take a look at: https://ipywidgets.readthedocs.io/en/latest/embedding.html Maybe just including the JS into the mkdocs-material template will do it. |
@danielfrg Thank you for the advice. Can it ( |
It can be done in this repo: https://squidfunk.github.io/mkdocs-material/customization/ |
I followed the MkDocs customization instruction to add two JavaScripts to the
|
This is what it looks like when I clicked on the |
The documentation website (https://leafmap.org) is built using MkDocs and mkdocs-jupyter with GitHub Actions (mkdocs.yml and docs.yml). Currently, it seems mkdocs-jupyter can only render folium maps. Ipyleaflet maps and ipywidgets do not show up on the webpage. Any advice on making the ipyleaflet-based interactive maps show up on https://leafmap.org would be greatly appreciated.
Examples:
@deeplook @sackh @martinRenou @davidbrochart @danielfrg @squidfunk @chrieke
The text was updated successfully, but these errors were encountered: