Reduce epub checker warnings/errors for epub3 builder.

Fix DOCTYPE to html5 and change extension from .html to .xhtml.

Sphinx's documents result:

  before: 95 warnings& 1238 errors
  after: 623 errors
This commit is contained in:
Yoshiki Shibukawa
2016-07-17 09:53:04 +09:00
parent 9916518fee
commit 06a861703d
4 changed files with 17 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ epub_fix_images = False
epub_max_image_width = 0
epub_show_urls = 'inline'
epub_use_index = False
epub_guide = (('toc', 'contents.html', u'Table of Contents'),)
epub_guide = (('toc', 'contents.xhtml', u'Table of Contents'),)
latex_documents = [('contents', 'sphinx.tex', 'Sphinx Documentation',
'Georg Brandl', 'manual', 1)]