Jump to: navigation, search

Difference between revisions of "EDT:EGLDoc"

 
(2 intermediate revisions by one other user not shown)
Line 13: Line 13:
 
== EGLDoc spec  ==
 
== EGLDoc spec  ==
  
[[Media:EGLDocSpec.ogg | Spec]] <br>
+
[[Media:EGLDocSpec.pdf | EGLDocSpec.pdf]] <br>
  
 
== Getting the code  ==
 
== Getting the code  ==
  
The code resides in CVS with the rest of the EDT code:&nbsp;:pserver:anonymous@dev.eclipse.org:/cvsroot/tools<br>  
+
The code resides in Git with the rest of the EDT code: git://git.eclipse.org/gitroot/edt/org.eclipse.edt.git<br>  
  
 
Plug-ins:  
 
Plug-ins:  
  
org.eclipse.edt/gen/org.eclipse.edt.gen.egldoc<br>org.eclipse.edt/ide/org.eclipse.edt.ide.egldoc<br>  
+
gen/org.eclipse.edt.gen.egldoc<br>ide/org.eclipse.edt.ide.egldoc<br>  
  
 
<br>  
 
<br>  

Latest revision as of 16:02, 2 August 2012

Overview

The EGLDoc component is similar to Javadoc - create a set of HTML documentation from source files. The HTML files will show relations between parts, structure breakdown, any any detailed documentation that was written in the source code. For example the HTML for a program part would list its parameters, fields, and functions. If any of these elements had documentation written in the "egldoc" syntax then that information would be used as a description of that element. If no documentation was written for an element you will still see the API of the element.


Status

The generation framework has been defined, but templates need to be written to actual put together the HTML files. Currently the comments from the source files are not available to the templates; this will be added in the future. In the meantime the output files will provide the API information sans-documentation.


EGLDoc spec

EGLDocSpec.pdf

Getting the code

The code resides in Git with the rest of the EDT code: git://git.eclipse.org/gitroot/edt/org.eclipse.edt.git

Plug-ins:

gen/org.eclipse.edt.gen.egldoc
ide/org.eclipse.edt.ide.egldoc


Running EGLDoc

You can kick off EGLDoc generation by right-clicking on an EGL project > Generate EGLDoc. This will generate HTML files for all *.egl files within the project, and the output will be placed inside <project>/egldoc/.