merge with stable

This commit is contained in:
Takayuki Shimizukawa 2014-09-02 00:11:32 +09:00
commit 7207b614b6
3 changed files with 6 additions and 4 deletions

View File

@ -225,8 +225,8 @@ Documentation
* Extended the :ref:`documentation about building extensions <dev-extensions>`.
Release 1.2.3 (in development)
==============================
Release 1.2.3 (released Sep 1, 2014)
====================================
Features added
--------------

View File

@ -130,7 +130,8 @@ else:
jscatalog = {}
for message in catalog:
if any(x[0].endswith(('.js', '.js_t', '.html')) for x in message.locations):
if any(x[0].endswith(('.js', '.js_t', '.html'))
for x in message.locations):
msgid = message.id
if isinstance(msgid, (list, tuple)):
msgid = msgid[0]

View File

@ -276,7 +276,8 @@ class Autosummary(Directive):
# be cached anyway)
documenter.analyzer.find_attr_docs()
except PycodeError as err:
documenter.env.app.debug('[autodoc] module analyzer failed: %s', err)
documenter.env.app.debug(
'[autodoc] module analyzer failed: %s', err)
# no source file -- e.g. for builtin and C modules
documenter.analyzer = None