| <?xml version="1.0" encoding="UTF-8"?> |
| <project name="org.eclipse.mylyn.github.doc" basedir="." default="all"> |
| <!-- |
| Copyright (c) 2011 Red Hat and others. |
| All rights reserved. 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: |
| Chris Aniszczyk <caniszczyk@gmail.com> - initial API and implementation |
| Christian Trutz <christian.trutz@gmail.com> |
| --> |
| <description> |
| Generate Eclipse help content |
| </description> |
| |
| <taskdef resource="org/eclipse/mylyn/wikitext/mediawiki/ant/tasks.properties"/> |
| |
| <property name="help.doc.url.base" value="http://wiki.eclipse.org" /> |
| |
| <target name="all" description="Generate Eclipse help content from the wiki documentation"> |
| <sequential> |
| <delete failonerror="false"> |
| <fileset dir="${basedir}/help/images" /> |
| </delete> |
| |
| <mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" |
| validate="true" failonvalidationerror="true" prependImagePrefix="images" |
| formatoutput="true" defaultAbsoluteLinkTarget="egit_github_external" dest="${basedir}/help" |
| navigationimages="true" title="EGit GitHub Documentation" helpPrefix="help" |
| generateUnifiedToc="true"> |
| <path name="EGit/GitHub/User_Guide" title="Mylyn GitHub Connector User Guide" /> |
| <stylesheet url="book.css" /> |
| <pageAppendum> |
| |
| = Updating This Document = |
| |
| This document is maintained in a collaborative wiki. If you wish to |
| update or modify this document please visit |
| {url}</pageAppendum> |
| </mediawiki-to-eclipse-help> |
| <mkdir dir="help/images" /> |
| <copy todir="${basedir}/help/images" overwrite="true"> |
| <fileset dir="images" /> |
| </copy> |
| </sequential> |
| </target> |
| </project> |