David Carver | 95ab4d7 | 2010-08-22 17:25:46 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project name="org.eclipse.egit.doc" basedir="." default="all"> |
| 3 | <!-- |
| 4 | Copyright (c) 2010 Chris Aniszczyk and others. |
| 5 | Copyright (c) 2010 Matthias Sohn <matthias.sohn@sap.com> |
| 6 | Copyright (c) 2010 David Carver <dcarver@intalio.com> |
| 7 | All rights reserved. This program and the accompanying materials |
| 8 | are made available under the terms of the Eclipse Public License v1.0 |
| 9 | which accompanies this distribution, and is available at |
| 10 | http://www.eclipse.org/legal/epl-v10.html |
| 11 | |
| 12 | Contributors: |
| 13 | Chris Aniszczyk - initial API and implementation |
| 14 | Matthias Sohn - maven integration, update to wikitext 1.3, adding additional wikis |
| 15 | David Carver - updated for Vex documentation generation. |
| 16 | --> |
| 17 | <description> |
| 18 | Generate Eclipse help content for the Vex SOA user guide |
| 19 | </description> |
| 20 | |
| 21 | <path id="wikitext.tasks.classpath"> |
| 22 | <fileset dir="${basedir}/lib" includes="**/*.jar"/> |
| 23 | </path> |
| 24 | <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties"/> |
| 25 | <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties"/> |
| 26 | |
| 27 | <property name="vex.help.doc.url.base" value="http://wiki.eclipse.org" /> |
| 28 | |
| 29 | <target name="all" description="Generate Eclipse help content for Vex."> |
| 30 | <sequential> |
| 31 | <delete dir="${basedir}/help" failonerror="false"/> |
| 32 | <mkdir dir="help"/> |
| 33 | |
| 34 | <mediawiki-to-eclipse-help wikiBaseUrl="${vex.help.doc.url.base}" |
| 35 | validate="true" failonvalidationerror="true" prependImagePrefix="images" |
| 36 | formatoutput="true" defaultAbsoluteLinkTarget="egit_external" dest="${basedir}/help" |
| 37 | navigationimages="true" title="Vex Documentation" helpPrefix="help" |
| 38 | generateUnifiedToc="true"> |
| 39 | <path name="Vex/UserGuide" title="Vex User Guide" /> |
| 40 | <stylesheet url="book.css" /> |
| 41 | <pageAppendum> |
| 42 | |
| 43 | = Updating This Document = |
| 44 | |
| 45 | This document is maintained in a collaborative wiki. If you wish to |
| 46 | update or modify this document please visit |
| 47 | {url}</pageAppendum> |
| 48 | </mediawiki-to-eclipse-help> |
| 49 | </sequential> |
| 50 | </target> |
| 51 | </project> |