| <!--
|
| Copyright (c) 2019 Mia-Software and others.
|
|
|
| This program and the accompanying materials
|
| are made available under the terms of the Eclipse Public License 2.0
|
| which accompanies this distribution, and is available at
|
| https://www.eclipse.org/legal/epl-2.0/
|
|
|
| SPDX-License-Identifier: EPL-2.0
|
|
|
| Contributors:
|
| Unknown - initial API and implementation
|
| --> |
| <project default="all">
|
| <property name="wikitext.standalone" value="" />
|
|
|
| <path id="wikitext.classpath">
|
| <fileset dir="../org.eclipse.modisco.doc/wikitext">
|
| <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
|
| </fileset>
|
| </path>
|
|
|
| <taskdef classpathref="wikitext.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
|
|
|
| <target name="generate-help">
|
| <echo>generating help with Mylyn wikitext in basedir:${basedir}</echo>
|
|
|
| <wikitext-to-html markupLanguage="MediaWiki" multipleOutputFiles="false" navigationImages="false" formatoutput="true" useinlinecssstyles="true">
|
| <fileset dir="${basedir}">
|
| <include name="**/*.mediawiki" />
|
| </fileset>
|
| <!--
|
| <stylesheet url="styles/help.css" />
|
| <stylesheet url="styles/main.css" />
|
| -->
|
| </wikitext-to-html>
|
| </target>
|
|
|
| <target name="clean">
|
| <echo>deleting generated doc files in basedir:${basedir}</echo>
|
| <delete>
|
| <fileset dir="${basedir}/mediawiki">
|
| <include name="**/*.html" />
|
| </fileset>
|
| </delete>
|
| </target>
|
|
|
| <target name="all" depends="generate-help" />
|
| </project>
|