Discussion:
Sphinx-1.6 final has been released
Komiya Takeshi
2017-05-16 15:56:22 UTC
Permalink
Hi all,

I'm delighted to announce the release of Sphinx 1.6 final, now available on
the Python package index at <http://pypi.python.org/pypi/Sphinx>.

It includes about 33 new features, 29 bug fixes and 23 incompatible
changes for the 1.5.6 release.

For the full changelog, go to
<http://www.sphinx-doc.org/en/stable/changes.html>.
Thanks to all collaborators and contributers!

What is it?
===========

Sphinx is a tool that makes it easy to create intelligent and beautiful
documentation for Python projects (or other documents consisting of
multiple reStructuredText source files).

Website: http://sphinx-doc.org/
IRC: #sphinx-doc on irc.freenode.net

Enjoy!
--
You received this message because you are subscribed to the Google Groups "sphinx-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Paolo Cavallini
2017-05-16 16:08:44 UTC
Permalink
Post by Komiya Takeshi
Hi all,
I'm delighted to announce the release of Sphinx 1.6 final, now available on
the Python package index at <http://pypi.python.org/pypi/Sphinx>.
It includes about 33 new features, 29 bug fixes and 23 incompatible
changes for the 1.5.6 release.
For the full changelog, go to
<http://www.sphinx-doc.org/en/stable/changes.html>.
Thanks to all collaborators and contributers!
Thanks a lot Komiya-san.
Just tested on my website, and I get errors related to
sphinx_bootstrap_theme I use for it:

Exception occurred while building, starting debugger:

Traceback (most recent call last):
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/cmdline.py",
line 306, in main
app.build(opts.force_all, filenames)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/application.py",
line 338, in build
self.builder.build_update()
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/builders/__init__.py",
line 328, in build_update
'out of date' % len(to_build))
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/builders/__init__.py",
line 394, in build
self.write(docnames, list(updated_docnames), method)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/builders/__init__.py",
line 431, in write
self._write_serial(sorted(docnames))
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/builders/__init__.py",
line 440, in _write_serial
self.write_doc(docname, doctree)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/builders/html.py",
line 556, in write_doc
self.handle_page(docname, ctx, event_arg=doctree)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/builders/html.py",
line 940, in handle_page
output = self.templates.render(templatename, ctx)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/jinja2glue.py",
line 176, in render
return self.environment.get_template(template).render(context)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/jinja2/environment.py",
line 1008, in render
return self.environment.handle_exception(exc_info, True)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/jinja2/environment.py",
line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/jinja2/_compat.py",
line 37, in reraise
raise value.with_traceback(tb)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/themes/basic/page.html",
line 10, in top-level template code
{%- extends "layout.html" %}
File "/usr/local/src/pcav/faunalia-website/_templates/layout.html",
line 39, in top-level template code
{% block languageswitch %}
File
"/usr/local/src/py3_virtual/lib/python3.5/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'
/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx_bootstrap_theme/bootstrap/layout.html(40)top-level
template code()
-> {% set css_files = css_files + theme_css_files + bootswatch_css_custom %}
--
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
--
You received this message because you are subscribed to the Google Groups "sphinx-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Komiya Takeshi
2017-05-16 16:26:43 UTC
Permalink
Hi Paolo,

Thank you for reporting. Could you file it to github issues?
I will take a look later.
(Sorry, it's late at night in Japan, so I will check it tomorrow)

As a quick look, new Stylesheet class was introduced since 1.6.
And it is used for `css_files` template variable. I guess it causes
this error...

Thanks,
Takeshi KOMIYA
Post by Paolo Cavallini
Post by Komiya Takeshi
Hi all,
I'm delighted to announce the release of Sphinx 1.6 final, now available on
the Python package index at <http://pypi.python.org/pypi/Sphinx>.
It includes about 33 new features, 29 bug fixes and 23 incompatible
changes for the 1.5.6 release.
For the full changelog, go to
<http://www.sphinx-doc.org/en/stable/changes.html>.
Thanks to all collaborators and contributers!
Thanks a lot Komiya-san.
Just tested on my website, and I get errors related to
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/cmdline.py",
line 306, in main
app.build(opts.force_all, filenames)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/application.py",
line 338, in build
self.builder.build_update()
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/builders/__init__.py",
line 328, in build_update
'out of date' % len(to_build))
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/builders/__init__.py",
line 394, in build
self.write(docnames, list(updated_docnames), method)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/builders/__init__.py",
line 431, in write
self._write_serial(sorted(docnames))
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/builders/__init__.py",
line 440, in _write_serial
self.write_doc(docname, doctree)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/builders/html.py",
line 556, in write_doc
self.handle_page(docname, ctx, event_arg=doctree)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/builders/html.py",
line 940, in handle_page
output = self.templates.render(templatename, ctx)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/jinja2glue.py",
line 176, in render
return self.environment.get_template(template).render(context)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/jinja2/environment.py",
line 1008, in render
return self.environment.handle_exception(exc_info, True)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/jinja2/environment.py",
line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/jinja2/_compat.py",
line 37, in reraise
raise value.with_traceback(tb)
File
"/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx/themes/basic/page.html",
line 10, in top-level template code
{%- extends "layout.html" %}
File "/usr/local/src/pcav/faunalia-website/_templates/layout.html",
line 39, in top-level template code
{% block languageswitch %}
File
"/usr/local/src/py3_virtual/lib/python3.5/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'
/usr/local/src/py3_virtual/lib/python3.5/site-packages/sphinx_bootstrap_theme/bootstrap/layout.html(40)top-level
template code()
-> {% set css_files = css_files + theme_css_files + bootswatch_css_custom %}
--
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
--
You received this message because you are subscribed to the Google Groups "sphinx-dev" group.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "sphinx-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Paolo Cavallini
2017-05-16 16:31:56 UTC
Permalink
Post by Komiya Takeshi
Hi Paolo,
Thank you for reporting. Could you file it to github issues?
Done:

https://github.com/sphinx-doc/sphinx/issues/3754

Arigatou.
--
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
--
You received this message because you are subscribed to the Google Groups "sphinx-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...