FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fixed reference generation for operators and other special includes · processing/processing-docs@3547dd2 · GitHub

Repository navigation

Commit 3547dd2

Browse files
committed
fixed reference generation for operators and other special includes
1 parent e9ec352 commit 3547dd2

4 files changed

Lines changed: 3 additions & 2 deletions

File tree

0 Bytes
Binary file not shown.
Binary file not shown.

‎java_generate/ReferenceGenerator/src/ProcessingWeblet.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ public static boolean start(RootDoc root)
6565
if (!Shared.i().getIncludeDirectory().equals(""))
6666
{
6767
System.out.println("\n===Writing XML-sourced reference.===");
68+
6869
XMLReferenceWriter.write( Shared.i().getIncludeDirectory(), indexWriter);
70+
6971
System.out.println("===Include directory files written.===");
7072
}
7173

‎java_generate/ReferenceGenerator/src/writers/XMLReferenceWriter.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ public static void parseFile(File f, String dst, IndexWriter indexWriter)
5454
String category = (String) xpath.evaluate("//category", doc, XPathConstants.STRING);
5555
String subcategory = (String) xpath.evaluate("//subcategory", doc, XPathConstants.STRING);
5656
String name = (String) xpath.evaluate("//name", doc, XPathConstants.STRING);
57-
// TODO: js mode descriptions?
58-
String description = (String) xpath.evaluate("//description", doc, XPathConstants.STRING);
57+
String description = getXMLDescription(doc); //(String) xpath.evaluate("//description", doc, XPathConstants.STRING);
5958
String syntax = (String) xpath.evaluate("//syntax", doc, XPathConstants.STRING);
6059
String classname = (String) xpath.evaluate("//classname", doc, XPathConstants.STRING);
6160
String classAnchor = "";

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL