Skip to content

Commit

Permalink
Close #10234: autosummary: Add "autosummary" CSS class to summary tables
Browse files Browse the repository at this point in the history
  • Loading branch information
tk0miya committed Mar 6, 2022
1 parent 9f8974d commit cac69ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES
Expand Up @@ -15,6 +15,7 @@ Deprecated
Features added
--------------

* #10234: autosummary: Add "autosummary" CSS class to summary tables
* #10125: extlinks: Improve suggestion message for a reference having title
* #9494, #9456: html search: Add a config variable
:confval:`html_show_search_summary` to enable/disable the search summaries
Expand Down
2 changes: 1 addition & 1 deletion sphinx/ext/autosummary/__init__.py
Expand Up @@ -417,7 +417,7 @@ def get_table(self, items: List[Tuple[str, str, str, str]]) -> List[Node]:
table_spec['spec'] = r'\X{1}{2}\X{1}{2}'

table = autosummary_table('')
real_table = nodes.table('', classes=['longtable'])
real_table = nodes.table('', classes=['autosummary longtable'])
table.append(real_table)
group = nodes.tgroup('', cols=2)
real_table.append(group)
Expand Down

0 comments on commit cac69ad

Please sign in to comment.