mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #5931 from tk0miya/5928_KeyError
Fix #5928: KeyError: 'DOCUTILSCONFIG' when running build
This commit is contained in:
commit
f39fa12f8b
1
CHANGES
1
CHANGES
@ -24,6 +24,7 @@ Bugs fixed
|
|||||||
* #5755: C++, fix duplicate declaration error on function templates with constraints
|
* #5755: C++, fix duplicate declaration error on function templates with constraints
|
||||||
in the return type.
|
in the return type.
|
||||||
* C++, parse unary right fold expressions and binary fold expressions.
|
* C++, parse unary right fold expressions and binary fold expressions.
|
||||||
|
* #5928: KeyError: 'DOCUTILSCONFIG' when running build
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
--------
|
--------
|
||||||
|
@ -131,7 +131,7 @@ def using_user_docutils_conf(confdir):
|
|||||||
yield
|
yield
|
||||||
finally:
|
finally:
|
||||||
if docutilsconfig is None:
|
if docutilsconfig is None:
|
||||||
os.environ.pop('DOCUTILSCONFIG')
|
os.environ.pop('DOCUTILSCONFIG', None)
|
||||||
else:
|
else:
|
||||||
os.environ['DOCUTILSCONFIG'] = docutilsconfig
|
os.environ['DOCUTILSCONFIG'] = docutilsconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user