Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can the GAE Python documentation be downloaded for offline reading?

IIRC the GAE downloads page used to have a separate link for the documentation, but I don't see one now. Is it possible to download the Python documentation for faster, local access?

like image 667
jbarham Avatar asked Mar 31 '26 06:03

jbarham


1 Answers

As pointed out by Jan Killian here, there is an open issue to get the offline docs downloadable and updated which you can star, as I did, to help push its priority.

In the meantime, I use Jan's approach in that post of mirroring the site with httrack. So if i ran it in directory '/home/yuvilio/app/docs'

$ httrack -N100 -%k https://developers.google.com/appengine/docs/python/

It would make the documentation available via browser at file url file:///home/yuvilio/apps/docs/appengine/docs/python/index.html

For better stylesheet setup, I decided to have a virtual host on my local web server point to the root directory ( /home/yuvilio/apps/docs/appengine/docs/python ) and have the _static/ directory there with the expected stylesheets in the css/ directory in it. That is, I created a simple virtual host on my local Apache server and pointed it at the directory for the DocumentRoot. I then ran a simple search and replace script on the files to change all https://developers.google.com to the my vhosts's ServerName (I called it http://developers.google.dev ) and got styles that way. I could then browse the documentation through http://developers.google.dev/index.html which I ended up switching to .

like image 99
yuvilio Avatar answered Apr 02 '26 21:04

yuvilio



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!