From 539d23bfcec0f2d96e27d864a3c894455869c1aa Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Tue, 3 Feb 2015 00:24:44 -0800 Subject: [PATCH] [FEATURE] page templating system and parser --- consensus-whitepaper.html | 214 --------- content/whitepapers.md | 13 + css/custom-landing.css | 9 - css/custom.css | 38 +- css/main.css | 4 +- exchange_to_gateway.html | 164 ------- gateway_guide.html | 172 ++++++++ gateway_services.html | 256 +++++------ gatewayd.html | 238 +++++----- guidelines.html | 438 ------------------- historical_data.html | 172 ++++++++ index.html | 189 ++++---- js/fixsidebarscroll.js | 8 +- js/jquery.gensidebar.js | 13 + reliable_tx.html | 232 +++++----- rest-api-tool.html | 334 +++++++------- ripple-api-tool.html | 319 +++++++------- ripple-rest.html | 238 +++++----- rippled-apis.html | 279 ++++++------ terms-conditions.html | 190 -------- tool/buttonize.py | 25 ++ tool/pages.json | 63 +++ tool/parse_pages.py | 100 +++++ tool/template-base.html | 134 ++++++ tool/template-doc.html | 65 +++ tool/template-index.html | 137 ++++++ tool/template-rest-api-tool.html | 81 ++++ tool/template-ripple-api-tool.html | 86 ++++ transactions.html | 253 +++++------ vendor/flatdoc/v/0.8.0/theme-white/style.css | 4 +- whitepapers.html | 172 ++++++++ 31 files changed, 2507 insertions(+), 2133 deletions(-) delete mode 100644 consensus-whitepaper.html create mode 100644 content/whitepapers.md delete mode 100644 exchange_to_gateway.html create mode 100644 gateway_guide.html delete mode 100644 guidelines.html create mode 100644 historical_data.html create mode 100644 js/jquery.gensidebar.js delete mode 100644 terms-conditions.html create mode 100644 tool/buttonize.py create mode 100644 tool/pages.json create mode 100644 tool/parse_pages.py create mode 100644 tool/template-base.html create mode 100644 tool/template-doc.html create mode 100644 tool/template-index.html create mode 100644 tool/template-rest-api-tool.html create mode 100644 tool/template-ripple-api-tool.html create mode 100644 whitepapers.html diff --git a/consensus-whitepaper.html b/consensus-whitepaper.html deleted file mode 100644 index 96189f89f6..0000000000 --- a/consensus-whitepaper.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - - - Ripple Developer Portal: Consensus Whitepaper - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - - diff --git a/content/whitepapers.md b/content/whitepapers.md new file mode 100644 index 0000000000..dfa9c10c45 --- /dev/null +++ b/content/whitepapers.md @@ -0,0 +1,13 @@ +Ripple Whitepapers +================== + +Ripple has published several whitepapers on the benefits and workings of the Ripple technology stack. The following is a brief selection of useful papers: + +* [Ripple Primer](https://ripple.com/ripple_primer.pdf) (PDF) +* [Gateway whitepaper](https://ripple.com/ripple-gateways.pdf) (PDF) +* [Market makers whitepaper](https://ripple.com/ripple-mm.pdf) (PDF) +* [Financial institutions whitepaper](https://ripple.com/ripple-FIs.pdf) (PDF) +* [The Ripple Protocol: A Deep Dive for Finance Professionals](https://ripple.com/files/ripple_deep_dive_final.pdf) (PDF) +* [The Ripple Protocol Consensus Algorithm](https://ripple.com/files/ripple_consensus_whitepaper.pdf) (PDF) + +You can find further information about Ripple in the [Knowledge Center](https://ripple.com/knowledge-center/). diff --git a/css/custom-landing.css b/css/custom-landing.css index aa13d3d8ad..12e5f4b6a5 100644 --- a/css/custom-landing.css +++ b/css/custom-landing.css @@ -2,15 +2,6 @@ global *********** */ -body { - background-color: #f5f5f5; - font-family: 'Open Sans', sans-serif; -} - -.wrapper { - background-color: #fff; -} - a:hover { text-decoration: none; } diff --git a/css/custom.css b/css/custom.css index 47f44730d2..e6a0d23d4d 100644 --- a/css/custom.css +++ b/css/custom.css @@ -10,7 +10,6 @@ body .content-root { } .header { - background: #346AA9; height: 50px; -webkit-box-shadow: none; box-shadow: none; @@ -204,6 +203,38 @@ code { max-height: 14em; overflow: auto;} margin-bottom: 183px; } +.tableofcontents { + z-index: 0; +} + +.tableofcontents .level-1 { + margin: 10px 0 3px 0; + text-transform: uppercase; +} + +.tableofcontents .level-1 a { + color: #000; + font-weight: bold; +} + +.tableofcontents .level-2 { + margin-left: 2em; +} + +.tableofcontents .level-3 { + margin-left: 4em; +} + +.tableofcontents .level-3 a { + color: #999; +} + +.tableofcontents .level-3 a:hover { + color: #666; +} + + + .header-subnav li a:active { color: #f09 !important; } @@ -511,6 +542,7 @@ body #online_state { margin-top:20px; color: #878787; padding-bottom: 20px; + z-index: 2; } .container .text-muted { @@ -531,6 +563,10 @@ ul.footer_links a:hover { text-decoration: underline; } +.footer h4 { + font-weight: bold; +} + /************ Mail chimp *********** */ diff --git a/css/main.css b/css/main.css index cb0895cc58..11855b208a 100644 --- a/css/main.css +++ b/css/main.css @@ -717,7 +717,7 @@ body:not(.no-literate) .guidelines-content .badge-example .badge-location:after border: solid 1px #CED3E1; background: rgba(206, 211, 225, 0.5); } -.header { +/*.header { background: #5d89ae; padding-top: 0; padding-bottom: 0; @@ -767,7 +767,7 @@ body:not(.no-literate) .guidelines-content .badge-example .badge-location:after .header h1 + ul li.active a, .header h1 + ul li:hover a { background: rgba(255, 255, 255, 0.1); -} +}*/ @media (min-width: 1180px) { body:not(.no-literate) .modal .modal-dialog { width: 700px; diff --git a/exchange_to_gateway.html b/exchange_to_gateway.html deleted file mode 100644 index 92a8bf9985..0000000000 --- a/exchange_to_gateway.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - Ripple Developer Portal: Exchange to Gateway Tutorial - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DRAFT
- - - -
- -
- -
-
-