Open akhmerov opened 3 years ago
Maybe a config called thebe_url ?
@akhmerov just FYI the version is now pinned, so I'm scoping this issue just to configurability
https://github.com/executablebooks/sphinx-thebe/blob/master/sphinx_thebe/__init__.py#L134
Description
Right now the thebe package is hard-coded in the codebase:
https://github.com/executablebooks/sphinx-thebe/blob/c036ac41a3b681ed4c2ab3b92edee4a3d2d2e1f0/sphinx_thebe/__init__.py#L12-L16
and loaded here
https://github.com/executablebooks/sphinx-thebe/blob/c036ac41a3b681ed4c2ab3b92edee4a3d2d2e1f0/sphinx_thebe/__init__.py#L66-L71
This should be configurable for the documentation author.
Benefit
Implementation
This change would entail adding a new configuration value like
thebe_version
. It could either be just a version string, or it could be a link to the whole thebe bundle if it's better to manually specify this.