这是indexloc提供的服务,不要输入任何密码
Skip to content

TypeError when css_files is None with Sphinx 1.6 #160

@jaraco

Description

@jaraco

Using Sphinx 1.6.1, running quickstart, then configuring sphinx_bootstrap_theme according to the README, the docs fail to build with this error:

Exception occurred:
  File "/Users/jaraco/.envs/sphinx/lib/python3.6/site-packages/sphinx_bootstrap_theme/bootstrap/layout.html", line 40, in top-level template code
    {% set css_files = css_files + theme_css_files + bootswatch_css_custom %}
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'

This issue emerged as part of the Sphinx 1.6 release. Pinning to Sphinx 1.5.6 works around the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions