aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/_static/style.css6
-rw-r--r--docs/conf.py2
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/_static/style.css b/docs/_static/style.css
index b08ac893..e1d218b3 100644
--- a/docs/_static/style.css
+++ b/docs/_static/style.css
@@ -1040,12 +1040,18 @@ dl.function > dt,
dl.attribute > dt,
dl.classmethod > dt,
dl.method > dt,
+dl.property > dt,
dl.class > dt,
dl.exception > dt {
background-color: var(--api-entry-background);
padding: 1px 10px;
}
+/* bug in sphinx: https://github.com/sphinx-doc/sphinx/issues/9384 */
+dl.property > dt > span.descname + em.property {
+ display: none;
+}
+
dd {
margin-top: 0.5em;
margin-bottom: 0.5em;
diff --git a/docs/conf.py b/docs/conf.py
index f7193dc5..03f69c19 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -45,6 +45,8 @@ extensions = [
autodoc_member_order = 'bysource'
autodoc_typehints = 'none'
+# maybe consider this?
+# napoleon_attr_annotations = False
extlinks = {
'issue': ('https://github.com/Rapptz/discord.py/issues/%s', 'GH-'),