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

requirements for developer sphinx building not included? #779

Closed
teuben opened this issue Jul 13, 2021 · 4 comments
Closed

requirements for developer sphinx building not included? #779

teuben opened this issue Jul 13, 2021 · 4 comments
Labels
stale Issues that have been around for a while without updates

Comments

@teuben
Copy link

teuben commented Jul 13, 2021

I don't see anywhere the needed sphinx modules needed to "make html" locally in developer mode. I read in #590 that you only build on readthedocs.... but recently they updated to sphinx 4.1, which broke my NEMO build. So I tried building the AMUSE html tree, which eventually fails for me with
Could not import extension matplotlib.sphinxext.only_directives (exception: No module named 'matplotlib.sphinxext.only_directives'). That's probably an easy fix, but I'm also curious if AMUSE builds fine with the new sphinx 4.

For reference, my requirements.txt for sphinx building (in NEMO) is, but that clearly can use an update too:

sphinx>=2.0
sphinx-automodapi==0.12
sphinxcontrib-applehelp==1.0.1
sphinxcontrib-devhelp==1.0.1
sphinxcontrib-htmlhelp==1.0.2
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.2
sphinxcontrib-serializinghtml==1.1.3
sphinxcontrib-websupport==1.1.2
sphinx-rtd-theme==0.5.2

@teuben
Copy link
Author

teuben commented Jul 13, 2021

On the sphinx 4.1.0 error, this appears to be an upstream error: sphinx-doc/sphinx#9434

@rieder
Copy link
Member

rieder commented Jul 16, 2021

Hi Peter - I had to do some fixes (see #781) but it does now build for me.
There may be additional requirements that I'm missing so I'll test on a 'cleaner' machine before merging/closing the issue.

@teuben
Copy link
Author

teuben commented Jul 16, 2021

I confirm, your doc-fixes branch works for me too now. I'm curious if any changes you made on the amusecode site will show up on readthedocs. Mine still are not.

@stale
Copy link

stale bot commented Mar 4, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 4, 2022
@rieder rieder added stale Issues that have been around for a while without updates and removed wontfix labels Mar 4, 2022
@stale stale bot closed this as completed Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues that have been around for a while without updates
Projects
None yet
Development

No branches or pull requests

2 participants