Merge pull request #10239 from tk0miya/10234_autosummary_css

Close #10234: autosummary: Add "autosummary" CSS class to summary tables
This commit is contained in:
Takeshi KOMIYA
2022-03-06 18:43:17 +09:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -417,7 +417,7 @@ class Autosummary(SphinxDirective):
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)