summaryrefslogtreecommitdiffstats
path: root/Doc/tools/prechm.py
Commit message (Collapse)AuthorAgeFilesLines
* Boost the list of stop words, by merging in the little list JeremyTim Peters2002-05-021-7/+9
| | | | | just checked into Zope's ZCTextIndex branch. This reduces the size of the .chm file by about 100KB.
* Hack around the "2.1.6 Blank lines" bug in a way that the TOC stillTim Peters2002-04-211-8/+10
| | | | | displays a recognizable section title (there are extra blanks at the end of it now, due to the nested anchor, but that's fine).
* Give the Help viewer a font-size button. This isn't documented by MS,Tim Peters2002-04-211-1/+30
| | | | | but is documented by others on the web, and the defn of the magic flag needed appears in MS's htmlhelp.h header file.
* Move "everything left one": the TOC now shows each doc directory as aTim Peters2002-04-201-9/+10
| | | | | | | distinct top-level node. Before they were all nested under an artificial top-level node, uselessly chewing up horizontal space, and ensuring that the only thing the user saw in the TOC upon opening the file was a single collapsed top-level folder.
* Stopped all warnings from the HTML Help Compiler, by generating properTim Peters2002-04-201-21/+34
| | | | | | | | | | | | | | | HTML (or, at least, proper in its view). The TOC file is now identical to what the HTML compiler itself generates, except for whitespace and a glitch identified below. The pretty-printing done by prechm.py is pretty much destroyed for now; if you need it pretty-printed, just make the Help Compiler save the files (it's got its own idea of pretty- printing anyway). Glitch: The title of Ref Man "2.1.6 Blank lines" shows up as a blank for now. This is because the relevant entry in ref/index.html contains nested anchors, and pychm really has no idea what to do with that. I hacked it for now to avoid any error messages or worse insanity, and filed a bug report against the docs.
* Widespread: Used classes in a more natural way. Added convenienceTim Peters2002-04-201-63/+76
| | | | | | | methods to squash code duplication. Simplified several overly complex chunks of logic. Built output strings more with string interpolation instead of infix '+'. Added comments. Exploited recent Python features (chiefly bool and augmented assignment).
* Replaced the fiddly 5-tuples with a new Book convenience class, allowingTim Peters2002-04-201-65/+86
| | | | | | to reference fields via names instead of meaningless little integers. This turned up one case where the wrong little integer was being used, in informative progress output. Fixed that too.
* Fixed a comment.Tim Peters2002-04-201-1/+1
|
* All over: get rid of blanks before colons that open code blocks.Tim Peters2002-04-201-45/+45
|
* do_project(): Modernized the code.Tim Peters2002-04-201-9/+10
|
* Added "What's New" to the 2.2 doc set.Tim Peters2002-04-201-0/+1
|
* Added a stop-list to reduce the size of the full text search index. Fred,Tim Peters2002-04-191-3/+29
| | | | | populate the "stop_list" triple-quoted string with your favorite handful of stop words.
* project_template: use dict interpolation instead of giant tuples.Tim Peters2002-04-191-14/+13
|
* + Changed TOC to folder-tree style.Tim Peters2002-04-191-1/+2
| | | | | | | + Increased size of the window the user sees the first time. + Arranged for the display to remember its last size and position. + Added a Favorites (bookmarks) tab. + Added the "Advanced Search" decorations.
* Generates inputs to the Microsoft Help Compiler, which creates compiledTim Peters2002-04-191-0/+362
HTML help files (.chm). Obtained from Robin Dunn's packaging of the 2.2 docs at <http://alldunn.com/python/>, obtained in turn from Hernán Martínez Foffani's original work at <http://www.orgmf.com.ar/condor/pytstuff.html>.