-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Improve troubleshooting guides #10183
Comments
Honestly, I'm not sure how I can provide value to this issue. However, I've been seeing this issue open every time I check my notifications, so I'm going ahead an commenting something here 😄 . I think the short answer for all of these proposal is "we don't want people to jump into this kind of darkness". In particular, using Read the Docs' Docker images, because they are not thought to be used outside Read the Docs. Even more, I've proposed to make that repository private multiple times and remove them from Docker Hub because it generates these confusions. That's why you are hitting the problems you are hitting: no sudo, hard to install (requires compiling) a Python version using asdf, etc. We haven't exposed anything like what you are suggesting because it's hard to do it in a way that users and customers can feel comfortable using; and we can maintain 🥲 I think, for now, the best you can do to debug anything similar to that is using I'm sorry that I don't have a better answer 😞 |
It is the answer I was looking for, just needs a prominent place in the docs 😊 Thanks @humitos, as always! |
On the topic of "Read the Docs standard build process" to "Read the Docs standard build process, but replicated with so that, after that, users can gradually debug things? That transition path is what I'm missing to start using |
This is not yet possible. You can build with |
I understand that In other words: is it possible nowadays to recreate the same "backend" commands that RTD does, with |
Oh, I misunderstood your previous comment. I thought you wanted to migrate to
Not at 100%, no. There is Python code from the application itself that cannot be run with |
(Opening a blank issue because there's no option for "feature request" anymore)
More often than not when I'm troubleshooting Sphinx build problems, I still cannot reproduce exactly the result that appears on RTD. The most likely explanation is that there are slightly different dependencies versions, but it's hard to know for sure until one tries out.
Back in the day I used to have a very manual process of troubleshooting builds, which was launching a container, and copy-pasting the commands from the build logs. I've just tried to do that now again, but I got stuck pretty quickly, probably because I'm doing something different:
There are some ways in which debugging Sphinx inside RTD could be nicer, for example:
sphinx.ext.autosummary
)pip freeze
of the dependencies that got used in the end so that I can install exactly those locallyThese are all feature requests of various degrees of complexity. However, this issue is about improving the documentation. What I'd love to see is a page saying
docker pull
)(Of course this has been a problem for me since forever, but only now I went ahead and opened an issue about it)
The text was updated successfully, but these errors were encountered: