-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
use the right python "make -C Doc/ serve" #80510
Comments
When serving the documentation with My use case, I wanted to debug the wsgiref.simple_server method, used by Tools/scripts/serve.py. It's just impossible because we use the default python3 binary from the system or from the virtualenv (pyenv. etc...) |
New changeset 09a9f17 by Julien Palard (Stéphane Wirtel) in branch 'master': |
Personally, I'd prefer removing the 'serve' target completely. make -C Doc htmlview should already cover most of its use cases. There is no deprecation period needed and there is already a replacement (and IMO better) for it. |
Hi Berker, When I have read your message, I was surprised because this target my current workflow is make -C Doc/ venv && make -C Doc/ html serve and open my browser at but with your suggestion, I think it's better for us and also for the So, I have discussed with @julien Palard and he told me that he did not But there will be an other issue, in the devguide, there is also a But there is no htmlview target. For the moment, we have a common solution for the two project if we want We could:
+1 for removing the serve.py script and use htmlview. |
Yeah, we can add htmlview to devguide. I’ve even added it to Django after I
|
I've made PRs for this:
Also set this bpo for Python 3.11. |
For those seeking the old "serve" ability, after
I use that with a default port forwarding on my ssh session (aka I rarely have the ability for a development system to run a web browser or automatically tell my desktop browser full of important authentications where to go. In general as risk mitigation, but also in part because I'm happy using remote dev environments and ChromeOS. |
We also have sphinx-autobuild has Lines 147 to 150 in d9cfe7e
|
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: