danielfrg / mkdocs-jupyter

Use Jupyter Notebook in mkdocs
https://mkdocs-jupyter.danielfrg.com
Apache License 2.0
400 stars 49 forks source link

Download button missing #24

Closed giswqs closed 3 years ago

giswqs commented 3 years ago

How to enable the download button? Here is my mkdocs.yml. I looked at other websites with the download button, I could not find settings to enable the download button except the following lines. Thanks.

plugins:
  - search
  - mkdocs-jupyter:
      include_source: True

https://geemap.org/notebooks/01_geemap_intro/

https://developmentseed.org/titiler/examples/Working_with_CloudOptimizedGeoTIFF_simple/

vincentsarago commented 3 years ago

Answered in https://github.com/giswqs/geemap/issues/202#issuecomment-748686337

For others looking to do this, you need to override the default HTML and add the download button.

See https://github.com/developmentseed/titiler/blob/master/docs/overrides/main.html for example

giswqs commented 3 years ago

@vincentsarago Problem solved. Thank you for your help.

Matesanz commented 1 year ago

:wave: Hello and thank you for such an amazing contribution with jupyter-mkdocs

Could you please provide an example? The links at https://github.com/danielfrg/mkdocs-jupyter/issues/24#issuecomment-748686531 are not working anymore :pensive:

Thank you in advance :smiley:

giswqs commented 1 year ago

@Matesanz Add docs/overrides/main.html https://github.com/opengeos/leafmap/blob/master/docs/overrides/main.html