summaryrefslogtreecommitdiff
path: root/docutils/docs
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2021-04-07 12:09:51 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2021-04-07 12:09:51 +0000
commitc03e76a5eda8518a9dd7355ab483f4cf5153422c (patch)
treebc7bd630a823840386e784a5c73c79442fb9a111 /docutils/docs
parent881989f11b0c2e1498c7ebbbb5476c24b21bc69e (diff)
downloaddocutils-c03e76a5eda8518a9dd7355ab483f4cf5153422c.tar.gz
Provide fallbacks for parser config settings.
Some 3rd party applications fail with AttributeError due to missing values in the document.settings object. a) because they don't follow the requirement documented in utils.new_document: If you will use the document object with any Docutils components, you must provide their default settings as well. b) because they may provide a hard-coded set missing new settings. This should fix bug #415 and https://github.com/readthedocs/recommonmark/issues/220. See also the sphinx issue with Docutils 0.13.1 https://github.com/sphinx-doc/sphinx/issues/3951. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8671 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/docs')
0 files changed, 0 insertions, 0 deletions