Commit Graph

94 Commits

Author SHA1 Message Date
hpk 96355656ce [svn r38824] skip these tests on win32
--HG--
branch : trunk
2007-02-14 14:11:34 +01:00
hpk 0a4d47a4c7 [svn r38819] skip apigen on win32
--HG--
branch : trunk
2007-02-14 13:44:52 +01:00
hpk 1fd940c579 [svn r38797] fixing the too global revision caching
--HG--
branch : trunk
2007-02-14 12:02:16 +01:00
guido bed622d665 [svn r38779] Made that the package revision is now shown in the title rather than each
file's individual revision.

--HG--
branch : trunk
2007-02-14 03:03:51 +01:00
guido f074f6137c [svn r38773] Using ensure() better (thanks, hpk ;).
--HG--
branch : trunk
2007-02-14 01:11:26 +01:00
guido d457485d1b [svn r38772] Make sure target dir exists before writing files to it.
--HG--
branch : trunk
2007-02-14 01:07:45 +01:00
guido 13c44faa38 [svn r38770] Removed option --apigen_relpath, added options --docpath and --apigenpath, both
of which are not only used for building the navigation, but also to actually
tell py.test where docs should be generated. Also cleaned up and fixed the
situation regarding relative links in the navigation menu and stylesheet/js
paths.

--HG--
branch : trunk
2007-02-14 00:56:57 +01:00
hpk f643f601c6 [svn r38763] overriding the new a_docref and a_apigenref Page helper methods,
getting rid of update_menubar_links

--HG--
branch : trunk
2007-02-13 23:20:05 +01:00
guido e2931176bb [svn r38701] Fixed line heights in Konqueror.
--HG--
branch : trunk
2007-02-13 15:29:12 +01:00
guido 7953ac1b82 [svn r38653] Skipping some tests on win32, for some reason svnwc.info().created_rev seems
to fail (need to look into it in more detail later).

--HG--
branch : trunk
2007-02-13 02:11:30 +01:00
guido 63c2a8f62f [svn r38652] Fixed rendering problems in IE, updated todo.txt.
--HG--
branch : trunk
2007-02-13 02:01:23 +01:00
guido cb8041a34a [svn r38650] Added env var for creating relative links to the py lib docs (in the nav bar),
added script to generate py lib's docs and api docs in a subdir in one go.

--HG--
branch : trunk
2007-02-13 00:14:50 +01:00
hpk 16e47af8a9 [svn r38626] some XXX to TODO, and adding a part about proper linking
--HG--
branch : trunk
2007-02-12 19:11:07 +01:00
guido 5a46d43990 [svn r38578] Made that the docstring isn't replaced by the function info anymore, but the
func info is appended, some small style issues.

--HG--
branch : trunk
2007-02-12 16:45:56 +01:00
guido c7fa5db37b [svn r38571] Using wcpath.info().created_rev (last changed revision) rather than
wcpath.status().rev (current wc rev) as revision, added revision for source and
namespace pages.

--HG--
branch : trunk
2007-02-12 16:21:35 +01:00
hpk 4388237e69 [svn r38534] some more little issues
--HG--
branch : trunk
2007-02-12 01:41:07 +01:00
hpk 508eb5d4de [svn r38504] fixes for python2.3
--HG--
branch : trunk
2007-02-11 19:36:38 +01:00
hpk 22d98ac3a1 [svn r38460] removing a very-likely-obsolete test
and otherwise fixing files and tests
to do py.test.skip()s only during setup.

--HG--
branch : trunk
2007-02-11 14:46:46 +01:00
hpk 155886bb54 [svn r38456] konqueror issues
--HG--
branch : trunk
2007-02-11 14:31:24 +01:00
hpk 609b34d586 [svn r38449] removed DONE issues, added one more (sources page)
and comments.

--HG--
branch : trunk
2007-02-11 12:14:44 +01:00
hpk b7b9ff2b71 [svn r38448] shorter title
--HG--
branch : trunk
2007-02-11 12:05:52 +01:00
guido 8a60d6ee5c [svn r38440] Made that the blue links are colored from the stylesheet.
--HG--
branch : trunk
2007-02-11 03:21:45 +01:00
guido a6fd3c241e [svn r38439] Fixed a list of things suggested by hpk: changed method order in class pages,
changed page titles, added links to the api and source index from the nav bar
(also in py/doc html), changed function views, made it possible to remove an
item from the navigation, changed header 'properties' to 'class attributes and
properties', removed duplicate stack traces (in a somewhat unsatisfying way,
needs revisiting later I think).

--HG--
branch : trunk
2007-02-11 03:04:36 +01:00
hpk c311d2bc0a [svn r38408] my current list of things (not totally sorted in prio order)
that i'd like for 0.9

--HG--
branch : trunk
2007-02-10 21:29:03 +01:00
guido d3cd1c5bcf [svn r38393] Made (displayed) paths to source files relative whenever possible.
--HG--
branch : trunk
2007-02-10 16:19:17 +01:00
guido f88bbf1b83 [svn r38388] Removed stuff that's done, added a couple more items to do.
--HG--
branch : trunk
2007-02-10 15:22:16 +01:00
guido ada3a4cfcf [svn r38386] Fixed some more nasty problems after running py.test --apigen on pypy: problem
recognizing """foo "bar" baz""" as a single line string (hack unfortunately),
unicode problems. Also added some code to debug the tokenizer: you can now run
the color.py script with a Python file as arg to tokenize the file.

--HG--
branch : trunk
2007-02-10 15:20:21 +01:00
guido 663447a7d1 [svn r38370] Hrmph, probably the nastiest case of 'debug print' I ran into so far, bringing
apigen almost to a crawl... Also small optimization making that 'normal'
multi-line strings are resolved before those using \.

--HG--
branch : trunk
2007-02-10 13:02:06 +01:00
guido 4d4ce90f73 [svn r38362] Fixed stupidity in the last checkin: only matching multi-line strings using
slashes if the slash is actually at the end of the line... :(

--HG--
branch : trunk
2007-02-10 12:06:58 +01:00
hpk e57df20f4b [svn r38315] fixing failing apigen test and adding
a string equality assertion helper
(if we need to have such exact string-comparison tests,
then let's at least make it convenient
to discover the problem quickly)

--HG--
branch : trunk
2007-02-09 21:36:20 +01:00
hpk 248a8d944f [svn r38310] assertion to be sure about keywords
--HG--
branch : trunk
2007-02-09 20:45:04 +01:00
guido 30608ea412 [svn r38262] Fixed support for tokenizing multi-line strings that use \ to span lines.
--HG--
branch : trunk
2007-02-09 16:13:30 +01:00
guido 73281adc5a [svn r38246] Fixed problems with line height in sources, added missing commas to seperate
base classes, added all Python (2.5) keywords.

--HG--
branch : trunk
2007-02-09 14:01:08 +01:00
guido 9a0fa93ce6 [svn r38215] Gotta love the XHTML validity checks... ;)
--HG--
branch : trunk
2007-02-08 23:47:28 +01:00
guido 999da7a376 [svn r38213] Some small cleanups, made fonts a bit smaller and more consistent.
--HG--
branch : trunk
2007-02-08 23:19:10 +01:00
guido 1c1df46a55 [svn r38183] Made that py.execnet.Channel (referring to py.__.execnet.channel.Channel) is
picked up by the apigen doc generator, fixed some bugs that made that that
didn't work previously.

--HG--
branch : trunk
2007-02-08 18:28:55 +01:00
guido f8e50aabad [svn r38150] Fixed test that failed after the last change in apigen (removing the stacks
from the callable info boxes).

--HG--
branch : trunk
2007-02-08 16:14:21 +01:00
guido fff15f50f3 [svn r38148] Made that stacks are built on seperate pages instead of inline in the function
information, to avoid having > 5MB pages...

--HG--
branch : trunk
2007-02-08 15:52:49 +01:00
guido 46f8c56c9b [svn r38144] Fixed a problem with the linker which on building api/source docs found matches
in its own source code, moved some elements in the apigen docs out of a header
where they shouldn't have been (making the font too large).

--HG--
branch : trunk
2007-02-08 14:54:38 +01:00
fijal 60455ead56 [svn r38115] Call python directly
--HG--
branch : trunk
2007-02-07 21:40:09 +01:00
guido eeedfd2d8f [svn r38079] Typo in some help string, and made fonts of apigen a bit smaller somewhere.
--HG--
branch : trunk
2007-02-07 17:03:19 +01:00
guido 318a1c2333 [svn r38044] Now just writing dots when running tests, decreased font size a little of the
class docstring and link.

--HG--
branch : trunk
2007-02-07 02:01:25 +01:00
guido 8ab4468b5c [svn r38043] Changed the way the lazy linking is handled: instead of building the pages
and replacing the links all in memory, pages are now written to disk with
temporary hrefs, which are replaced afterwards.

--HG--
branch : trunk
2007-02-07 01:24:21 +01:00
guido 12b991723e [svn r38036] Some small code cleanups (moved more HTML generation code to html.py).
--HG--
branch : trunk
2007-02-06 22:18:56 +01:00
guido 3690e384a9 [svn r38005] Made that source snippets are now shown in two tables, to allow selecting
the source without the line numbers, decreased font size a bit, made that the
Page class can be passed in from the outside (build() method) to more easily
allow customization of the layout and pages.

--HG--
branch : trunk
2007-02-06 14:19:16 +01:00
guido 0292420920 [svn r37931] Made that the __init__ method is the first method displayed.
--HG--
branch : trunk
2007-02-04 22:49:44 +01:00
guido 7034b507a3 [svn r37928] Updated test (oops).
--HG--
branch : trunk
2007-02-04 22:21:35 +01:00
guido a1c7ab69f9 [svn r37926] Small visual tweaks.
--HG--
branch : trunk
2007-02-04 22:11:43 +01:00
guido 16f9103a0a [svn r37922] Made that properties (class attributes) are displayed, fixed the links in the
menubar.

--HG--
branch : trunk
2007-02-04 16:47:33 +01:00
guido 98b4dcf155 [svn r37913] Some more cleanups in HTML generation, fixed support for docstrings in
namespaces, in order to do this I had to change the way objects are retrieved:
instead of getting them from the DSA I now walk the package tree, small change
in apigen.py: to allow re-using the get_documentable_items function I split it
up in a generic and a specific part.

--HG--
branch : trunk
2007-02-04 15:35:28 +01:00