##// END OF EJS Templates
back to dev
back to dev

File last commit:

r25608:70b7090a
r28741:f9982dbf
Show More
configtraits.py
16 lines | 414 B | text/x-python | PythonLexer
Thomas Kluyver
Make each config option individually linkable
r23831 """Directives and roles for documenting traitlets config options.
::
.. configtrait:: Application.log_datefmt
Description goes here.
Cross reference like this: :configtrait:`Application.log_datefmt`.
"""
Lumir Balhar
Fix compatibility with the latest release of Sphinx...
r25608
Thomas Kluyver
Make each config option individually linkable
r23831
def setup(app):
app.add_object_type('configtrait', 'configtrait', objname='Config option')
metadata = {'parallel_read_safe': True, 'parallel_write_safe': True}
return metadata