-
Notifications
You must be signed in to change notification settings - Fork 529
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
Cannot build the documentation in Python 3 #2893
Comments
No problem, we appreciate your interest and contributions. We have been aware of the doc issues for quite some time, but have not quite managed to implement a lasting fix. Last I remember, @heavelock had made some progress on creating a docker container for building the docs (#2792) but I am not sure where it currently stands. |
Hey there! Indeed, I was working on it but due to some major life changes I did not have enough time to finish working on that. I will try to do some progress on that tomorrow because I will have some time to work on hobby projects. |
I've looked at the Dockerfile. If you manage to build the docs in a docker container, you can do the same in a Python3 virtualenv. Users could do this in their Python3 envs. |
The idea was to change the old way of building docs too plus contenerize it. In the end there is so many not working and outdated solutions in the current method of building that trying to salvage it is not worth it. |
@ThomasLecocq it's hardly possible to go through the changes but the outlined changes LGTM. |
Should be fixed with #2662 |
Apologies for spamming issues and pull requests.
ObsPy version: master branch
Ubuntu 20.04 LTS
Python 3.9
I'm trying to build the documentation as described in Sphinx-documentation and install_python.py. Firstly, it's no longer possible to install the required fixed dependeies in Python 3.9 that I'm using. Secondly, when I installed them partially (to the extent that pip allowed me to do) I hit the following error while running
make html
:The error is triggered by pybtex. Thirdly, there is an alternative to pybtex called sphinxcontrib-bibtex which I have no affiliation with. And last but not least, sphinx has changed a lot since v1.1, and you will definitely benefit from incorporating their new features, not to mention the fact that you still use python 2 to build the docs.
The text was updated successfully, but these errors were encountered: