mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
changelog update for PR#136
This commit is contained in:
parent
d2b4f9a095
commit
44418fd1a1
2
CHANGES
2
CHANGES
@ -13,6 +13,8 @@ Features added
|
||||
* Autodoc directives for module data and attributes now support an
|
||||
``annotation`` option, so that the default display of the data/attribute
|
||||
value can be overridden.
|
||||
* PR#136: Autodoc directives now support an ``imported-members`` option to
|
||||
include members imported from different modules.
|
||||
* New locales: Macedonian, Sinhala, Indonesian.
|
||||
|
||||
Incompatible changes
|
||||
|
@ -187,12 +187,11 @@ inserting them into the page source under a suitable :rst:dir:`py:module`,
|
||||
* In an :rst:dir:`automodule` directive with the ``members`` option set, only
|
||||
module members whose ``__module__`` attribute is equal to the module name
|
||||
as given to ``automodule`` will be documented. This is to prevent
|
||||
documentation of imported classes or functions.
|
||||
Set ``imported-members`` option if you want to preven this behavior and
|
||||
document all available members.
|
||||
Note that attributes from imported modules will not be documented,
|
||||
because attribute documentation is discovered by parsing the source file
|
||||
of the current module.
|
||||
documentation of imported classes or functions. Set the
|
||||
``imported-members`` option if you want to prevent this behavior and
|
||||
document all available members. Note that attributes from imported modules
|
||||
will not be documented, because attribute documentation is discovered by
|
||||
parsing the source file of the current module.
|
||||
|
||||
.. versionadded:: 1.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user