Skip to content

Commit

Permalink
Style: Retitle inline 'Contents' to 'Table of Contents' for clarity (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
CAM-Gerlach authored Apr 20, 2022
1 parent a6336e9 commit e0d4ae5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def depart_label(self, node) -> None:

def visit_bullet_list(self, node):
if isinstance(node.parent, nodes.section) and "contents" in node.parent["names"]:
self.body.append("<details><summary>Contents</summary>")
self.body.append("<details><summary>Table of Contents</summary>")
self.context.append("</details>")
super().visit_bullet_list(node)

Expand Down

0 comments on commit e0d4ae5

Please sign in to comment.