A long time ago I wrote a redirector to note and display the most frequently requested modules from the library reference manual's global module index. When Georg Brandl did his massive rewrite of the Python manuals that broke. I finally took the time this evening to resurrect that function. The result is here: http://www.webfast.com/modindex/ I reset all the counters and seeded the cache with a few modules. Click around in the index a few times then reload the above page. You'll get the idea. Skip
Cool! Is it just a matter of checking this in and it will work on the site? --Guido 2007/10/26, skip@pobox.com <skip@pobox.com>:
A long time ago I wrote a redirector to note and display the most frequently requested modules from the library reference manual's global module index. When Georg Brandl did his massive rewrite of the Python manuals that broke. I finally took the time this evening to resurrect that function. The result is here:
http://www.webfast.com/modindex/
I reset all the counters and seeded the cache with a few modules. Click around in the index a few times then reload the above page. You'll get the idea.
Skip
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
Guido van Rossum schrieb:
Cool! Is it just a matter of checking this in and it will work on the site?
No. The current newstyle docs (2.6, 3.0) are static HTML pages. However, Sphinx can also generate slightly different output which is then used by a web app that has all the dynamic features for docs like comments, and among them is also already something like Skip's "frequently requested modules" list. I wanted to keep the development docs static, to minimize load on the docs server, and begin serving the 2.6 or 3.0 docs via the web app as they are the "official" ones, that is, as soon as one of them is released. Georg -- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out.
"Guido" == Guido van Rossum <guido@python.org> writes:
Guido> Cool! Is it just a matter of checking this in and it will work on Guido> the site? Alas, no. I wrote this awhile ago when the site was built w/ ht2html. My thing is a simple front-end using Myghty. As Georg indicated in his response he has some dynamic stuff in Sphinx which will do this and more. I suspect once he goes fully dynamic my little hack won't be necessary any longer, but I missed it, especially with the new layout where less of the index is visible without paging down. I got tired of my modindex URL doing the work necessary to process the index (and thus being a little slower than just going straight to the index itself) but not seeing the proper anchors in the file which allowed it to insert the table and rewrite URLs to allow counting clicks. Skip
participants (3)
-
Georg Brandl
-
Guido van Rossum
-
skip@pobox.com