Provide default title in metadata.
commit7c445b847b7ad91a5f0c666513d0c244ae7c9013
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Fri, 3 Feb 2017 14:44:16 +0000 (3 14:44 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Fri, 3 Feb 2017 14:44:16 +0000 (3 14:44 +0000)
treef616e186f5f3de9c167fc9b002d5db750a702232
parent4b89e7e216f8a9d7cf448a666b449a21c43818da
Provide default title in metadata.

In HTML5, <title> is a required child of the <head> element
and it must not be empty (found with https://validator.w3.org/check)

If there is no given title, we use the source file name as default and
fall back to "docutils document without title" if there is no source file.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8021 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/HISTORY.txt
docutils/docutils/writers/_html_base.py