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 "DocumentationGuidelines/CrowdSourcingExample"

(One intermediate revision by one other user not shown)
Line 1: Line 1:
David and Chris will have fun filling this bad boy out.
 
 
 
=Introduction=
 
=Introduction=
  
There are many ways to generate help content in Eclipse. We'll discuss some of the options you have, from crowdsourcing documentation from the wiki and singlesourcing it.
+
There are many ways to generate help content in Eclipse. One particular method involves generating your help content from the wiki which allows you to crowdsource your documentation. By having your documentation on the wiki, you lower the barrier of entry for people to contribute documentation. The purpose of this wiki entry is to guide you through an example of how you can crowdsource your documentation using Mylyn WikiText.
  
=Example Projects=
+
=What is WikiText=
  
* EGit
+
Mylyn WikiText provides an extensible framework and tools for parsing, editing and presenting lightweight markup. On top of that, it has a wiki text editor for Eclipse and Ant tasks for converting lightweight markup to HTML and other formats. In this specific example, we will be using WikiText's ability to convert Mediawiki content into Eclipse help content.
* Mylyn
+
* Xtext (use textile)
+
* EclipseLink (dita?)
+
  
=Test=
+
=A Simple Example=
  
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam rhoncus neque sed eros condimentum suscipit. Ut vitae est eget eros vehicula pellentesque. Mauris pharetra posuere diam, eget dignissim nunc porta at. Vestibulum id ante sed ante mollis tristique nec non ligula. Phasellus dignissim rhoncus nunc. Duis ultricies facilisis mauris ac mattis. Integer sed erat sed risus ullamcorper sagittis. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce eget tellus pretium felis molestie accumsan.
+
The best way to learn is by doing.
  
 +
==Setting up the Classpath==
  
=Test=
+
<path id="wikitext.tasks.classpath">
 +
<fileset dir="lib">
 +
<include name="org.eclipse.mylyn.wikitext.*core*.jar"/>
 +
</fileset>
 +
</path>
  
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam rhoncus neque sed eros condimentum suscipit. Ut vitae est eget eros vehicula pellentesque. Mauris pharetra posuere diam, eget dignissim nunc porta at. Vestibulum id ante sed ante mollis tristique nec non ligula. Phasellus dignissim rhoncus nunc. Duis ultricies facilisis mauris ac mattis. Integer sed erat sed risus ullamcorper sagittis. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce eget tellus pretium felis molestie accumsan.
+
<taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties"/>
 +
<taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties"/>
 +
 
 +
==Fetching the Wiki Content==
 +
 
 +
 
 +
 
 +
 
 +
=Eclipse.org Reference Projects=
 +
 
 +
* EGit
 +
* Mylyn
 +
* Xtext (use textile)
 +
* EclipseLink (dita?)

Revision as of 14:53, 10 March 2010

Introduction

There are many ways to generate help content in Eclipse. One particular method involves generating your help content from the wiki which allows you to crowdsource your documentation. By having your documentation on the wiki, you lower the barrier of entry for people to contribute documentation. The purpose of this wiki entry is to guide you through an example of how you can crowdsource your documentation using Mylyn WikiText.

What is WikiText

Mylyn WikiText provides an extensible framework and tools for parsing, editing and presenting lightweight markup. On top of that, it has a wiki text editor for Eclipse and Ant tasks for converting lightweight markup to HTML and other formats. In this specific example, we will be using WikiText's ability to convert Mediawiki content into Eclipse help content.

A Simple Example

The best way to learn is by doing.

Setting up the Classpath

<path id="wikitext.tasks.classpath"> <fileset dir="lib"> <include name="org.eclipse.mylyn.wikitext.*core*.jar"/> </fileset> </path>

<taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties"/> <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties"/>

Fetching the Wiki Content

Eclipse.org Reference Projects

  • EGit
  • Mylyn
  • Xtext (use textile)
  • EclipseLink (dita?)

Back to the top