Skip to content

Commit 14f6793

Browse files
Create gh-pages branch via GitHub
1 parent 9a046ad commit 14f6793

File tree

9 files changed

+558
-165
lines changed

9 files changed

+558
-165
lines changed

images/bg_hr.png

943 Bytes
Loading

images/blacktocat.png

1.39 KB
Loading

images/icon_download.png

1.13 KB
Loading

images/sprite_download.png

16.4 KB
Loading

index.html

Lines changed: 63 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,77 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html>
3+
34
<head>
4-
<meta charset="utf-8">
5-
<meta http-equiv="X-UA-Compatible" content="chrome=1">
6-
<title>Strava-api-v3 by jaredholdcroft</title>
7-
<link rel="stylesheet" href="stylesheets/styles.css">
8-
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
9-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
10-
<script src="javascripts/main.js"></script>
11-
<!--[if lt IE 9]>
12-
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13-
<![endif]-->
14-
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
5+
<meta charset='utf-8' />
6+
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
7+
<meta name="description" content="strava-api-v3 : This gem provides a wrapper around the Strava API V3" />
8+
9+
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
1510

11+
<title>strava-api-v3</title>
1612
</head>
13+
1714
<body>
1815

19-
<header>
20-
<h1>Strava-api-v3</h1>
21-
<p>Strava API V3</p>
22-
</header>
23-
24-
<div id="banner">
25-
<span id="logo"></span>
26-
27-
<a href="https://github.com/jaredholdcroft/strava-api-v3" class="button fork"><strong>View On GitHub</strong></a>
28-
<div class="downloads">
29-
<span>Downloads:</span>
30-
<ul>
31-
<li><a href="https://github.com/jaredholdcroft/strava-api-v3/zipball/master" class="button">ZIP</a></li>
32-
<li><a href="https://github.com/jaredholdcroft/strava-api-v3/tarball/master" class="button">TAR</a></li>
33-
</ul>
34-
</div>
35-
</div><!-- end banner -->
36-
37-
<div class="wrapper">
38-
<nav>
39-
<ul></ul>
40-
</nav>
41-
<section>
16+
<!-- HEADER -->
17+
<div id="header_wrap" class="outer">
18+
<header class="inner">
19+
<a id="forkme_banner" href="https://github.com/jaredholdcroft/strava-api-v3">View on GitHub</a>
20+
21+
<h1 id="project_title">strava-api-v3</h1>
22+
<h2 id="project_tagline">This gem provides a wrapper around the Strava API V3</h2>
23+
24+
<section id="downloads">
25+
<a class="zip_download_link" href="https://github.com/jaredholdcroft/strava-api-v3/zipball/master">Download this project as a .zip file</a>
26+
<a class="tar_download_link" href="https://github.com/jaredholdcroft/strava-api-v3/tarball/master">Download this project as a tar.gz file</a>
27+
</section>
28+
</header>
29+
</div>
30+
31+
<!-- MAIN CONTENT -->
32+
<div id="main_content_wrap" class="outer">
33+
<section id="main_content" class="inner">
4234
<h1>
4335
<a name="strava-api-v3" class="anchor" href="#strava-api-v3"><span class="octicon octicon-link"></span></a>strava-api-v3</h1>
4436

45-
<p>Strava API V3</p>
37+
<p><a href="http://travis-ci.org/jaredholdcroft/strava-api-v3"><img src="https://secure.travis-ci.org/jaredholdcroft/strava-api-v3.png" alt="Build Status"></a></p>
38+
39+
<p>This gem provides a wrapper around the Strava API V3 - <a href="http://strava.github.io/api/">http://strava.github.io/api/</a></p>
40+
41+
<h2>
42+
<a name="configure-your-app" class="anchor" href="#configure-your-app"><span class="octicon octicon-link"></span></a>Configure your app</h2>
43+
44+
<p><em>coming soon</em></p>
45+
46+
<h2>
47+
<a name="create-a-client" class="anchor" href="#create-a-client"><span class="octicon octicon-link"></span></a>Create a client</h2>
48+
49+
<pre><code>@client = Strava::Api::V3::Client.new(:access_token =&gt; "MY_ACCESS_TOKEN", :client_id =&gt; "1", :client_secret =&gt; "shhhhhhhhhhhh")
50+
</code></pre>
51+
52+
<h2>
53+
<a name="call-some-methods" class="anchor" href="#call-some-methods"><span class="octicon octicon-link"></span></a>Call some methods</h2>
54+
55+
<p><em>coming soon</em></p>
56+
57+
<h2>
58+
<a name="contributors" class="anchor" href="#contributors"><span class="octicon octicon-link"></span></a>Contributors</h2>
59+
60+
<ul>
61+
<li>Jared Holdcroft</li>
62+
</ul>
4663
</section>
47-
<footer>
48-
<p>Project maintained by <a href="https://github.com/jaredholdcroft">jaredholdcroft</a></p>
49-
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://twitter.com/michigangraham">mattgraham</a></small></p>
64+
</div>
65+
66+
<!-- FOOTER -->
67+
<div id="footer_wrap" class="outer">
68+
<footer class="inner">
69+
<p class="copyright">strava-api-v3 maintained by <a href="https://github.com/jaredholdcroft">jaredholdcroft</a></p>
70+
<p>Published with <a href="http://pages.github.com">GitHub Pages</a></p>
5071
</footer>
5172
</div>
52-
<!--[if !IE]><script>fixScale(document);</script><![endif]-->
73+
5374

75+
5476
</body>
55-
</html>
77+
</html>

javascripts/main.js

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1 @@
1-
var sectionHeight = function() {
2-
var total = $(window).height(),
3-
$section = $('section').css('height','auto');
4-
5-
if ($section.outerHeight(true) < total) {
6-
var margin = $section.outerHeight(true) - $section.height();
7-
$section.height(total - margin - 20);
8-
} else {
9-
$section.css('height','auto');
10-
}
11-
}
12-
13-
$(window).resize(sectionHeight);
14-
15-
$(document).ready(function(){
16-
$("section h1, section h2").each(function(){
17-
$("nav ul").append("<li class='tag-" + this.nodeName.toLowerCase() + "'><a href='#" + $(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,'') + "'>" + $(this).text() + "</a></li>");
18-
$(this).attr("id",$(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,''));
19-
$("nav ul li:first-child a").parent().addClass("active");
20-
});
21-
22-
$("nav ul li").on("click", "a", function(event) {
23-
var position = $($(this).attr("href")).offset().top - 190;
24-
$("html, body").animate({scrollTop: position}, 400);
25-
$("nav ul li a").parent().removeClass("active");
26-
$(this).parent().addClass("active");
27-
event.preventDefault();
28-
});
29-
30-
sectionHeight();
31-
32-
$('img').load(sectionHeight);
33-
});
34-
35-
fixScale = function(doc) {
36-
37-
var addEvent = 'addEventListener',
38-
type = 'gesturestart',
39-
qsa = 'querySelectorAll',
40-
scales = [1, 1],
41-
meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];
42-
43-
function fix() {
44-
meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
45-
doc.removeEventListener(type, fix, true);
46-
}
47-
48-
if ((meta = meta[meta.length - 1]) && addEvent in doc) {
49-
fix();
50-
scales = [.25, 1.6];
51-
doc[addEvent](type, fix, true);
52-
}
53-
};
1+
console.log('This would be the main JS file.');

params.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"name":"Strava-api-v3","tagline":"Strava API V3","body":"strava-api-v3\r\n=============\r\n\r\nStrava API V3\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
1+
{"name":"strava-api-v3","tagline":"This gem provides a wrapper around the Strava API V3","body":"# strava-api-v3\r\n\r\n[![Build Status](https://secure.travis-ci.org/jaredholdcroft/strava-api-v3.png)](http://travis-ci.org/jaredholdcroft/strava-api-v3)\r\n\r\nThis gem provides a wrapper around the Strava API V3 - [http://strava.github.io/api/](http://strava.github.io/api/)\r\n\r\n## Configure your app\r\n\r\n_coming soon_\r\n\r\n## Create a client\r\n\r\n @client = Strava::Api::V3::Client.new(:access_token => \"MY_ACCESS_TOKEN\", :client_id => \"1\", :client_secret => \"shhhhhhhhhhhh\")\r\n\r\n## Call some methods\r\n\r\n_coming soon_\r\n\r\n## Contributors\r\n\r\n* Jared Holdcroft\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}

stylesheets/pygment_trac.css

Lines changed: 70 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,70 @@
1-
.highlight .hll { background-color: #404040 }
2-
.highlight { color: #d0d0d0 }
3-
.highlight .c { color: #999999; font-style: italic } /* Comment */
4-
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
5-
.highlight .g { color: #d0d0d0 } /* Generic */
6-
.highlight .k { color: #6ab825; font-weight: normal } /* Keyword */
7-
.highlight .l { color: #d0d0d0 } /* Literal */
8-
.highlight .n { color: #d0d0d0 } /* Name */
9-
.highlight .o { color: #d0d0d0 } /* Operator */
10-
.highlight .x { color: #d0d0d0 } /* Other */
11-
.highlight .p { color: #d0d0d0 } /* Punctuation */
12-
.highlight .cm { color: #999999; font-style: italic } /* Comment.Multiline */
13-
.highlight .cp { color: #cd2828; font-weight: normal } /* Comment.Preproc */
14-
.highlight .c1 { color: #999999; font-style: italic } /* Comment.Single */
15-
.highlight .cs { color: #e50808; font-weight: normal; background-color: #520000 } /* Comment.Special */
16-
.highlight .gd { color: #d22323 } /* Generic.Deleted */
17-
.highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
18-
.highlight .gr { color: #d22323 } /* Generic.Error */
19-
.highlight .gh { color: #ffffff; font-weight: normal } /* Generic.Heading */
20-
.highlight .gi { color: #589819 } /* Generic.Inserted */
21-
.highlight .go { color: #cccccc } /* Generic.Output */
22-
.highlight .gp { color: #aaaaaa } /* Generic.Prompt */
23-
.highlight .gs { color: #d0d0d0; font-weight: normal } /* Generic.Strong */
24-
.highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
25-
.highlight .gt { color: #d22323 } /* Generic.Traceback */
26-
.highlight .kc { color: #6ab825; font-weight: normal } /* Keyword.Constant */
27-
.highlight .kd { color: #6ab825; font-weight: normal } /* Keyword.Declaration */
28-
.highlight .kn { color: #6ab825; font-weight: normal } /* Keyword.Namespace */
29-
.highlight .kp { color: #6ab825 } /* Keyword.Pseudo */
30-
.highlight .kr { color: #6ab825; font-weight: normal } /* Keyword.Reserved */
31-
.highlight .kt { color: #6ab825; font-weight: normal } /* Keyword.Type */
32-
.highlight .ld { color: #d0d0d0 } /* Literal.Date */
33-
.highlight .m { color: #3677a9 } /* Literal.Number */
34-
.highlight .s { color: #ff8 } /* Literal.String */
35-
.highlight .na { color: #bbbbbb } /* Name.Attribute */
36-
.highlight .nb { color: #24909d } /* Name.Builtin */
37-
.highlight .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
38-
.highlight .no { color: #40ffff } /* Name.Constant */
39-
.highlight .nd { color: #ffa500 } /* Name.Decorator */
40-
.highlight .ni { color: #d0d0d0 } /* Name.Entity */
41-
.highlight .ne { color: #bbbbbb } /* Name.Exception */
42-
.highlight .nf { color: #447fcf } /* Name.Function */
43-
.highlight .nl { color: #d0d0d0 } /* Name.Label */
44-
.highlight .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
45-
.highlight .nx { color: #d0d0d0 } /* Name.Other */
46-
.highlight .py { color: #d0d0d0 } /* Name.Property */
47-
.highlight .nt { color: #6ab825;} /* Name.Tag */
48-
.highlight .nv { color: #40ffff } /* Name.Variable */
49-
.highlight .ow { color: #6ab825; font-weight: normal } /* Operator.Word */
50-
.highlight .w { color: #666666 } /* Text.Whitespace */
51-
.highlight .mf { color: #3677a9 } /* Literal.Number.Float */
52-
.highlight .mh { color: #3677a9 } /* Literal.Number.Hex */
53-
.highlight .mi { color: #3677a9 } /* Literal.Number.Integer */
54-
.highlight .mo { color: #3677a9 } /* Literal.Number.Oct */
55-
.highlight .sb { color: #ff8 } /* Literal.String.Backtick */
56-
.highlight .sc { color: #ff8 } /* Literal.String.Char */
57-
.highlight .sd { color: #ff8 } /* Literal.String.Doc */
58-
.highlight .s2 { color: #ff8 } /* Literal.String.Double */
59-
.highlight .se { color: #ff8 } /* Literal.String.Escape */
60-
.highlight .sh { color: #ff8 } /* Literal.String.Heredoc */
61-
.highlight .si { color: #ff8 } /* Literal.String.Interpol */
62-
.highlight .sx { color: #ffa500 } /* Literal.String.Other */
63-
.highlight .sr { color: #ff8 } /* Literal.String.Regex */
64-
.highlight .s1 { color: #ff8 } /* Literal.String.Single */
65-
.highlight .ss { color: #ff8 } /* Literal.String.Symbol */
66-
.highlight .bp { color: #24909d } /* Name.Builtin.Pseudo */
67-
.highlight .vc { color: #40ffff } /* Name.Variable.Class */
68-
.highlight .vg { color: #40ffff } /* Name.Variable.Global */
69-
.highlight .vi { color: #40ffff } /* Name.Variable.Instance */
70-
.highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */
1+
.highlight .hll { background-color: #ffffcc }
2+
.highlight { background: #f0f3f3; }
3+
.highlight .c { color: #0099FF; font-style: italic } /* Comment */
4+
.highlight .err { color: #AA0000; background-color: #FFAAAA } /* Error */
5+
.highlight .k { color: #006699; font-weight: bold } /* Keyword */
6+
.highlight .o { color: #555555 } /* Operator */
7+
.highlight .cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
8+
.highlight .cp { color: #009999 } /* Comment.Preproc */
9+
.highlight .c1 { color: #0099FF; font-style: italic } /* Comment.Single */
10+
.highlight .cs { color: #0099FF; font-weight: bold; font-style: italic } /* Comment.Special */
11+
.highlight .gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
12+
.highlight .ge { font-style: italic } /* Generic.Emph */
13+
.highlight .gr { color: #FF0000 } /* Generic.Error */
14+
.highlight .gh { color: #003300; font-weight: bold } /* Generic.Heading */
15+
.highlight .gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
16+
.highlight .go { color: #AAAAAA } /* Generic.Output */
17+
.highlight .gp { color: #000099; font-weight: bold } /* Generic.Prompt */
18+
.highlight .gs { font-weight: bold } /* Generic.Strong */
19+
.highlight .gu { color: #003300; font-weight: bold } /* Generic.Subheading */
20+
.highlight .gt { color: #99CC66 } /* Generic.Traceback */
21+
.highlight .kc { color: #006699; font-weight: bold } /* Keyword.Constant */
22+
.highlight .kd { color: #006699; font-weight: bold } /* Keyword.Declaration */
23+
.highlight .kn { color: #006699; font-weight: bold } /* Keyword.Namespace */
24+
.highlight .kp { color: #006699 } /* Keyword.Pseudo */
25+
.highlight .kr { color: #006699; font-weight: bold } /* Keyword.Reserved */
26+
.highlight .kt { color: #007788; font-weight: bold } /* Keyword.Type */
27+
.highlight .m { color: #FF6600 } /* Literal.Number */
28+
.highlight .s { color: #CC3300 } /* Literal.String */
29+
.highlight .na { color: #330099 } /* Name.Attribute */
30+
.highlight .nb { color: #336666 } /* Name.Builtin */
31+
.highlight .nc { color: #00AA88; font-weight: bold } /* Name.Class */
32+
.highlight .no { color: #336600 } /* Name.Constant */
33+
.highlight .nd { color: #9999FF } /* Name.Decorator */
34+
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
35+
.highlight .ne { color: #CC0000; font-weight: bold } /* Name.Exception */
36+
.highlight .nf { color: #CC00FF } /* Name.Function */
37+
.highlight .nl { color: #9999FF } /* Name.Label */
38+
.highlight .nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */
39+
.highlight .nt { color: #330099; font-weight: bold } /* Name.Tag */
40+
.highlight .nv { color: #003333 } /* Name.Variable */
41+
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
42+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
43+
.highlight .mf { color: #FF6600 } /* Literal.Number.Float */
44+
.highlight .mh { color: #FF6600 } /* Literal.Number.Hex */
45+
.highlight .mi { color: #FF6600 } /* Literal.Number.Integer */
46+
.highlight .mo { color: #FF6600 } /* Literal.Number.Oct */
47+
.highlight .sb { color: #CC3300 } /* Literal.String.Backtick */
48+
.highlight .sc { color: #CC3300 } /* Literal.String.Char */
49+
.highlight .sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
50+
.highlight .s2 { color: #CC3300 } /* Literal.String.Double */
51+
.highlight .se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */
52+
.highlight .sh { color: #CC3300 } /* Literal.String.Heredoc */
53+
.highlight .si { color: #AA0000 } /* Literal.String.Interpol */
54+
.highlight .sx { color: #CC3300 } /* Literal.String.Other */
55+
.highlight .sr { color: #33AAAA } /* Literal.String.Regex */
56+
.highlight .s1 { color: #CC3300 } /* Literal.String.Single */
57+
.highlight .ss { color: #FFCC33 } /* Literal.String.Symbol */
58+
.highlight .bp { color: #336666 } /* Name.Builtin.Pseudo */
59+
.highlight .vc { color: #003333 } /* Name.Variable.Class */
60+
.highlight .vg { color: #003333 } /* Name.Variable.Global */
61+
.highlight .vi { color: #003333 } /* Name.Variable.Instance */
62+
.highlight .il { color: #FF6600 } /* Literal.Number.Integer.Long */
63+
64+
.type-csharp .highlight .k { color: #0000FF }
65+
.type-csharp .highlight .kt { color: #0000FF }
66+
.type-csharp .highlight .nf { color: #000000; font-weight: normal }
67+
.type-csharp .highlight .nc { color: #2B91AF }
68+
.type-csharp .highlight .nn { color: #000000 }
69+
.type-csharp .highlight .s { color: #A31515 }
70+
.type-csharp .highlight .sc { color: #A31515 }

0 commit comments

Comments
 (0)