Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 257b6d7e45a53de3cab5f01f64e02e23f75d01c7 1 parent 0280961
authored June 19, 2009
3  bin/yuidoc_parse.py
@@ -563,7 +563,10 @@ def parseModule(tokenMap):
563 563
                 target, tokenMap = parseModule(tokenMap)
564 564
             
565 565
             if self.subModName:
  566
+                # provides a place to link to on the module landing page
566 567
                 self.data[MODULES][self.currentModule][SUBDATA][self.subModName][NAME] = longName
  568
+
  569
+                # this was overwriting the submodule description
567 570
                 # if DESCRIPTION in tokenMap:
568 571
                 #     d = tokenMap[DESCRIPTION][0]
569 572
                 #     try: 
4  template/main.tmpl
@@ -559,7 +559,11 @@
559 559
                                         <h4>Submodules:</h4> 
560 560
                                         <dl>
561 561
                                         #for $info in $submodules
  562
+                                            #if $subdata[$info].name
562 563
                                             <dt><code><a href="${$subdata[$info].name}.html" title="$info">$info</a></code></dt>
  564
+                                            #else
  565
+                                            <dt><code>$info</code></dt>
  566
+                                            #end if
563 567
                                             <dd>$subdata[$info].description</dd>
564 568
                                         #end for
565 569
                                         </dl>
2  test/event.sh
@@ -9,7 +9,7 @@ yuidoc_home=..
9 9
 
10 10
 src=~/src/yui3/src
11 11
 
12  
-parser_in="$src/yui/js $src/event-custom/js $src/event/js $src/dump/js $src/substitute/js"
  12
+parser_in="$src/yui/js $src/event-custom/js $src/event/js $src/dump/js $src/substitute/js $src/anim/js $src/collection/js"
13 13
  
14 14
 # The location to output the parser data.  This output is a file containing a 
15 15
 # json string, and copies of the parsed files.

0 notes on commit 257b6d7

Please sign in to comment.
Something went wrong with that request. Please try again.