|
1 | | -#!/bin/bash |
| 1 | +#!/bin/sh |
2 | 2 |
|
3 | 3 | # based on https://odoepner.wordpress.com/2012/02/17/shell-script-to-generate-simple-index-html/ |
4 | 4 |
|
5 | | -echo '<!DOCTYPE html><html><body>' |
6 | | -echo '<h1>IBM Watson Developer Cloud Java SDK</h1>' |
7 | | -echo '<p><a href="https://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/">Documentation</a>' |
8 | | -echo ' | <a href="https://github.com/watson-developer-cloud/java-sdk">GitHub</a>' |
9 | | -echo '</p>' |
10 | | -echo '<p>Javadoc by branch/tag:</p><ul>' |
| 5 | +echo '<!DOCTYPE html> |
| 6 | +<html> |
| 7 | +<head> |
| 8 | + <meta charset="utf-8"> |
| 9 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 10 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 11 | + <title>IBM Watson Developer Cloud</title> |
| 12 | + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> |
| 13 | +</head> |
| 14 | +<body> |
| 15 | +<div class="container"> |
| 16 | + <div class="page-header"> |
| 17 | + <h1>IBM Watson Developer Cloud Java SDK</h1> |
| 18 | + </div> |
| 19 | +
|
| 20 | + <p><a href="http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/">Info</a> |
| 21 | + | <a href="http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/">Documentation</a> |
| 22 | + | <a href="https://github.com/watson-developer-cloud/java-sdk">GitHub</a> |
| 23 | + | <a href="http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.ibm.watson.developer_cloud%22%20a%3A%22java-sdk%22">Maven</a> |
| 24 | + </p> |
| 25 | +
|
| 26 | + <p>JSDoc by branch/tag:</p> |
| 27 | + <ul>' |
11 | 28 | ls docs | grep --invert-match index.html | sed 's/^.*/<li><a href="docs\/&">&<\/a><\/li>/' |
12 | | -echo '</ul></body></html>' |
| 29 | +echo ' </ul> |
| 30 | +</div> |
| 31 | +<script> |
| 32 | + (function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){ |
| 33 | + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| 34 | + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| 35 | + })(window,document,"script","//www.google-analytics.com/analytics.js","ga"); |
| 36 | + ga("create", "UA-59827755-4", "auto"); |
| 37 | + ga("send", "pageview"); |
| 38 | +</script> |
| 39 | +</body> |
| 40 | +</html>' |
0 commit comments