Show More
@@ -1,17 +1,16 b'' | |||
|
1 | 1 | """Directives and roles for documenting traitlets config options. |
|
2 | 2 | |
|
3 | 3 | :: |
|
4 | 4 | |
|
5 | 5 | .. configtrait:: Application.log_datefmt |
|
6 | 6 | |
|
7 | 7 | Description goes here. |
|
8 | 8 | |
|
9 | 9 | Cross reference like this: :configtrait:`Application.log_datefmt`. |
|
10 | 10 | """ |
|
11 | from sphinx.locale import l_ | |
|
12 | from sphinx.util.docfields import Field | |
|
11 | ||
|
13 | 12 | |
|
14 | 13 | def setup(app): |
|
15 | 14 | app.add_object_type('configtrait', 'configtrait', objname='Config option') |
|
16 | 15 | metadata = {'parallel_read_safe': True, 'parallel_write_safe': True} |
|
17 | 16 | return metadata |
General Comments 0
You need to be logged in to leave comments.
Login now