Skip to content

Doesn't update ipynb when git is updated.  #26

@tirohia

Description

@tirohia

Not sure how this is meant to work.

Install of plugin, and WP pusher went fine. I created a new page, added shortcode for one of the examples,

[git-github-jupyter url="https://github.com/GIScience/openrouteservice-examples/blob/master/python/ortools_pubcrawl.ipynb"]

and it renders fine. If I then change it to one of my notebooks, it changes and renders the new book correctly. I've since made multiple updates over several hours to the file on github that the shortcode is referencing, but no changes show up in the rendered ipynb on wordpress.

Deleting the page, and adding the shortcode to a new page, does not fix this, so I'm guessing it's a caching issue of some sort? There is mention in #20 of static vs dynamic caching being implemented soon. As best I can tell, the suggested workaround for an insufficiently dynamic cache is to adjust the limit or cache_ttl in the config.json. Adjusting these made no change - I dropped limit to 1 and cache_ttl to 6, activated/deactivated the plugin and it's still looking at a version of the notebook that was initially loaded to github several hours ago.

Not sure what else I should be looking for or where to start looking to be able to diagnose/fix this?

Cheers
Ben

Metadata

Metadata

Assignees

Labels

nbviewerProblems with nbviewer.org for Jupyter rendering

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions