Skip to content

Commit b3812f7

Browse files
authored
Merge pull request #10239 from tk0miya/10234_autosummary_css
Close #10234: autosummary: Add "autosummary" CSS class to summary tables
2 parents 9f8974d + cac69ad commit b3812f7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Deprecated
1515
Features added
1616
--------------
1717

18+
* #10234: autosummary: Add "autosummary" CSS class to summary tables
1819
* #10125: extlinks: Improve suggestion message for a reference having title
1920
* #9494, #9456: html search: Add a config variable
2021
:confval:`html_show_search_summary` to enable/disable the search summaries

sphinx/ext/autosummary/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def get_table(self, items: List[Tuple[str, str, str, str]]) -> List[Node]:
417417
table_spec['spec'] = r'\X{1}{2}\X{1}{2}'
418418

419419
table = autosummary_table('')
420-
real_table = nodes.table('', classes=['longtable'])
420+
real_table = nodes.table('', classes=['autosummary longtable'])
421421
table.append(real_table)
422422
group = nodes.tgroup('', cols=2)
423423
real_table.append(group)

0 commit comments

Comments
 (0)