#3772: 'str object' has no attribute 'filename' (again)

This commit is contained in:
Takeshi KOMIYA committed 2017-06-03 16:03:02 +09:00
1 parent c6c8b301cc
commit a347b0bb98
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -18,6 +18,7 @@ Bugs fixed
* #3821: Failed to import sphinx.util.compat with docutils-0.14rc1
* #3829: sphinx-quickstart template is incomplete regarding use of alabaster
* #3772: 'str object' has no attribute 'filename'
Testing
--------
@@ -45,7 +46,6 @@ Bugs fixed
* #3770: Build fails when a "code-block" has the option emphasize-lines and the
number indicated is higher than the number of lines
* #3774: Incremental HTML building broken when using citations
* #3772: 'str object' has no attribute 'filename'
* #3763: got epubcheck validations error if epub_cover is set
* #3779: 'ImportError' in sphinx.ext.autodoc due to broken 'sys.meta_path'.
Thanks to Tatiana Tereshchenko.
+4
View File
@@ -106,7 +106,11 @@
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
{%- for css in css_files %}
{%- if css is string %}
<link href="{{ pathto(css, 1) }}" type="text/css" />
{%- else %}
<link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif %} />
{%- endif %}
{%- endfor %}
{%- endmacro %}