##// END OF EJS Templates
Moving configuration to sphinx.toml file (#14427)...
Moving configuration to sphinx.toml file (#14427) This is a PR to move all _static_ docs configuration from the conf.py file to a toml file. I did things in the simplest way possible since I figure it's no use trying to optimize this now.

File last commit:

r25608:70b7090a
r28772:d72dd7f3 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