sphinx-book-theme icon indicating copy to clipboard operation
sphinx-book-theme copied to clipboard

reference to "_templates/prev-next.html" lost in jupyter-book under sphinx 5.1.1

Open epogrebnyak opened this issue 3 years ago • 1 comments

https://github.com/executablebooks/sphinx-book-theme/blob/ed7bbd0ebc9c7c30a773b4ffb4f573dda40bbd0d/src/sphinx_book_theme/theme/sphinx_book_theme/sections/footer-article.html#L2-L3

I know Sphinx 5 is not yet supported, but experimentally with Sphinx 5.1.1 there is some bug when trying to build new sample book with jb create and jb build the reference to pydata theme gets lost:

File "/usr/local/lib/python3.8/dist-packages/sphinx_book_theme/theme/sphinx_book_theme/sections/footer-article.html", line 3, in top-level template code
    {% include "_templates/prev-next.html" %}
  File "/usr/local/lib/python3.8/dist-packages/sphinx/jinja2glue.py", line 210, in get_source
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: _templates/prev-next.html

Original issue at https://github.com/executablebooks/jupyter-book/issues/1805

epogrebnyak avatar Aug 13 '22 21:08 epogrebnyak

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Aug 13 '22 21:08 welcome[bot]