[TASK] Copying doc content over to .html files

This commit is contained in:
n0rmz
2014-08-11 16:36:22 -07:00
parent 31d2cb2239
commit d3a257b1c7
2 changed files with 242 additions and 0 deletions

View File

@@ -0,0 +1,121 @@
<!doctype html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<title>Ripple Developer Portal: Introduction</title>
<!-- favicon -->
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<!-- Flatdoc -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src='https://dev.ripple.com/vendor/flatdoc/v/0.8.0/legacy.js'></script>
<script src='https://dev.ripple.com/vendor/flatdoc/v/0.8.0/flatdoc.js'></script>
<!-- Flatdoc theme -->
<link href='https://dev.ripple.com/vendor/flatdoc/v/0.8.0/theme-white/style.css' rel='stylesheet'>
<script src='https://dev.ripple.com/vendor/flatdoc/v/0.8.0/theme-white/script.js'></script>
<!-- Custom Stylesheet -->
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:600italic,400,700,300' rel='stylesheet' type='text/css'>
<link href='https://dev.ripple.com/css/main.css' rel='stylesheet'>
<link href='css/custom.css' rel='stylesheet'>
<!-- start Mixpanel -->
<script type="text/javascript">(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src=("https:"===e.location.protocol?"https:":"http:")+'//cdn.mxpnl.com/libs/mixpanel-2.2.min.js';f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f);b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==
typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.track_charge people.clear_charges people.delete_user".split(" ");for(g=0;g<i.length;g++)f(c,i[g]);
b._i.push([a,e,d])};b.__SV=1.2}})(document,window.mixpanel||[]);
mixpanel.init("132d42885e094171f34467fc54da6fab");
</script>
<script>mixpanel.track("View");</script>
<!-- end Mixpanel -->
<!-- start google analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49188512-1', 'ripple.com');
ga('send', 'pageview');
</script>
<!-- end google analytics -->
<!-- syntax selection js -->
<script src='js/multicodetab.js'></script>
<script>
$(document).on('flatdoc:ready', $().multicode_tabs);
</script>
<!-- Temporary shims until I modify the css directly -->
<link type='text/css' rel='stylesheet' href='css/mod.css' />
<script src='js/expandcode.js'></script>
</head>
<body role='flatdoc' class='no-literate'>
<script type='text/javascript'>if (window.location.host != "dev.ripple.com") {
document.write("<div style='background-color: #d55;position:fixed;top:0;right:150px; color:white;padding:1em;font-size:15pt;z-index:1000;'>Draft</div>");}</script>
<div class='header'>
<div class='left'>
<h1>{<i class="icon-ripple-logo"></i>}</h1>
<ul>
<li class="active"><a href='#'>Documentation</a></li>
<li><a href='https://ripple.com/dev/blog'>Developer blog</a></li>
<li><a href='https://ripple.com/forum/viewforum.php?f=2&sid=c016bc6b934120b7117c0e136e74de98' target='_blank'>Developer Forum</a></li>
<li><a href='guidelines.html'>Brand Guidelines</a></li>
<li><a href='https://www.bountysource.com/teams/ripple/bounties' target='_blank'>Bounties</a></li>
</ul>
</div>
<div class='right'>
<!-- GitHub buttons: ghbtn.html -->
<iframe src="https://dev.ripple.com/vendor/ghbtn.html?user=ripple&amp;repo=ripple-dev-portal&amp;type=watch&amp;count=true" allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
</div>
</div>
<div class="header-subnav-wrapper">
<div class="header-subnav">
<ul>
</ul>
<div class='clearer'>&nbsp;</div>
</div>
</div>
<div class='content-root'>
<div class='menubar'>
<div class='menu section' role='flatdoc-menu'></div>
</div>
<div role='flatdoc-content' class='content'></div>
</div>
<!-- Initializer -->
<script src='js/toc.js' type='text/javascript'></script>
<script type='text/javascript'>
var GET_VARS = window.location.search.replace("?","").split("&");
var doc_to_load = toc[0]; // Default
for (i=0; i < toc.length; i+=1) {
//Create a link in the sub-nav. TEMPORARY UNTIL BREADCRUMBS
//Note: this doesn't work if this script is in the header, before the HTML it modifies
$(".header-subnav ul").append("<li><a href='?p="+toc[i].slug+"' id='subnav-"+toc[i].slug+"'>"+toc[i].title+"</a></li>");
if (GET_VARS.indexOf("p="+toc[i].slug)>-1) {
doc_to_load = toc[i];
$("#subnav-"+toc[i].slug).addClass("active");
}
}
//Now actually load it
document.title = doc_to_load.title + " - Ripple Dev Portal";
Flatdoc.run({
fetcher: Flatdoc.file(doc_to_load.file)
});
</script>
</body>
</html>