Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Quantecon documentation site #644

Open
Smit-create opened this issue Oct 28, 2022 · 3 comments · Fixed by #651
Open

Fix Quantecon documentation site #644

Smit-create opened this issue Oct 28, 2022 · 3 comments · Fixed by #651

Comments

@Smit-create
Copy link
Member

Smit-create commented Oct 28, 2022

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

@oyamad
Copy link
Member

oyamad commented Nov 2, 2022

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

@Smit-create
Copy link
Member Author

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

@oyamad
Copy link
Member

oyamad commented Nov 22, 2022

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

@oyamad oyamad reopened this Nov 22, 2022
@oyamad oyamad added the bug label Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants