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
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
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
moved to the classes in the H namespace. This hopefully (when done, more can
definitely be done later) seperates the HTML generation better from the
presentation-related code.
--HG--
branch : trunk
a seperate stylesheet. Cleaned up the stylesheet and script handling a bit:
stylesheets and scripts are now defined in the LayoutPage class (where they're
easily customizable). Also removed some old unused code and moved the H class
(html related) stuff to its own file. The idea is that this will become the
place where all the layout is defined.
--HG--
branch : trunk
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
defensiveness, and made that the 'capture' object is passed over to the builder
instances (to help debugging, currently not used).
--HG--
branch : trunk
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
passed into htmlgen.deindent() actually have
a normalized '\n' line-ending already (e.g. if they
come from python docstrings). So the caller
now needs to specify otherwise.
--HG--
branch : trunk
out of HTMLDocument and added support for finding out the encoding of a Python
file in order to accomplish that (both in source/html.py), fixed some minor
issues (items with a name starting with _ are now hidden from nav, fixed
indentation issue in nav) in htmlgen.py.
--HG--
branch : trunk
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
when run as part of the whole py lib tests,
succeeds when ran as a single test.
Pruning sys.modules fixes this (but i am
not sure why the tracer depends on seeing
the import happen)
--HG--
branch : trunk
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
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
revisions 36936 to 37267:
------------------------------------------------------------------------
r37020 | hpk | 2007-01-19 17:48:15 +0100 (Fri, 19 Jan 2007) | 3 lines
switching in the new way of getting to a sessionclass,
removing code in cmdline.py and elsewhere accordingly
------------------------------------------------------------------------
r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines
Create a branch for further config cleanups.
------------------------------------------------------------------------
--HG--
branch : trunk