Skip to content

Commit

Permalink
Add attributes heading automatically.
Browse files Browse the repository at this point in the history
  • Loading branch information
EvieePy committed Mar 20, 2024
1 parent d4510cf commit 60862b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/templates/python/material/docstring/attributes.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% extends "_base/docstring/attributes.html" %}
{% block contents %}
{% block list_style scoped %}
<p class="pythonista-docs-heading">Attributes</p>
<ul>
{% for attribute in section.value %}
<li class="field-body">
Expand Down
3 changes: 1 addition & 2 deletions twitchio/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,8 @@ class Game:
| `__eq__` | `game == game2`, `game != game2` | Checks if two games are equal. |
<p class="pythonista-docs-heading">Attributes</p>
Attributes
-----------
----------
id: str
The ID of the game provided by Twitch.
name: str
Expand Down

0 comments on commit 60862b3

Please sign in to comment.