summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Robie <jonathan@apache.org>2010-06-02 22:14:17 +0000
committerJonathan Robie <jonathan@apache.org>2010-06-02 22:14:17 +0000
commit656df791bffcfd0244f3a43c306362142ee8ef3a (patch)
treeaf046441d95bf31623170ed5f3b995cea2e29505
parent7bbadfd55b56d1917c6b3f62601aedcc07ad2018 (diff)
downloadqpid-python-656df791bffcfd0244f3a43c306362142ee8ef3a.tar.gz
Eliminated various dead links.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@950792 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/doc/website/content/amqp.html2
-rw-r--r--qpid/doc/website/content/download.html4
-rw-r--r--qpid/doc/website/content/getting_started.html6
-rw-r--r--qpid/doc/website/content/home.html2
-rw-r--r--qpid/doc/website/content/qpid_integrated_with.html2
-rw-r--r--qpid/doc/website/template/template.html26
-rwxr-xr-xqpid/doc/website/tools/generate38
7 files changed, 59 insertions, 21 deletions
diff --git a/qpid/doc/website/content/amqp.html b/qpid/doc/website/content/amqp.html
index c5fed6c867..428cc29afe 100644
--- a/qpid/doc/website/content/amqp.html
+++ b/qpid/doc/website/content/amqp.html
@@ -8,7 +8,7 @@
<p>Apache Qpid implements the latest AMQP specification, providing transaction management, queuing, distribution, security, management, clustering, federation and heterogeneous multi-platform support and a lot more. </p>
- <p>Apache Qpid is highly optimized, and <a href="/confluence/display/qpid/AMQP+compatibility" title="AMQP compatibility">aims to be 100% AMQP Compliant</a>.</p>
+ <p>Apache Qpid is highly optimized, and <a href="compatibility.html" title="AMQP compatibility">aims to be 100% AMQP Compliant</a>.</p>
<h2><a name="AMQP%28AdvancedMessageQueueingProtocol%29-DownloadtheAMQPSpecifications"></a>Download the AMQP Specifications</h2>
diff --git a/qpid/doc/website/content/download.html b/qpid/doc/website/content/download.html
index 41760c9c0b..3f95aace26 100644
--- a/qpid/doc/website/content/download.html
+++ b/qpid/doc/website/content/download.html
@@ -165,7 +165,7 @@
<tr>
<td> JMX Management Console <br /> </td>
- <td> <a href="http://www.apache.org/dist/qpid/0.6/qpid-jmx-management-console-0.6-linux-gtk-x86.tar.gz">Linux x86</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-linux-gtk-x86_64.tar.gz">Linux x86_64</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-macosx.zip">Mac OS X</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-solaris-gtk-sparc.zip">Solaris 10 Sparc</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-win32-win32-x86.zip">Windows x86</a> </td>
+ <td> <a href="http://www.apache.org/dist/qpid/0.6/qpid-jmx-management-console-0.6-linux-gtk-x86.tar.gz">Linux x86</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-linux-gtk-x86_64.tar.gz">Linux x86_64</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-macosx.zip">Mac OS X</a> <a href="http://www.apache.org/dist/qpid/0.6/qpid-jmx-management-console-0.6-solaris-gtk-sparc.tar.gz">Solaris 10 Sparc</a> <a href="http://www.apache.org/dist/qpid/0.6//qpid-jmx-management-console-0.6-win32-win32-x86.zip">Windows x86</a> </td>
</tr>
</tbody></table>
</div>
@@ -386,6 +386,6 @@
<h2><a name="Download-SourceCodeRepository"></a>Source Code Repository</h2>
- <p>The latest version of the code is always available in the <a href="/confluence/display/qpid/Source+Repository" title="Source Repository">Source Repository</a>.</p>
+ <p>The latest version of the code is always available in the <a href="source_repository.html" title="Source Repository">Source Repository</a>.</p>
</div>
diff --git a/qpid/doc/website/content/getting_started.html b/qpid/doc/website/content/getting_started.html
index d39a68c2ea..9509cb6533 100644
--- a/qpid/doc/website/content/getting_started.html
+++ b/qpid/doc/website/content/getting_started.html
@@ -44,7 +44,7 @@
<ul>
<li>Examples: <a href="http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/examples/">http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/client-010/examples/ </a></li>
- <li><a href="http://cwiki.apache.org/confluence/display/qpid/.NET+User+Guide">.NET Tutorial </a></li>
+ <li><a href="http://qpid.apache.org/net-user-guide.html">.NET Tutorial </a></li>
</ul>
</li>
</ul>
@@ -55,12 +55,12 @@
<li><a href="http://cwiki.apache.org/confluence/display/qpid/How+to+Use+JNDI">JNDI Configuration for Java JMS </a></li>
<li><a href="http://qpid.apache.org/docs/api/python/html/index.html">Python Client API (AMQP 0-10) </a></li>
- <li><a href="/confluence/display/qpid/Documentation" title="Documentation">Documentation</a></li>
+ <li><a href="documentation.html" title="Documentation">Documentation</a></li>
</ul>
</li>
<li>Get your Questions Answered
<ul>
- <li>Read the <a href="/confluence/display/qpid/FAQ" title="FAQ">FAQ</a></li>
+ <li>Read the <a href="https://cwiki.apache.org/confluence/display/qpid/FAQ" title="FAQ">FAQ</a></li>
<li>Ask a question on the user list <a href="mailto:users-subscribe@qpid.apache.org">users-subscribe@qpid.apache.org</a></li>
</ul>
diff --git a/qpid/doc/website/content/home.html b/qpid/doc/website/content/home.html
index 6ee32d1300..f0def2c310 100644
--- a/qpid/doc/website/content/home.html
+++ b/qpid/doc/website/content/home.html
@@ -20,7 +20,7 @@
transaction management, queuing, distribution, security,
management, clustering, federation and heterogeneous
multi-platform support and a lot more. And Apache Qpid is
- extremely fast. Apache Qpid <a href="amqp-compatibility.html"
+ extremely fast. Apache Qpid <a href="compatibility.html"
title="AMQP compatibility">aims to be 100% AMQP Compliant</a>.</p>
<div id="feature_box">
diff --git a/qpid/doc/website/content/qpid_integrated_with.html b/qpid/doc/website/content/qpid_integrated_with.html
index 4734901f69..b2b38b8446 100644
--- a/qpid/doc/website/content/qpid_integrated_with.html
+++ b/qpid/doc/website/content/qpid_integrated_with.html
@@ -3,7 +3,7 @@
<h1><a name="QpidIntegrations-AMQPintegrations"></a>AMQP integrations </h1>
<ul>
- <li><a href="/confluence/display/qpid/HermesJMS" title="HermesJMS">HermesJMS</a> - The integration of Hermes JMS with Qpid</li>
+ <li><a href="http://qpid.apache.org/hermesjms.html" title="HermesJMS">HermesJMS</a> - The integration of Hermes JMS with Qpid</li>
<li>Twisted AMQP - <a href="https://launchpad.net/txamqp" class="external-link" rel="nofollow">https://launchpad.net/txamqp</a></li>
<li>Apache Camel - <a href="http://activemq.apache.org/camel/amqp.html" class="external-link" rel="nofollow">http://activemq.apache.org/camel/amqp.html</a></li>
<li>Apache Axis2 Java - <a href="http://wso2.org/library/3663" class="external-link" rel="nofollow">http://wso2.org/library/3663</a></li>
diff --git a/qpid/doc/website/template/template.html b/qpid/doc/website/template/template.html
index 0b8aadcb88..aef58dbee0 100644
--- a/qpid/doc/website/template/template.html
+++ b/qpid/doc/website/template/template.html
@@ -41,11 +41,11 @@
<div id="menu_box_body">
<h3>Apache Qpid</h3>
<ul>
- <li><a href="./index.html">Home</a></li>
- <li><a href="./download.html">Download</a></li>
- <li><a href="./getting_started.html">Getting Started</a></li>
- <li><a href="./roadmap.html">Roadmap</a></li>
- <li><a href="http://www.apache.org/licenses/LICENSE-2.0.html">License</a></li>
+ <li><a href="index.html">Home</a></li>
+ <li><a href="download.html">Download</a></li>
+ <li><a href="getting_started.html">Getting Started</a></li>
+<!-- <li><a href="roadmap.html">Roadmap</a></li> -->
+ <li><a href="license.html">License</a></li>
<li><a href="https://cwiki.apache.org/confluence/display/qpid/FAQ">FAQ</a></li>
</ul>
</div> <!-- end of menu_box_body -->
@@ -66,14 +66,14 @@
<div id="menu_box_body">
<h3>Community</h3>
<ul>
- <li><a href="#">Getting Involved</a></li>
- <li><a href="./source_repository.html">Source Repository</a></li>
- <li><a href="./mailing_lists.html">Mailing Lists</a></li>
+ <li><a href="http://qpid.apache.org/getting-involved.html">Getting Involved</a></li>
+ <li><a href="source_repository.html">Source Repository</a></li>
+ <li><a href="mailing_lists.html">Mailing Lists</a></li>
<li><a href="http://qpid.apache.org">Wiki</a></li>
<li><a href="https://issues.apache.org/jira/browse/qpid">Issue Reporting</a></li>
- <li><a href="./people.html">People</a></li>
+ <li><a href="people.html">People</a></li>
<!-- <li><a href="#">Project Status</a></li> -->
- <li><a href="./acknowledgements.html">Acknowledgements</a></li>
+ <li><a href="acknowledgements.html">Acknowledgements</a></li>
</ul>
</div> <!-- end of menu_box_body -->
<div id="menu_box_bottom"></div>
@@ -82,8 +82,8 @@
<div id="menu_box_body">
<h3>Developers</h3>
<ul>
- <li><a href="#">Building Qpid</a></li>
- <li><a href="#">Developer Pages</a></li>
+ <li><a href="http://qpid.apache.org/building.html">Building Qpid</a></li>
+ <li><a href="http://qpid.apache.org/developer-pages.html">Developer Pages</a></li>
</ul>
</div> <!-- end of menu_box_body -->
<div id="menu_box_bottom"></div>
@@ -92,7 +92,7 @@
<div id="menu_box_body">
<h3>About AMQP</h3>
<ul>
- <li><a href="./amqp.html">What is AMQP?</a></li>
+ <li><a href="amqp.html">What is AMQP?</a></li>
</ul>
</div> <!-- end of menu_box_body -->
<div id="menu_box_bottom"></div>
diff --git a/qpid/doc/website/tools/generate b/qpid/doc/website/tools/generate
new file mode 100755
index 0000000000..3fa08bfa48
--- /dev/null
+++ b/qpid/doc/website/tools/generate
@@ -0,0 +1,38 @@
+#!/usr/bin/env python
+
+import os
+import sys
+
+if len(sys.argv) != 4:
+ print "Usage: $ generate template/template.html contentDir outputDir"
+ exit()
+
+else:
+ try:
+ srcDir = os.path.abspath(sys.argv[2])
+ srcFiles = os.listdir(srcDir)
+ targetDir = os.path.abspath(sys.argv[3])
+ template = open(sys.argv[1], "r")
+
+ for srcFile in srcFiles:
+ if os.path.splitext(srcFile)[1] == ".html":
+ content = open(os.path.join(srcDir,srcFile), "r")
+ output = open(os.path.join(targetDir,srcFile),"w")
+
+ template.seek(0)
+
+ for t in template:
+ if t.rstrip() == "{.}":
+ for c in content:
+ output.write( c )
+ else:
+ output.write( t )
+
+ output.close()
+ content.close()
+
+ except:
+ print "Ooops!"
+ exit()
+
+template.close()