Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes #45 #50

Merged
merged 4 commits into from
Aug 10, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_site
.sass-cache
.idea
23 changes: 23 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Site settings
title: jQPlot Chart Library
email: https://groups.google.com/forum/#!forum/jqplot-users
description: > # this means to ignore newlines until "baseurl:"
jqPlot is a versatile and expandable plotting and charting plugin for the jQuery Javascript framework.
jqPlot produces beautiful line, bar and pie charts with many features.
baseurl: "/jQPlot" # the subpath of your site, e.g. /blog/
url: "http://svandecappelle.github.io" # the base hostname & protocol for your site
twitter_username: jQplot
github_username: svandecappelle


# Stable version
stable_version: 1.0.9-stable
stable_version_zip: 1.0.9.zip


exclude: [ _jsdocs, jekserve ]

array: []

# Build settings
markdown: kramdown
6 changes: 6 additions & 0 deletions _data/democore.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
filename
Basic graph
Modify chart
No data
Splitted line chart
Stairs renderer
12 changes: 12 additions & 0 deletions _data/demoplugins.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
filename
Bars with date
Bars with zero fill
Cursor
Date on axis
Donut
Fullscreen Plot
Gauge
Overlay
Pie
Point labels
Radar
9 changes: 9 additions & 0 deletions _housekeeping/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Housekeeping stuff

This directory contains various scripts and odd ends that deals with the documentation.

Since the directory starts with an _ (underscore), jekyll will simply ignore it.

# Files

* **demotoc** - small script which generate _data/democore.csv and _data/demoplugins.csv Run from this directory.
17 changes: 17 additions & 0 deletions _housekeeping/demotoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
#
# This is so simple that we use bash
#
# Copyright - Ruben Olsen Lærk - RubenOlsen@github
#


for a in core plugins
do
echo Processing: $a
file=../_data/demo$a.csv
rm $file
echo "filename" >> $file
find ../demo/$a | grep ".html" | cut -d "/" -f 4 | cut -d "." -f 1 >> $file
done

13 changes: 13 additions & 0 deletions _includes/demo_advert.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

<article class="grid_4 code contrast">
<div class="wrap">
<h3 class="fancy">{{ blurb }}</h3>
<div class="code-sample screenshot">
<img src="{{ "/demo/screenshots/" | prepend: site.baseurl }}{{ blurbimage }}"
alt="{{ blurbimage }}">
</div>
<div class="more-wrap"><a href="{{ destination }}"
class="more">Show<span class="arrow">→</span></a>
</div>
</div>
</article>
122 changes: 122 additions & 0 deletions _includes/demoexamples_head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">

<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />

<link rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}">


<link rel="stylesheet" href="{{ "/dist/plugins/fullscreener/fullscreener.min.css" | prepend: site.baseurl }}"/>

<link rel="stylesheet" href="{{ "/dist/core/jquery.jqplot.min.css" | prepend: site.baseurl }}"/>

<link rel="stylesheet" href="{{ "/assets/js/syntaxhighlighter/styles/shCoreDefault.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/assets/js/syntaxhighlighter/styles/shThemejqPlot.css" | prepend: site.baseurl }}">

<link rel="stylesheet" href="{{ "/dist/core/jquery.jqplot.min.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/assets/css/examples.css" | prepend: site.baseurl }}">


<script type="text/javascript" src="{{ "/dist/core/jquery.min.js" | prepend: site.baseurl }}"></script>
<script type="text/javascript" src="{{ "/dist/core/jquery.jqplot.min.js" | prepend: site.baseurl }}"></script>



<script type="text/javascript" src="{{ "/assets/js/syntaxhighlighter/scripts/shCore.js" | prepend: site.baseurl }}"></script>
<script type="text/javascript" src="{{ "/assets/js/syntaxhighlighter/scripts/shBrushJScript.js" | prepend: site.baseurl }}"></script>
<script type="text/javascript" src="{{ "/assets/js/syntaxhighlighter/scripts/shBrushXml.js" | prepend: site.baseurl }}"></script>

{% if page.barrender == true %}
<!-- Bar renderer -->
<script src="{{ "/dist/plugins/bar/jqplot.barRenderer.min.js" | prepend: site.baseurl }}"></script>
{% endif %}


<script src="{{ "/dist/plugins/gauge/jqplot.meterGaugeRenderer.min.js" | prepend: site.baseurl }}"></script>

<!-- Axes -->
<script src="{{ "/dist/plugins/axis/jqplot.dateAxisRenderer.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/dist/plugins/axis/jqplot.canvasAxisTickRenderer.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/dist/plugins/text/jqplot.canvasTextRenderer.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/dist/plugins/axis/jqplot.categoryAxisRenderer.min.js" | prepend: site.baseurl }}"></script>


<script src="{{ "/dist/plugins/highlighter/jqplot.highlighter.min.js" | prepend: site.baseurl }}"></script>


<!-- Customization theme -->
<script src="{{ "/dist/plugins/themes/extendedThemes.min.js" | prepend: site.baseurl }}"></script>

<!-- Export PNG -->
<script src="{{ "/dist/plugins/export/exportImg.min.js" | prepend: site.baseurl }}"></script>

<script src="{{ "/dist/plugins/fullscreener/fullscreener.min.js" | prepend: site.baseurl }}"></script>

<script src="{{ "/dist/plugins/donut/jqplot.donutRenderer.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/dist/plugins/radar/jqplot.radarRenderer.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/dist/plugins/pie/jqplot.pieRenderer.min.js" | prepend: site.baseurl }}"></script>



<script src="{{ "/dist/plugins/legend/jqplot.enhancedLegendRenderer.min.js" | prepend: site.baseurl }}"></script>


<script src="{{ "/dist/plugins/overlay/jqplot.canvasOverlay.min.js" | prepend: site.baseurl }}"></script>

{% if page.pointlabel == true %}
<script src="{{ "/dist/plugins/points/jqplot.pointLabels.min.js" | prepend: site.baseurl }}"></script>
{% endif %}

<script src="{{ "/dist/plugins/cursor/jqplot.cursor.min.js" | prepend: site.baseurl }}"></script>



<script type="text/javascript" language="javascript">
function goe() {
parts = ['mXVai', 'ltPo', ':', 'chrU', 'i', 'Os@', 'jEqp', 'lNot.', 'cIUo', 'm']
location.href=parts.join('').replace(/[A-Z]/g, '');
return false;
}

SyntaxHighlighter.defaults['toolbar'] = false;
</script>



<script type="text/javascript">
$(document).ready(function(){
$('script.code').each(function(index) {
$('pre.code').eq(index).text($(this).html());
});

var elstr='';
if ($('script.include').length > 0) {
$('script.include').each(function(index) {
if (index > 0) {
elstr += '\n';
}
elstr += '&lt;script type="text/javascript" src="'+$(this).attr('src')+'">&lt;/script>';
});

$('pre.include').html(elstr);

}

else {
$('p.include').remove();
$('div.include').remove();
}

$(document).unload(function() {$('*').unbind(); });

SyntaxHighlighter.all();
});
</script>

</head>
38 changes: 38 additions & 0 deletions _includes/dev_footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@


<footer>
<section id="footer">
<div class="branding">
<h3 class="fancy"><a href="#">jQPlot Chart Library</a></h3>
</div>
<div class="list">
<ul>
<li><a href="guide/installation.html">Installation</a></li>
<li><a href="guide/plugins/index.html">Plugins</a></li>
</ul>
</div>
<div class="list">
<ul>
<li><a href="api/index.html">API</a></li>
<li><a href="api/plugins/index.html">Plugin Utility API</a></li>
</ul>
</div>
<div class="list">
<ul>
<li><a href="guide/resources/index.html">Help</a></li>
<li><a href="tests/index.html">Test Suite</a></li>
<li><a href="https://github.com/svandecappelle/jQPlot/wiki/changelog.md" target="_blank">Changelog</a></li>
</ul>
</div>
<div class="list">
<ul>
<li><a href="https://github.com/svandecappelle/jQPlot/issues" target="_blank">Issues</a></li>
<li><a href="http://groups.google.com/group/jqplot-users" target="_blank">Google Group</a></li>
<li><a href="http://travis-ci.org/#!/svandecappelle/jQPlot" target="_blank">Build Status</a></li>
</ul>
</div>
</section>
</footer>

</body>
</html>
72 changes: 72 additions & 0 deletions _includes/dev_head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">

<link rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />



<link rel="stylesheet" href="{{ "/assets/js/syntaxhighlighter/styles/shCoreDefault.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/assets/js/syntaxhighlighter/styles/shThemejqPlot.css" | prepend: site.baseurl }}">

<link rel="stylesheet" href="{{ "/dist/core/jquery.jqplot.min.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/assets/css/examples.css" | prepend: site.baseurl }}">


<script type="text/javascript" src="{{ "/dist/core/jquery.min.js" | prepend: site.baseurl }}"></script>
<script type="text/javascript" src="{{ "/dist/core/jquery.jqplot.min.js" | prepend: site.baseurl }}"></script>

<script type="text/javascript" src="{{ "/assets/js/syntaxhighlighter/scripts/shCore.js" | prepend: site.baseurl }}"></script>
<script type="text/javascript" src="{{ "/assets/js/syntaxhighlighter/scripts/shBrushJScript.js" | prepend: site.baseurl }}"></script>
<script type="text/javascript" src="{{ "/assets/js/syntaxhighlighter/scripts/shBrushXml.js" | prepend: site.baseurl }}"></script>


<script type="text/javascript" language="javascript">
function goe() {
parts = ['mXVai', 'ltPo', ':', 'chrU', 'i', 'Os@', 'jEqp', 'lNot.', 'cIUo', 'm']
location.href=parts.join('').replace(/[A-Z]/g, '');
return false;
}

SyntaxHighlighter.defaults['toolbar'] = false;
</script>



<script type="text/javascript">
$(document).ready(function(){
$('script.code').each(function(index) {
$('pre.code').eq(index).text($(this).html());
});

var elstr='';
if ($('script.include').length > 0) {
$('script.include').each(function(index) {
if (index > 0) {
elstr += '\n';
}
elstr += '&lt;script type="text/javascript" src="'+$(this).attr('src')+'">&lt;/script>';
});

$('pre.include').html(elstr);

}

else {
$('p.include').remove();
$('div.include').remove();
}

$(document).unload(function() {$('*').unbind(); });

SyntaxHighlighter.all();
});
</script>

</head>
33 changes: 33 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<footer>
<section id="footer">
<div class="branding">
<h3 class="fancy"><a href="#">jQPlot Chart Library</a></h3>
</div>
<div class="list">
<ul>
<li><a href="guide/installation.html">Installation</a></li>
<li><a href="guide/plugins/index.html">Plugins</a></li>
</ul>
</div>
<div class="list">
<ul>
<li><a href="api/index.html">API</a></li>
<li><a href="api/plugins/index.html">Plugin Utility API</a></li>
</ul>
</div>
<div class="list">
<ul>
<li><a href="guide/resources/index.html">Help</a></li>
<li><a href="tests/index.html">Test Suite</a></li>
<li><a href="https://github.com/svandecappelle/jQPlot/wiki/changelog.md" target="_blank">Changelog</a></li>
</ul>
</div>
<div class="list">
<ul>
<li><a href="https://github.com/svandecappelle/jQPlot/issues" target="_blank">Issues</a></li>
<li><a href="http://groups.google.com/group/jqplot-users" target="_blank">Google Group</a></li>
<li><a href="http://travis-ci.org/#!/svandecappelle/jQPlot" target="_blank">Build Status</a></li>
</ul>
</div>
</section>
</footer>
9 changes: 9 additions & 0 deletions _includes/front_advert.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<article class="grid_4 code contrast">
<div class="wrap">
<h3 class="fancy">{{ blurb }}</h3>
<div class="code-sample centered">
<img src="{{ "/assets/img/" | prepend: site.baseurl }}{{ blurbimage }}"
alt="{{ blurbimage }}" height="148" width="149">
</div>
</div>
</article>
13 changes: 13 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">

<link rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
<script src="{{ "/dist/core/jquery.min.js" | prepend: site.baseurl }}"></script>
</head>
Loading