Adds PDF link within the API guide

Fixes paths to match other API guides

Change-Id: Idfcf997ef2f8105dd94ce19c46abb41b84878485
This commit is contained in:
annegentle 2012-05-02 19:26:08 -05:00
parent ed60b8ae09
commit 72004f1984
2 changed files with 5 additions and 4 deletions

View File

@ -7,8 +7,7 @@
<groupId>org.openstack.docs</groupId>
<artifactId>openstack-guide</artifactId>
<!-- <version>1.0.0-SNAPSHOT</version> -->
<version>1.1.1-SNAPSHOT</version>
<version>1.0</version>
<packaging>jar</packaging>
<name>OpenStack Guides</name>
@ -102,7 +101,7 @@
<!-- New stuff -->
<copy
todir="${basedir}/target/docbkx/webhelp/api/openstack-network/developer/quantum-api-1.0">
todir="${basedir}/target/docbkx/webhelp/api/openstack-network/1.0">
<fileset
dir="${basedir}/target/docbkx/webhelp/quantum-api-1.0/quantum-api-guide/">
<include name="**/*" />
@ -111,7 +110,7 @@
<!--Moves PDFs to the needed placement -->
<move failonerror="false"
file="${basedir}/target/docbkx/pdf/quantum-api-1.0/quantum-api-guide.pdf"
tofile="${basedir}/target/docbkx/webhelp/api/openstack-network/developer/quantum-api-1.0/quantum-api-guide-trunk.pdf"/>
tofile="${basedir}/target/docbkx/webhelp/api/openstack-network/1.0/quantum-api-guide-1.0.pdf"/>
<!--Deletes leftover uneeded directories -->
<delete
@ -127,6 +126,7 @@
<includes>
quantum-api-1.0/quantum-api-guide.xml
</includes>
<canonicalUrlBase>http://docs.openstack.org/api/openstack-network/1.0/content/</canonicalUrlBase>
<profileSecurity>reviewer</profileSecurity>
<branding>openstack</branding>
</configuration>

View File

@ -44,6 +44,7 @@
version="5.0" status="final"
xml:id="Quantum-api-spec">
<title>Quantum API Guide (1.0)</title>
<?rax pdf.url="../quantum-api-guide-1.0.pdf"?>
<titleabbrev>Quantum API 1.0</titleabbrev>
<info>
<author>