And try to include example.cast in index.rst like this:
.. asciinema:: examples/example.cast the built html will not be able to access the cast.
It seems this is because example.cast is put top level into the generated hash directory in build/_casts/ but the reference in the index.html points to _casts/<hash>/examples/example.cast instead of at _casts/<hash>/example.cast.
When I have this structure:
And try to include
example.cast
inindex.rst
like this:.. asciinema:: examples/example.cast
the built html will not be able to access the cast. It seems this is becauseexample.cast
is put top level into the generated hash directory inbuild/_casts/
but the reference in theindex.html
points to_casts/<hash>/examples/example.cast
instead of at_casts/<hash>/example.cast
.