mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Review updates
This commit is contained in:
@@ -885,7 +885,7 @@ mainly contained in information units, such as the language reference.
|
||||
.. index:: Python
|
||||
:name: py-index
|
||||
|
||||
.. versionadded:: 2.5
|
||||
.. versionadded:: 3.0
|
||||
|
||||
.. rst:role:: index
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ class IndexDirective(SphinxDirective):
|
||||
final_argument_whitespace = True
|
||||
option_spec = {
|
||||
'name': directives.unchanged,
|
||||
} # type: Dict
|
||||
}
|
||||
|
||||
def run(self) -> List[Node]:
|
||||
arguments = self.arguments[0].split('\n')
|
||||
|
||||
Reference in New Issue
Block a user