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

yui / yuidoc

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 74
    • 15
  • Source
  • Commits
  • Network (15)
  • Downloads (50)
  • Graphs
  • Tree: 7ad3bac

click here to add a description

click here to add a homepage

  • Switch Branches (1)
    • master
  • Switch Tags (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
Sending Request…

YUI Javascript Documentation Tool — Read more

  Cancel

http://yuilibrary.com/projects/yuidoc

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Addes support for Java
davglass (author)
Wed Jun 24 13:43:22 -0700 2009
commit  7ad3bace834361a0d6d2c9fc8f485331d33932ec
tree    c08fffe18ec9f9e010ac50474e1d9b1ef101dcf6
parent  cf5097f7832b91c948f964ae655f0c8d57038883
M bin/yuidoc_highlight.py 3 •••
A test/lang/java/test.java 36 •••••
0
bin/yuidoc_highlight.py
...
53
54
55
 
 
 
56
57
58
...
53
54
55
56
57
58
59
60
61
0
@@ -53,6 +53,9 @@ class DocHighlighter(object):
0
                 elif self.currentExt == 'pl':
0
                     from pygments.lexers import PerlLexer
0
                     return highlight(src, PerlLexer(), HtmlFormatter())
0
+                elif self.currentExt == 'java':
0
+                    from pygments.lexers import JavaLexer
0
+                    return highlight(src, JavaLexer(), HtmlFormatter())
0
                 else:
0
                     from pygments.lexers import JavascriptLexer
0
                     return highlight(src, JavascriptLexer(), HtmlFormatter())
0
test/lang/java/test.java
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
0
@@ -0,0 +1,36 @@
0
+/**
0
+* Test Java Module Description
0
+* @module javatest
0
+*/
0
+import java.util.*;
0
+
0
+/**
0
+* This is the class description for this Java Class
0
+* @class Test
0
+* @namespace Java
0
+* @constructor
0
+*/
0
+public class Test {
0
+    /**
0
+    * x property
0
+    * @property x
0
+    * @type {Double}
0
+    */
0
+    private double x;
0
+    /**
0
+    * y property
0
+    * @property y
0
+    * @type {Double}
0
+    */
0
+    private double y;
0
+
0
+    /**
0
+    * Main Method
0
+    * @method main
0
+    */
0
+    public static void main (String[] args) {
0
+        System.out.println("Hello, World!!");
0
+    }
0
+
0
+}
0
+

Comments

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