mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update docstring to patches for table directives
table directives on docutils-0.13.1+ set source information to caption node. So these patch will be not necessary in feature version of docutils. https://sourceforge.net/p/docutils/patches/137/
This commit is contained in:
@@ -57,7 +57,9 @@ class Meta(html.Meta):
|
||||
|
||||
|
||||
class RSTTable(tables.RSTTable):
|
||||
"""The table directive which sets source and line information to its caption."""
|
||||
"""The table directive which sets source and line information to its caption.
|
||||
|
||||
Only for docutils-0.13 or older version."""
|
||||
|
||||
def make_title(self):
|
||||
title, message = tables.RSTTable.make_title(self)
|
||||
@@ -68,7 +70,9 @@ class RSTTable(tables.RSTTable):
|
||||
|
||||
|
||||
class CSVTable(tables.CSVTable):
|
||||
"""The csv-table directive which sets source and line information to its caption."""
|
||||
"""The csv-table directive which sets source and line information to its caption.
|
||||
|
||||
Only for docutils-0.13 or older version."""
|
||||
|
||||
def make_title(self):
|
||||
title, message = tables.CSVTable.make_title(self)
|
||||
@@ -79,7 +83,9 @@ class CSVTable(tables.CSVTable):
|
||||
|
||||
|
||||
class ListTable(tables.ListTable):
|
||||
"""The list-table directive which sets source and line information to its caption."""
|
||||
"""The list-table directive which sets source and line information to its caption.
|
||||
|
||||
Only for docutils-0.13 or older version."""
|
||||
|
||||
def make_title(self):
|
||||
title, message = tables.ListTable.make_title(self)
|
||||
|
||||
Reference in New Issue
Block a user