gee-community/geemap

Can't push to GitHub Pages because of large search_index.json (>80MB)

giswqs opened this issue · 0 comments

The geemap Python package has over 140 Jupyter notebooks. The website built using mkdocs and mkdocs-jupyter has a large search_index.json file (> 80 MB). As a result, the webiste can't no longer be pushed to GitHub. See the error.

I looked into the search_index.json file and found that most of its of content is derived from the html files generated from each notebook that mkdocs-jupyter generates. See below an example. Text like this is probably useless for the search functionality and it increase the file size unnecessarily.

The search functionality is temporarily disabled until a solution to this issue is found.

danielfrg/mkdocs-jupyter#123

References: