QuantEcon.py
QuantEcon.py copied to clipboard
Fix Quantecon documentation site
See: https://quanteconpy.readthedocs.io/en/latest/optimize/linprog_simplex.html
The function arguments are not displayed properly
There are similar reports in readthedocs/sphinx_rtd_theme#766 and other issues as linked from there (but I haven't read those long discussions...).
This work around works for me:
diff --git a/docs/source/conf.py b/docs/source/conf.py
index ca37505..431173e 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -86,6 +86,8 @@ extensions = [
'matplotlib.sphinxext.plot_directive',
]
+html4_writer = True
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

#651 does not seem to have fixed this issue: see for example https://quanteconpy.readthedocs.io/en/latest/tools/filter.html.