File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -337,10 +337,7 @@ def _str_references(self):
337337 out += ['' ]
338338 # Latex collects all references to a separate bibliography,
339339 # so we need to insert links to it
340- if sphinx .__version__ >= "0.6" :
341- out += ['.. only:: latex' , '' ]
342- else :
343- out += ['.. latexonly::' , '' ]
340+ out += ['.. only:: latex' , '' ]
344341 items = []
345342 for line in self ['References' ]:
346343 m = re .match (r'.. \[([a-z0-9._-]+)\]' , line , re .I )
Original file line number Diff line number Diff line change 3030from sphinx .util import logging
3131from sphinx .errors import ExtensionError
3232
33- if sphinx .__version__ < '1.6.5 ' :
34- raise RuntimeError ("Sphinx 1.6.5 or newer is required" )
33+ if sphinx .__version__ < '1.8 ' :
34+ raise RuntimeError ("Sphinx 1.8 or newer is required" )
3535
3636from .docscrape_sphinx import get_doc_object
3737from .validate import validate , ERROR_MSGS
You can’t perform that action at this time.
0 commit comments