sphinxcontrib.asciinema
sphinxcontrib.asciinema copied to clipboard
Self hosted, wrong (fixed) player JS location
Hi,
https://github.com/divi255/sphinxcontrib.asciinema/blob/f1882d400c08a264c920973511acab2bfc504f72/sphinxcontrib/asciinema/asciinema.py#L40
I think, this commit assumes that the position of the page with asciinema
directive is fixed to _static
directory. This assumption makes many pages broken.
It looks like the previous version is fine: https://github.com/divi255/sphinxcontrib.asciinema/blob/75a71688118f4ca4f67c3faea673e7f686b72b74/sphinxcontrib/asciinema/asciinema.py#L25
.css
file is included correctly thanks to: https://github.com/divi255/sphinxcontrib.asciinema/blob/f1882d400c08a264c920973511acab2bfc504f72/sphinxcontrib/asciinema/asciinema.py#L12
Thanks!