Difference between revisions of "EDT:EGLDoc"

From Eclipsepedia

Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
<br>  
 
<br>  
  
== EGLDoc spec ==
+
== Status ==
  
TBD<br>
+
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.
  
 
<br>  
 
<br>  
 +
 +
== EGLDoc spec  ==
 +
 +
[[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

Contents

[edit] 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.


[edit] 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.


[edit] EGLDoc spec

EGLDocSpec.pdf

[edit] 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


[edit] 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/.