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
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
defensiveness, and made that the 'capture' object is passed over to the builder
instances (to help debugging, currently not used).
--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
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