Skip to content

Commit d07e1c8

Browse files
Merge branch 'master' into fix/napoleon-section-ordering
2 parents 1d2b57d + 038fc40 commit d07e1c8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGES.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@ Features added
2020
Bugs fixed
2121
----------
2222

23+
* #14189: autodoc: Fix duplicate ``:no-index-entry:`` for modules.
24+
Patch by Adam Turner
25+
2326
Testing
2427
-------

sphinx/ext/autodoc/_renderer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ def _directive_header_lines(
6161
yield f' :platform: {options.platform}'
6262
if options.deprecated:
6363
yield ' :deprecated:'
64-
if options.no_index_entry:
65-
yield ' :no-index-entry:'
6664

6765
if props.obj_type in {'class', 'exception'}:
6866
assert isinstance(props, _ClassDefProperties)

0 commit comments

Comments
 (0)