mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Fix #3228: `build_sphinx` command crashes when missing dependency
This commit is contained in:
@@ -20,6 +20,7 @@ Bugs fixed
|
|||||||
* #3205: sphinx.util.requests crashes with old pyOpenSSL (< 0.14)
|
* #3205: sphinx.util.requests crashes with old pyOpenSSL (< 0.14)
|
||||||
* #3220: KeyError when having a duplicate citation
|
* #3220: KeyError when having a duplicate citation
|
||||||
* #3200: LaTeX: xref inside desc_name not allowed
|
* #3200: LaTeX: xref inside desc_name not allowed
|
||||||
|
* #3228: ``build_sphinx`` command crashes when missing dependency
|
||||||
|
|
||||||
|
|
||||||
Release 1.5 (released Dec 5, 2016)
|
Release 1.5 (released Dec 5, 2016)
|
||||||
|
|||||||
@@ -165,6 +165,7 @@ class BuildDoc(Command):
|
|||||||
if self.copyright:
|
if self.copyright:
|
||||||
confoverrides['copyright'] = self.copyright
|
confoverrides['copyright'] = self.copyright
|
||||||
|
|
||||||
|
app = None
|
||||||
try:
|
try:
|
||||||
with docutils_namespace():
|
with docutils_namespace():
|
||||||
app = Sphinx(self.source_dir, self.config_dir,
|
app = Sphinx(self.source_dir, self.config_dir,
|
||||||
|
|||||||
Reference in New Issue
Block a user