mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
latex: Reorder deprected method
This commit is contained in:
parent
d07103fde2
commit
80b320c9ae
@ -739,13 +739,6 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
footnode.walkabout(self)
|
||||
self.pending_footnotes = []
|
||||
|
||||
@property
|
||||
def footnotestack(self):
|
||||
# type: () -> List[Dict[unicode, List[Union[collected_footnote, bool]]]]
|
||||
warnings.warn('LaTeXWriter.footnotestack is deprecated.',
|
||||
RemovedInSphinx30Warning)
|
||||
return []
|
||||
|
||||
def format_docclass(self, docclass):
|
||||
# type: (unicode) -> unicode
|
||||
""" prepends prefix to sphinx document classes
|
||||
@ -2566,6 +2559,13 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
|
||||
# --------- METHODS FOR COMPATIBILITY --------------------------------------
|
||||
|
||||
@property
|
||||
def footnotestack(self):
|
||||
# type: () -> List[Dict[unicode, List[Union[collected_footnote, bool]]]]
|
||||
warnings.warn('LaTeXWriter.footnotestack is deprecated.',
|
||||
RemovedInSphinx30Warning)
|
||||
return []
|
||||
|
||||
@property
|
||||
def bibitems(self):
|
||||
# type: () -> List[List[unicode]]
|
||||
|
Loading…
Reference in New Issue
Block a user