mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
merge
This commit is contained in:
commit
2c8e51a17b
3
CHANGES
3
CHANGES
@ -3,6 +3,9 @@ Release 0.6.6 (in development)
|
|||||||
|
|
||||||
* #387: Fix the display of search results in ``dirhtml`` output.
|
* #387: Fix the display of search results in ``dirhtml`` output.
|
||||||
|
|
||||||
|
* #376: In autodoc, fix display of parameter defaults containing
|
||||||
|
backslashes.
|
||||||
|
|
||||||
* #370: Fix handling of complex list item labels in LaTeX output.
|
* #370: Fix handling of complex list item labels in LaTeX output.
|
||||||
|
|
||||||
* #374: Make the ``doctest_path`` config value of the doctest
|
* #374: Make the ``doctest_path`` config value of the doctest
|
||||||
|
@ -813,7 +813,10 @@ class FunctionDocumenter(ModuleLevelDocumenter):
|
|||||||
argspec = inspect.getargspec(self.object.__init__)
|
argspec = inspect.getargspec(self.object.__init__)
|
||||||
if argspec[0]:
|
if argspec[0]:
|
||||||
del argspec[0][0]
|
del argspec[0][0]
|
||||||
return inspect.formatargspec(*argspec)
|
args = inspect.formatargspec(*argspec)
|
||||||
|
# escape backslashes for reST
|
||||||
|
args = args.replace('\\', '\\\\')
|
||||||
|
return args
|
||||||
|
|
||||||
def document_members(self, all_members=False):
|
def document_members(self, all_members=False):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user