1. 7f51a0332edd0c675c2d314ca3e62df7ef041281 deps/ipython (8.4.0-33-g7f51a0332)
17 lines
414 B
Python
17 lines
414 B
Python
"""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
|