Files
sphinx/sphinx
Lewis Haley 6e1e35c98a autodoc: allow specifying values to global arguments
Previously, users could specify a *list* of flags in their config files.
The flags were directive names that would otherwise be present in the
.rst files. However, as a list, it was not possible to specify values
to those flags, which *is* possible in .rst files.

For example, in .rst you could say

  :special-members: __init__, __iter__

And this would cause autodoc to generate documents for these methods that
it would otherwise ignore.

This commit changes the config option to instead accept a dictionary.
This is a dictionary whose keys can contain the same flag-names as before,
but whose values can contain the arguments as seen in .rst files.

The old list is still supported, for backwards compatibility, but the data
is transformed into a dictionary when the user's config is loaded.
2018-08-17 15:51:00 +01:00
..
2018-07-15 14:55:15 +09:00
2018-06-16 18:23:36 +09:00
2018-05-03 11:06:16 +09:00
2018-07-15 14:55:22 +09:00
2018-08-17 00:56:35 +09:00
2018-01-01 01:06:58 +09:00
2018-07-17 00:29:53 +09:00
2018-02-17 10:01:57 +09:00
2018-06-21 23:23:30 +09:00
2018-03-18 01:21:01 +09:00
2018-03-18 01:21:01 +09:00
2018-06-09 20:53:01 +09:00
2018-01-01 01:06:58 +09:00
2018-03-26 02:02:19 +09:00
2018-07-28 18:20:11 +09:00
2018-04-14 15:43:38 +09:00