Skip to content

Commit

Permalink
fix: don't use deprecated method on docutils.nodes classes
Browse files Browse the repository at this point in the history
  • Loading branch information
onerandomusername committed Jul 25, 2022
1 parent 3f21e63 commit 0fc40e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/extensions/attributetable.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def get_class_results(
def class_results_to_node(key: str, elements: List[TableElement]) -> attributetablecolumn:
title = attributetabletitle(key, key)
ul = nodes.bullet_list("")
ul.set_class("py-attribute-table-list")
ul["classes"].append("py-attribute-table-list")
for element in elements:
ref = nodes.reference(
"",
Expand Down

0 comments on commit 0fc40e6

Please sign in to comment.