-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
Describe the bug
With the addition of checksums to static files ( #11415 ), EPUBs created using make epub, fail to validate
Here is a sample output from EPUBCheck:
epubcheck build/epub/SphinxEPUBTest.epub
Running epubcheck with arguments: build/epub/SphinxEPUBTest.epub
Validating using EPUB version 3.3 rules.
ERROR(RSC-033): build/epub/SphinxEPUBTest.epub/genindex.xhtml(8,85): \
Relative URL strings must not have a query component, \
but found one in "_static/pygments.css?v=8e8a900e".
ERROR(RSC-033): build/epub/SphinxEPUBTest.epub/genindex.xhtml(9,81): \
Relative URL strings must not have a query component, \
but found one in "_static/epub.css?v=0a53256b".How to Reproduce
index.rst
Welcome to Sphinx EPUB Test's documentation!
============================================
.. toctree::
:maxdepth: 2
:caption: Contents:
conf.py
project = 'Sphinx EPUB Test'
copyright = '2023, Vimalkvn'
author = 'Vimalkvn'
release = '1'
extensions = []
templates_path = ['_templates']
exclude_patterns = []
html_theme = 'alabaster'
html_static_path = ['_static']Environment Information
Platform: linux; (Linux-5.4.0-155-generic-x86_64-with-glibc2.29)
Python version: 3.8.10 (default, May 26 2023, 14:05:08)
[GCC 9.4.0])
Python implementation: CPython
Sphinx version: 7.1.2
Docutils version: 0.20.1
Jinja2 version: 3.1.2
Pygments version: 2.16.1
Sphinx extensions
No response
Additional context
No response