mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
don't treat instance as special
This commit is contained in:
parent
bafb24dd93
commit
bdea34e54e
@ -932,8 +932,6 @@ class NumpyDocstring(GoogleDocstring):
|
||||
type_ = "value_set"
|
||||
elif token in ("optional", "default"):
|
||||
type_ = "control"
|
||||
elif "instance" in token:
|
||||
type_ = "literal"
|
||||
elif re.match(":[^:]+:`[^`]+`", token):
|
||||
type_ = "reference"
|
||||
elif token.isnumeric() or (token.startswith('"') and token.endswith('"')):
|
||||
|
Loading…
Reference in New Issue
Block a user