Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "How to add things to the Eclipse doc"

Line 1: Line 1:
Last revised May 15, 2006
+
== Adding new plug-ins ==
  
 +
To add new plug-ins you need to make changes in several places in the '''org.eclipse.mtj.doc.isv''' plug-in:
  
== Adding new plugins ==
+
# '''mtjOptions.txt'''
 
+
#* the plug-in source folder(s) must be included on the '''-sourcepath'''
To add new plug-ins you need to make changes in several places in the org.eclipse.platform.doc.isv plug-in:
+
#* code of required plug-ins must be added on the '''-classpath''' (the JAR(s)for non-JARed plug-ins and '''<plugin>/@dot''' for JARed plug-ins
 
+
# platformOptions.txt
+
#* the plug-in's source folder(s) must be included on the -sourcepath
+
#* code of required plug-ins must be added on the -classpath (the JAR(s)for non-JARed plug-ins and <plugin>/@dot for JARed plug-ins
+
 
#* the API package names must be included in the (alphabetical) package list at the end of the file
 
#* the API package names must be included in the (alphabetical) package list at the end of the file
# buildDoc.xml
+
# '''buildDoc.xml'''
#* If a plug-in contributes extension points, it should be added to the list of plug-ins in the <convertSchemaToHTML> task in the buildDoc.xml of the corresponding documentation plug-in.
+
#* If a plug-in contributes extension points, it should be added to the list of plug-ins in the '''<convertSchemaToHTML>''' task in the buildDoc.xml of the corresponding documentation plug-in.
# plugin.xml
+
# '''plugin.xml'''
#* If your plugin has javadoc API, add a line to plugin.xml under the org.eclipse.pde.core.javadoc extension to associate your plugin's javadoc with the reference section for this doc plugin.
+
#* If your plugin has javadoc API, add a line to plugin.xml under the <code>org.eclipse.pde.core.javadoc</code> extension to associate your plug-in javadoc with the reference section for this doc plugin.
 
   
 
   
 
== Adding new API packages ==
 
== Adding new API packages ==
  
# package.html
+
# '''package.html'''
 
#* Create a package.html file for your API package, and place it in the package alongside the source code
 
#* Create a package.html file for your API package, and place it in the package alongside the source code
# topics_Reference.xml
+
# '''tocreference.xml'''
 
#* add a line for each API package
 
#* add a line for each API package
# reference/misc/overview-platform.html
+
# '''hrml/reference/misc/overview-mtj.html'''
 
#* add the API packages to the corresponding section
 
#* add the API packages to the corresponding section
# platformOptions.txt
+
# '''platformOptions.txt'''
 
#* the API package names must be included in the (alphabetical) package list at the end of the file
 
#* the API package names must be included in the (alphabetical) package list at the end of the file
 +
 
== Adding new extension points ==
 
== Adding new extension points ==
  
# reference/extension-points/index.html
+
# '''html/reference/extension-points/index.html'''
 
#* add a line for each extension point
 
#* add a line for each extension point
# topics_Reference.xml
+
# '''tocreference.xml'''
 
#* add a line for each extension point
 
#* add a line for each extension point
 
 
----
 
Back to [[Eclipse Documentation]]
 

Revision as of 14:11, 23 January 2009

Adding new plug-ins

To add new plug-ins you need to make changes in several places in the org.eclipse.mtj.doc.isv plug-in:

  1. mtjOptions.txt
    • the plug-in source folder(s) must be included on the -sourcepath
    • code of required plug-ins must be added on the -classpath (the JAR(s)for non-JARed plug-ins and <plugin>/@dot for JARed plug-ins
    • the API package names must be included in the (alphabetical) package list at the end of the file
  2. buildDoc.xml
    • If a plug-in contributes extension points, it should be added to the list of plug-ins in the <convertSchemaToHTML> task in the buildDoc.xml of the corresponding documentation plug-in.
  3. plugin.xml
    • If your plugin has javadoc API, add a line to plugin.xml under the org.eclipse.pde.core.javadoc extension to associate your plug-in javadoc with the reference section for this doc plugin.

Adding new API packages

  1. package.html
    • Create a package.html file for your API package, and place it in the package alongside the source code
  2. tocreference.xml
    • add a line for each API package
  3. hrml/reference/misc/overview-mtj.html
    • add the API packages to the corresponding section
  4. platformOptions.txt
    • the API package names must be included in the (alphabetical) package list at the end of the file

Adding new extension points

  1. html/reference/extension-points/index.html
    • add a line for each extension point
  2. tocreference.xml
    • add a line for each extension point

Copyright © Eclipse Foundation, Inc. All Rights Reserved.