-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
Generate python3 docs #57009
Generate python3 docs #57009
Conversation
I was also looking at how to properly link the documents to /usr/share/ but haven't figured it out myself yet. If someone has an idea or a direction to pursue, please share. |
It's good this got some attention, thanks! |
In Nixpkgs we don't use |
@FRidh right, I missed that, still new to the platform. Looks like I can still refer to the docs through my |
Anything that holds this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will merge as is, even though some parts are already outdated, because it's an improvement anyway. Thanks!
@@ -3,10 +3,10 @@ | |||
{ stdenv, fetchurl, lib }: | |||
|
|||
stdenv.mkDerivation rec { | |||
name = "python27-docs-html-2.7.3"; | |||
name = "python27-docs-html-2.7.16"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to pick up version info from the python27.version
attribute
src = fetchurl { | ||
url = http://docs.python.org/ftp/python/doc/2.7.3/python-2.7.3-docs-html.tar.bz2; | ||
sha256 = "1hg92n0mzl9w6j33b2h0bf2vy6fsxnpxfdc3qw760vcm0y00155j"; | ||
url = http://docs.python.org/ftp/python/doc/2.7.16/python-2.7.16-docs-html.tar.bz2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and then use it here
This patch also updates generate.sh to new python.org docs archives layout.