Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

der/static/epub.css 不是静态的 #86

Open
JeffersonYoung opened this issue Jan 20, 2023 · 1 comment
Open

der/static/epub.css 不是静态的 #86

JeffersonYoung opened this issue Jan 20, 2023 · 1 comment

Comments

@JeffersonYoung
Copy link

我尝试在自己的电脑上编译epub, 然后我发现编译出来的epub文件在我常用的一个阅读器(Neat Reader, windows 10)上打不开。我用epubcheck检查文件,有70个CSS的错误,都来自于文件der/static/epub.css。这个文件是jinja模板文件,但在编译出来的epub中这个文件依然是原样,也就是说jinja没有编译这个文件。进一步,我发现der/static在html_static_path中,而sphinx文档说这个目录下的文件会直接复制进epub文件中。我注释掉了这个配置,然后错误消失了。

@NigelPeng
Copy link

NigelPeng commented Jan 20, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants