Skip to content

Commit 98557b2

Browse files
committed
feat(docs): Fixed wrong formated docstring
1 parent 7438815 commit 98557b2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

discord/components.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -637,14 +637,14 @@ class ActionRow:
637637
"""
638638
Represents an ActionRow-Part for the components of an :class:`discord.Message`.
639639
640+
.. note ::
641+
642+
For more information about ActionRow's visit the `Discord-API Documentation <https://discord.com/developers/docs/interactions/message-components#actionrow>`_.
643+
640644
Parameters
641645
-----------
642646
\*components: \*Union[:class:`Button`, :class:`SelectMenu`]
643647
The components the :class:`ActionRow` should have. It could contain at least 5 :class:`Button`, or 1 :class:`SelectMenu`.
644-
645-
.. note ::
646-
647-
For more information about ActionRow's visit the `Discord-API Documentation <https://discord.com/developers/docs/interactions/message-components#actionrow>`_.
648648
"""
649649

650650
def __init__(self, *components):

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
# Add any paths that contain custom static files (such as style sheets) here,
174174
# relative to this directory. They are copied after the builtin static files,
175175
# so a file named "default.css" will overwrite the builtin "default.css".
176-
html_static_path = ['_static']
176+
html_static_path = ['_static', './_templates/style.css']
177177

178178
def setup(app: 'App'):
179179
app.add_css_file('./_templates/style.css')

0 commit comments

Comments
 (0)