[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
This commit is contained in:
parent
53c204962a
commit
5a46d43990
|
@ -63,15 +63,14 @@ class H(html):
|
|||
fd = H.FunctionDef(localname, argdesc,
|
||||
onclick=('showhideel('
|
||||
'document.getElementById("%s")); '
|
||||
'showhideel('
|
||||
'document.getElementById("%s")); '
|
||||
'this.scrollIntoView()' % (
|
||||
infoid, docstringid)))
|
||||
ds = H.Docstring(docstring or '*no docstring available*',
|
||||
id=docstringid)
|
||||
fi = H.FunctionInfo(valuedesc, csource, callstack,
|
||||
id=infoid, style="display: none")
|
||||
super(H.FunctionDescription, self).__init__(fd, ds, fi)
|
||||
% (infoid,)))
|
||||
infodiv = H.div(
|
||||
H.Docstring(docstring or '*no docstring available*',
|
||||
id=docstringid),
|
||||
H.FunctionInfo(valuedesc, csource, callstack,
|
||||
id=infoid, style="display: none"),
|
||||
class_='funcdocinfo')
|
||||
super(H.FunctionDescription, self).__init__(fd, infodiv)
|
||||
|
||||
class FunctionDef(html.h2):
|
||||
style = html.Style(cursor='pointer')
|
||||
|
|
|
@ -48,6 +48,10 @@ h2.funcdef {
|
|||
color: blue;
|
||||
}
|
||||
|
||||
h2.funcdef:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.code a {
|
||||
color: blue;
|
||||
font-weight: bold;
|
||||
|
@ -91,7 +95,7 @@ h2.funcdef {
|
|||
color: green;
|
||||
}
|
||||
|
||||
.funcinfo {
|
||||
.funcdocinfo {
|
||||
border: 1px solid black;
|
||||
color: black;
|
||||
padding: 1em;
|
||||
|
|
|
@ -3,10 +3,14 @@
|
|||
|
||||
py/apigen sources [rev XXX]
|
||||
|
||||
DONE
|
||||
|
||||
* and "namespace" pages:
|
||||
|
||||
builtin namespace index [rev XXX]
|
||||
|
||||
DONE, except they're now called 'index of <dotted_name> [rev. XXX]'
|
||||
|
||||
* get konqueror to display indents in source code better?
|
||||
(currently it doesn't look like more than a single space)
|
||||
|
||||
|
@ -29,6 +33,8 @@
|
|||
XXX it's nice but can you keep the docstring visible when
|
||||
more information is displayed/toggled?
|
||||
|
||||
DONE too
|
||||
|
||||
* allow for flexibility regarding linking from
|
||||
py/doc/*.txt documents to apigen with respect
|
||||
to where apigen/ docs are located.
|
||||
|
|
Loading…
Reference in New Issue