Fix property CSS to be more inline with everything else

This commit is contained in:
Rapptz 2021-06-28 04:16:51 -04:00
parent 039bb9f871
commit e3a66bcccc
2 changed files with 8 additions and 0 deletions

View File

@ -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;

View File

@ -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-'),