QuantEcon.py icon indicating copy to clipboard operation
QuantEcon.py copied to clipboard

Fix Quantecon documentation site

Open Smit-create opened this issue 3 years ago • 3 comments

See: https://quanteconpy.readthedocs.io/en/latest/optimize/linprog_simplex.html

The function arguments are not displayed properly

Screenshot 2022-10-28 at 7 24 49 PM

Smit-create avatar Oct 28 '22 13:10 Smit-create

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...).

oyamad avatar Nov 02 '22 01:11 oyamad

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']

image

Smit-create avatar Nov 06 '22 13:11 Smit-create

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

oyamad avatar Nov 22 '22 07:11 oyamad