Commit Graph

23 Commits

Author SHA1 Message Date
hpk c17a09adaf [svn r62211] merge 60797:HEAD of pytestplugin branch:
this merge contains:

* a new plugin architecture
* a pluginized pytest core
* many pytest related refactorings
* refactorings/streamlining of pytest's own tests

--HG--
branch : trunk
2009-02-27 11:18:27 +01:00
guido 417d97c850 [svn r41080] Added support for filtering listdir() calls in the SourcePageBuilder, using it
to filter out hidden files and the 'build' subdir of greenlet.

--HG--
branch : trunk
2007-03-22 16:06:41 +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
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
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 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 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 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
hpk 443a0b4614 [svn r37788] guido, unless i am missing something there seem to be two
problems with your making Channel's public: you didn't import
it (py.__.* is not lazy) and it fails the apigen tests even
after fixing it.

--HG--
branch : trunk
2007-02-02 02:18:06 +01:00
guido 5bf17c3b62 [svn r37781] Added 'execnet.channel.Channel' object to the to-be-documented items.
--HG--
branch : trunk
2007-02-02 00:58:57 +01:00
guido 9ddca27edc [svn r37765] Was still getting filenames for source files from code objects, so adding more
defensiveness, and made that the 'capture' object is passed over to the builder
instances (to help debugging, currently not used).

--HG--
branch : trunk
2007-02-01 21:10:48 +01:00
guido ec734026cc [svn r37738] Fixed problem probably caused by removing some comment or something...
--HG--
branch : trunk
2007-02-01 15:55:23 +01:00
guido 646d4f93e1 [svn r37733] Removed two rather useless methods that just delegated to methods on the
underlying object, in favour of calling the underlying object's methods
directly (py.io.OutErrCapture.writeorg*).

--HG--
branch : trunk
2007-02-01 15:13:59 +01:00
guido 9f491f2058 [svn r37729] Added some code to py.io.FDCapture and py.io.OutErrCapture to allow writing
to the original (patched) file descriptor. Also made that the capturing object
is passed to apigen.py's build() function (from rsession.py), which uses the
new methods to print progress information.

--HG--
branch : trunk
2007-02-01 14:56:31 +01:00
guido bef3ad84ce [svn r37579] Made that the package name can be set when using from_dict() to fill a
DocStorage.

--HG--
branch : trunk
2007-01-30 11:34:08 +01:00
guido fe3a71994a [svn r37545] Moved get_star_import_tree out of the DocStorage class, created 'pkg_to_dict'
function in docstorage.py and using that from apigen.py (to later simplify
py.test integration, and to improve testability). Simplified 'deindent()' a
bit, made the wrap_page use the filenames from the stylesheeturl and the
scripturls instead of having them hard-coded, some minor HTML/CSS changes.

--HG--
branch : trunk
2007-01-29 17:11:15 +01:00
guido 3c08f6a614 [svn r37395] Fixed some small issues in source nav, turned namespace_tree into an instance
var (finally! :), changed the api nav so it now shows the full tree with the
current item unfolded + siblings of itself and all parents (+ children if it's
a namespace item).

--HG--
branch : trunk
2007-01-26 16:34:28 +01:00
guido b67ef229df [svn r37383] Added call stacks, made that method pages aren't built at all anymore, made
that build_namespace_view isn't called for anything but namespaces anymore,
made that parts of documents are hidden at first (with a link to 'open' them).

--HG--
branch : trunk
2007-01-26 14:01:27 +01:00
fijal c53dfee4a6 [svn r37343] Hours later and tons of debug print changes....
I HATE PYTHON IMPORTS, I HATE PYTHON IMPORTS, I HATE PYTHON IMPORTS

--HG--
branch : trunk
2007-01-25 17:46:56 +01:00
hpk 5992a8ef21 [svn r37264] create the new development trunk
--HG--
branch : trunk
2007-01-24 15:24:01 +01:00