Permalink
Browse files

submodules don't have a landing page. links to submodules go to a cla…

…ss in the submodule. Now, if there are no classes in the submodule there is no link.
  • Loading branch information...
1 parent 0280961 commit 257b6d7e45a53de3cab5f01f64e02e23f75d01c7 Adam Moore committed Jun 19, 2009
Showing with 8 additions and 1 deletion.
  1. +3 −0 bin/yuidoc_parse.py
  2. +4 −0 template/main.tmpl
  3. +1 −1 test/event.sh
View
@@ -563,7 +563,10 @@ def parseModule(tokenMap):
target, tokenMap = parseModule(tokenMap)
if self.subModName:
+ # provides a place to link to on the module landing page
self.data[MODULES][self.currentModule][SUBDATA][self.subModName][NAME] = longName
+
+ # this was overwriting the submodule description
# if DESCRIPTION in tokenMap:
# d = tokenMap[DESCRIPTION][0]
# try:
View
@@ -559,7 +559,11 @@
<h4>Submodules:</h4>
<dl>
#for $info in $submodules
+ #if $subdata[$info].name
<dt><code><a href="${$subdata[$info].name}.html" title="$info">$info</a></code></dt>
+ #else
+ <dt><code>$info</code></dt>
+ #end if
<dd>$subdata[$info].description</dd>
#end for
</dl>
View
@@ -9,7 +9,7 @@ yuidoc_home=..
src=~/src/yui3/src
-parser_in="$src/yui/js $src/event-custom/js $src/event/js $src/dump/js $src/substitute/js"
+parser_in="$src/yui/js $src/event-custom/js $src/event/js $src/dump/js $src/substitute/js $src/anim/js $src/collection/js"
# The location to output the parser data. This output is a file containing a
# json string, and copies of the parsed files.

0 comments on commit 257b6d7

Please sign in to comment.