Commits

Anonymous committed 83791b7

Added XHTML 1.1 document declaration to epub builder

  • Participants
  • Parent commits 41b9bd7

Comments (0)

Files changed (1)

File sphinx/themes/epub/layout.html

 #}
 {%- extends "basic/layout.html" %}
 
+{%- block doctype -%}
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+{%- endblock -%}
 {# add only basic navigation links #}
 {% block sidebar1 %}{% endblock %}
 {% block sidebar2 %}{% endblock %}