Commits (1)
......@@ -23,6 +23,7 @@ sys.path.append(os.path.join(SAGE_SRC, "sage_setup", "docbuild", "ext"))
extensions = ['inventory_builder',
'multidocs',
'sage_autodoc',
'sphinx_autodoc_typehints',
'sphinx.ext.graphviz',
'sphinx.ext.inheritance_diagram',
'sphinx.ext.todo',
......@@ -30,6 +31,9 @@ extensions = ['inventory_builder',
'IPython.sphinxext.ipython_directive',
'matplotlib.sphinxext.plot_directive']
set_type_checking_flag = True
always_document_param_types = True
# This code is executed before each ".. PLOT::" directive in the Sphinx
# documentation. It defines a 'sphinx_plot' function that displays a Sage object
# through matplotlib, so that it will be displayed in the HTML doc
......
......@@ -1767,7 +1767,7 @@ class RealChart(Chart):
else:
return self._bounds[i-self._sindex]
def coord_range(self, xx=None):
def coord_range(self, xx: str = None):
r"""
Display the range of a coordinate (or all coordinates), as an
interval.
......