##// END OF EJS Templates
Merge pull request #12911 from meeseeksmachine/auto-backport-of-pr-12758-on-7.x...
Merge pull request #12911 from meeseeksmachine/auto-backport-of-pr-12758-on-7.x Backport PR #12758 on branch 7.x (Fix issue #11615 handle unicode encode error when print stack trace)

File last commit:

r25618:036da90a
r26468:197b993d merge
Show More
configtraits.py
16 lines | 414 B | text/x-python | PythonLexer
"""Directives and roles for documenting traitlets config options.
::
.. configtrait:: Application.log_datefmt
Description goes here.
Cross reference like this: :configtrait:`Application.log_datefmt`.
"""
def setup(app):
app.add_object_type('configtrait', 'configtrait', objname='Config option')
metadata = {'parallel_read_safe': True, 'parallel_write_safe': True}
return metadata