github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

yui / yuidoc

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 82
    • 18
  • Source
  • Commits
  • Network (18)
  • Downloads (51)
  • Graphs
  • Tree: c574286

click here to add a description

click here to add a homepage

  • Switch Branches (1)
    • master
  • Switch Tags (51)
    • yuidoc-50
    • yuidoc-49
    • yuidoc-48
    • yuidoc-47
    • yuidoc-46
    • yuidoc-45
    • yuidoc-44
    • yuidoc-43
    • yuidoc-42
    • yuidoc-41
    • yuidoc-40
    • yuidoc-39
    • yuidoc-38
    • yuidoc-37
    • yuidoc-36
    • yuidoc-35
    • yuidoc-34
    • yuidoc-33
    • yuidoc-32
    • yuidoc-31
    • yuidoc-30
    • yuidoc-29
    • yuidoc-28
    • yuidoc-27
    • yuidoc-26
    • yuidoc-25
    • yuidoc-24
    • yuidoc-23
    • yuidoc-22
    • yuidoc-21
    • yuidoc-20
    • yuidoc-19
    • yuidoc-18
    • yuidoc-17
    • yuidoc-16
    • yuidoc-15
    • yuidoc-14
    • yuidoc-13
    • yuidoc-12
    • yuidoc-11
    • yuidoc-10
    • yuidoc-9
    • yuidoc-8
    • yuidoc-7
    • yuidoc-6
    • yuidoc-5
    • yuidoc-4
    • yuidoc-3
    • yuidoc-2
    • ${label}
    • 1.0.0b1
  • Comments
  • Contributors
Sending Request…

YUI Javascript Documentation Tool — Read more

  Cancel

http://yuilibrary.com/projects/yuidoc

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Fixed problem with the classname description overwriting the submodule 
description.
apm (author)
Wed Jun 17 12:14:10 -0700 2009
commit  c574286698c3525741ce
tree    f5d0b835fabfe2e8ffcc
parent  8f7864d13d22ed7f18a5
M bin/yuidoc_parse.py 26 ••••
Txt bin/yuidoc_parse.py
  • View file @ c574286
... ...
@@ -500,12 +500,16 @@ it was empty" % token
500 500
                 target = self.data[MODULES][module]
501 501
 
502 502
             if SUBMODULE in tokenMap:
503  
-                target[SUBMODULES].append(tokenMap[SUBMODULE][0]);
504  
-                self.subModName = tokenMap[SUBMODULE][0];
505  
-                target[SUBDATA][self.subModName] = { NAME: self.currentClass }
  503
+
  504
+                subname = tokenMap[SUBMODULE][0]
  505
+
  506
+                target[SUBMODULES].append(subname);
  507
+                self.subModName = subname;
  508
+                target[SUBDATA][subname] = { NAME: self.currentClass }
506 509
 
507 510
                 if DESCRIPTION in tokenMap:
508  
-                    target[SUBDATA][self.subModName][DESCRIPTION] = tokenMap[DESCRIPTION][0]
  511
+                    log.debug("\n\nSubmodule: %s, description: %s\n" %(self.subModName, tokenMap[DESCRIPTION][0]))
  512
+                    target[SUBDATA][subname][DESCRIPTION] = tokenMap[DESCRIPTION][0]
509 513
                     
510 514
                 tokenMap.pop(SUBMODULE)
511 515
                 
... ...
@@ -560,13 +564,13 @@ it was empty" % token
560 564
             
561 565
             if self.subModName:
562 566
                 self.data[MODULES][self.currentModule][SUBDATA][self.subModName][NAME] = longName
563  
-                if DESCRIPTION in tokenMap:
564  
-                    d = tokenMap[DESCRIPTION][0]
565  
-                    try: 
566  
-                        encoded = unicode(d, 'utf-8', 'xmlcharrefreplace')
567  
-                        d = encoded
568  
-                    except: pass
569  
-                    self.data[MODULES][self.currentModule][SUBDATA][self.subModName][DESCRIPTION] = d
  567
+                # if DESCRIPTION in tokenMap:
  568
+                #     d = tokenMap[DESCRIPTION][0]
  569
+                #     try: 
  570
+                #         encoded = unicode(d, 'utf-8', 'xmlcharrefreplace')
  571
+                #         d = encoded
  572
+                #     except: pass
  573
+                #     self.data[MODULES][self.currentModule][SUBDATA][self.subModName][DESCRIPTION] = d
570 574
 
571 575
             if GLOBAL in tokenMap:
572 576
                 self.globals[longName] = True

0 notes on commit c574286

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server
  • English
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Српски
  • Svenska
  • 中文