You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by ra...@apache.org on 2017/12/02 06:09:34 UTC
[50/51] [partial] mahout git commit: New Website courtesy of
startbootstrap.com
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/README.md
----------------------------------------------------------------------
diff --git a/website-old/README.md b/website-old/README.md
new file mode 100644
index 0000000..b711140
--- /dev/null
+++ b/website-old/README.md
@@ -0,0 +1,163 @@
+# Mahout Instructions
+
+
+
+## How do I edit Mahouts website? Jekyll
+
+The Mahout website uses Jekyll to manage its website. Refer to this page to setup your laptop with jekyll if you want to setup a local environment.
+
+
+Once you have Jekyll installed, next you will need to clone the mahout git repo
+```
+git clone https://github.com/apache/mahout.git mahout
+cd website
+```
+
+
+## There are actually three sites!
+
+#### `website/front`
+
+This has information about the community, github, how to update website, developer resources, list of members. __*Things that when they change change forever and we don't need to keep a history of the old way (e.g. the old way of updating the website )*__
+
+#### `website/docs`
+
+This has user documentation, info on algorithms, programing guides, features. etc.
+__*things that change between versions*__
+
+Follow the instructions below to serve either site, just know your links in community aren't going to work with the docs. Until you post it.
+
+#### `website/old-site`
+
+This is a full and mostly working port of the old site. It has been updated so that new themes can be applied to it, or the `mahout-retro` theme can be applied to the newer sites (thought this is somewhat messy).
+
+There is a lot of content in here, and a lot of it isn't even available from the main site. We should start going through this and dragging it over page by page, updating as we go.
+
+Eventually we'll use this to build `docs/0.13.0`
+
+## Getting Started
+
+To start editing the website first you need to open two terminals. One terminal will run a continuous build of the mahout website locally, and the other will serve the website on localhost:4000
+
+Terminal
+```
+bundle exec jekyll serve
+```
+
+Browser
+```
+localhost:4000
+```
+
+Start coding.
+
+
+
+## Organization
+
+Within `mahout/website/docs` and `mahout/website/front` you'll find the following directories
+
+- `./_site` : this directory holds your static website which is created with `jekyll build`. Modifying things in here directly will have no effect (they will be overwritten)
+- `./_layouts` : this directory holds the basic layouts for page types
+- `./_includes` : this directory holds files which can be included in layouts, such as the HTML that powers the
+page, the navbar, etc. You will see in the html files referenced in `./_layouts` a line that says ` {{ content }}` this
+ is where the markdown compiled into HTML is injected.
+- `./assets` : this directory holds the css and images used for the website
+- `./[OTHER]` : all other directories become directory structure of the site. They maybe filled with markdown files. E.g.
+`./my-dir/myfile.md` will populate the site at `http://.../my-dir/myfile.html`
+
+**NOTE** `_includes/` and `_assets/` are actually symlinks so that if you change the theme, it will apply evenly to all sites.
+
+#### Themes
+
+With Jekyll Builder we can easily swap out themes. Currently the theme is `mahout3`
+`website/_includes/themes/mahout` : This directory has HTML for things you will include in your pages, e.g. navbar
+`website/assets/themes/mahout` : this directory holds the css and images used for the website (on the mahout theme, if we also may build new themes to try different looks and feels)
+
+
+
+## How to port a page
+
+#### Copy to it's new home
+
+There should be no chnages to `/website/docs/0.13.0/` Need to create `/website/docs/0.13.1-SNAPSHOT/`
+
+Other non-docs, e.g. things that go in developers or other static places, should go to where ever it is they are supposed to live.
+
+If appropriate, change the file suffix from `.mdtext` or whatever wierd thing it is to `.md`
+
+#### Change the Header
+
+Most of the old stuff has a title like:
+
+`Title: GSOC`
+
+Change this too:
+
+`---`
+```
+layout: default
+title: GSoC
+theme: mahout
+---
+```
+
+#### Update PATHs where appropriate
+
+Change hard linkes or relative links like this
+```
+For more information see [Handling GitHub PRs](http://mahout.apache.org/developers/github.html)
+```
+
+To utilize JB's `{{ BASE_PATH }}`
+
+E.g.
+```
+For more information see [Handling GitHub PRs]({{ BASE_PATH }}/developers/github.html)
+```
+
+This will make links in say github, refer to the github links. Same with images.
+
+
+
+### Changing themes
+
+` rake theme:switch name="THEME-NAME"`
+
+Options currently are `mahout`, `mahout2`, `mahout3` and `mahout-retro`
+
+Mahout
+
+![assets/img/mahout_theme.png]
+
+
+Mahout2
+
+![assets/img/mahout2_theme.png]
+
+If you want to edit the style edit `assets/themes/<your_theme>/css/style.css` and override value.
+
+This is a helpful tool for reference http://pikock.github.io/bootstrap-magic/3.0/app/index.html#!/editor
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/analytics
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/analytics b/website-old/_includes/JB/analytics
new file mode 100644
index 0000000..2bb4c80
--- /dev/null
+++ b/website-old/_includes/JB/analytics
@@ -0,0 +1,20 @@
+{% include JB/is_production %}
+
+{% if is_production and site.JB.analytics.provider and page.JB.analytics != false %}
+
+{% case site.JB.analytics.provider %}
+{% when "gauges" %}
+ {% include JB/analytics-providers/gauges %}
+{% when "google" %}
+ {% include JB/analytics-providers/google %}
+{% when "getclicky" %}
+ {% include JB/analytics-providers/getclicky %}
+{% when "mixpanel" %}
+ {% include JB/analytics-providers/mixpanel %}
+{% when "piwik" %}
+ {% include JB/analytics-providers/piwik %}
+{% when "custom" %}
+ {% include custom/analytics %}
+{% endcase %}
+
+{% endif %}
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/analytics-providers/gauges
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/analytics-providers/gauges b/website-old/_includes/JB/analytics-providers/gauges
new file mode 100644
index 0000000..b793ff1
--- /dev/null
+++ b/website-old/_includes/JB/analytics-providers/gauges
@@ -0,0 +1,13 @@
+<script type="text/javascript">
+ var _gauges = _gauges || [];
+ (function() {
+ var t = document.createElement('script');
+ t.type = 'text/javascript';
+ t.async = true;
+ t.id = 'gauges-tracker';
+ t.setAttribute('data-site-id', '{{ site.JB.analytics.gauges.site_id }}');
+ t.src = '//secure.gaug.es/track.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(t, s);
+ })();
+</script>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/analytics-providers/getclicky
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/analytics-providers/getclicky b/website-old/_includes/JB/analytics-providers/getclicky
new file mode 100644
index 0000000..e9462f4
--- /dev/null
+++ b/website-old/_includes/JB/analytics-providers/getclicky
@@ -0,0 +1,12 @@
+<script type="text/javascript">
+var clicky_site_ids = clicky_site_ids || [];
+clicky_site_ids.push({{ site.JB.analytics.getclicky.site_id }});
+(function() {
+ var s = document.createElement('script');
+ s.type = 'text/javascript';
+ s.async = true;
+ s.src = '//static.getclicky.com/js';
+ ( document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0] ).appendChild( s );
+})();
+</script>
+<noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/{{ site.JB.analytics.getclicky.site_id }}ns.gif" /></p></noscript>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/analytics-providers/google
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/analytics-providers/google b/website-old/_includes/JB/analytics-providers/google
new file mode 100644
index 0000000..9014866
--- /dev/null
+++ b/website-old/_includes/JB/analytics-providers/google
@@ -0,0 +1,11 @@
+<script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', '{{ site.JB.analytics.google.tracking_id }}']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+</script>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/analytics-providers/google-universal
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/analytics-providers/google-universal b/website-old/_includes/JB/analytics-providers/google-universal
new file mode 100644
index 0000000..834f2ee
--- /dev/null
+++ b/website-old/_includes/JB/analytics-providers/google-universal
@@ -0,0 +1,9 @@
+<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', {{ site.JB.analytics.googleUA.tracking_id }}', {% if site.JB.analytics.googleUA.property_name %}{{ site.JB.analytics.googleUA.property_name }}{% else %}'auto'{% endif %});
+ ga('send', 'pageview');
+</script>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/analytics-providers/mixpanel
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/analytics-providers/mixpanel b/website-old/_includes/JB/analytics-providers/mixpanel
new file mode 100644
index 0000000..4406eb0
--- /dev/null
+++ b/website-old/_includes/JB/analytics-providers/mixpanel
@@ -0,0 +1,11 @@
+<script type="text/javascript">
+ var mpq = [];
+ mpq.push(["init", "{{ site.JB.analytics.mixpanel.token}}"]);
+ (function(){var b,a,e,d,c;b=document.createElement("script");b.type="text/javascript";
+ b.async=true;b.src=(document.location.protocol==="https:"?"https:":"http:")+
+ "//api.mixpanel.com/site_media/js/api/mixpanel.js";a=document.getElementsByTagName("script")[0];
+ a.parentNode.insertBefore(b,a);e=function(f){return function(){mpq.push(
+ [f].concat(Array.prototype.slice.call(arguments,0)))}};d=["init","track","track_links",
+ "track_forms","register","register_once","identify","name_tag","set_config"];for(c=0;c<
+ d.length;c++){mpq[d[c]]=e(d[c])}})();
+</script>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/analytics-providers/piwik
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/analytics-providers/piwik b/website-old/_includes/JB/analytics-providers/piwik
new file mode 100755
index 0000000..077a373
--- /dev/null
+++ b/website-old/_includes/JB/analytics-providers/piwik
@@ -0,0 +1,10 @@
+<script type="text/javascript">
+ var pkBaseURL = (("https:" == document.location.protocol) ? "https://{{ site.JB.analytics.piwik.baseURL }}/" : "http://{{ site.JB.analytics.piwik.baseURL }}/");
+ document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+</script><script type="text/javascript">
+ try {
+ var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", {{ site.JB.analytics.piwik.idsite }});
+ piwikTracker.trackPageView();
+ piwikTracker.enableLinkTracking();
+ } catch( err ) {}
+</script><noscript><p><img src="http://{{ site.JB.analytics.piwik.baseURL }}/piwik.php?idsite={{ site.JB.analytics.piwik.idsite }}" style="border:0" alt="" /></p></noscript>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/categories_list
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/categories_list b/website-old/_includes/JB/categories_list
new file mode 100644
index 0000000..83be2e2
--- /dev/null
+++ b/website-old/_includes/JB/categories_list
@@ -0,0 +1,37 @@
+{% comment %}<!--
+The categories_list include is a listing helper for categories.
+Usage:
+ 1) assign the 'categories_list' variable to a valid array of tags.
+ 2) include JB/categories_list
+ example:
+ <ul>
+ {% assign categories_list = site.categories %}
+ {% include JB/categories_list %}
+ </ul>
+
+ Notes:
+ Categories can be either a Hash of Category objects (hashes) or an Array of category-names (strings).
+ The encapsulating 'if' statement checks whether categories_list is a Hash or Array.
+ site.categories is a Hash while page.categories is an array.
+
+ This helper can be seen in use at: ../_layouts/default.html
+-->{% endcomment %}
+
+{% if site.JB.categories_list.provider == "custom" %}
+ {% include custom/categories_list %}
+{% else %}
+ {% if categories_list.first[0] == null %}
+ {% for category in categories_list %}
+ <li><a href="{{ BASE_PATH }}{{ site.JB.categories_path }}#{{ category }}-ref">
+ {{ category | join: "/" }} <span>{{ site.categories[category].size }}</span>
+ </a></li>
+ {% endfor %}
+ {% else %}
+ {% for category in categories_list %}
+ <li><a href="{{ BASE_PATH }}{{ site.JB.categories_path }}#{{ category[0] }}-ref">
+ {{ category[0] | join: "/" }} <span>{{ category[1].size }}</span>
+ </a></li>
+ {% endfor %}
+ {% endif %}
+{% endif %}
+{% assign categories_list = nil %}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/comments
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/comments b/website-old/_includes/JB/comments
new file mode 100644
index 0000000..eec2e1e
--- /dev/null
+++ b/website-old/_includes/JB/comments
@@ -0,0 +1,18 @@
+{% if site.JB.comments.provider and page.comments != false %}
+
+{% case site.JB.comments.provider %}
+{% when "disqus" %}
+ {% include JB/comments-providers/disqus %}
+{% when "livefyre" %}
+ {% include JB/comments-providers/livefyre %}
+{% when "intensedebate" %}
+ {% include JB/comments-providers/intensedebate %}
+{% when "facebook" %}
+ {% include JB/comments-providers/facebook %}
+{% when "duoshuo" %}
+ {% include JB/comments-providers/duoshuo %}
+{% when "custom" %}
+ {% include custom/comments %}
+{% endcase %}
+
+{% endif %}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/comments-providers/disqus
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/comments-providers/disqus b/website-old/_includes/JB/comments-providers/disqus
new file mode 100644
index 0000000..6343100
--- /dev/null
+++ b/website-old/_includes/JB/comments-providers/disqus
@@ -0,0 +1,15 @@
+<div id="disqus_thread"></div>
+<script type="text/javascript">
+ {% include JB/is_production %}
+ {% if is_production == false %}var disqus_developer = 1;{% endif %}
+ var disqus_shortname = '{{ site.JB.comments.disqus.short_name }}'; // required: replace example with your forum shortname
+ {% if page.wordpress_id %}var disqus_identifier = '{{page.wordpress_id}} {{site.production_url}}/?p={{page.wordpress_id}}';{% endif %}
+ /* * * DON'T EDIT BELOW THIS LINE * * */
+ (function() {
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
+ dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+ })();
+</script>
+<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
+<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/comments-providers/duoshuo
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/comments-providers/duoshuo b/website-old/_includes/JB/comments-providers/duoshuo
new file mode 100644
index 0000000..90865a0
--- /dev/null
+++ b/website-old/_includes/JB/comments-providers/duoshuo
@@ -0,0 +1,14 @@
+<!-- Duoshuo Comment BEGIN -->
+ <div class="ds-thread"{% if page.wordpress_id %} data-thread-key="{{page.wordpress_id}}"{% endif %}></div>
+<script type="text/javascript">
+var duoshuoQuery = {short_name:'{{ site.JB.comments.duoshuo.short_name }}'};
+ (function() {
+ var ds = document.createElement('script');
+ ds.type = 'text/javascript';ds.async = true;
+ ds.src = 'http://static.duoshuo.com/embed.js';
+ ds.charset = 'UTF-8';
+ (document.getElementsByTagName('head')[0]
+ || document.getElementsByTagName('body')[0]).appendChild(ds);
+ })();
+ </script>
+<!-- Duoshuo Comment END -->
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/comments-providers/facebook
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/comments-providers/facebook b/website-old/_includes/JB/comments-providers/facebook
new file mode 100644
index 0000000..e1d3deb
--- /dev/null
+++ b/website-old/_includes/JB/comments-providers/facebook
@@ -0,0 +1,9 @@
+<div id="fb-root"></div>
+<script>(function(d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0];
+ if (d.getElementById(id)) return;
+ js = d.createElement(s); js.id = id;
+ js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId={{ site.JB.comments.facebook.appid }}";
+ fjs.parentNode.insertBefore(js, fjs);
+}(document, 'script', 'facebook-jssdk'));</script>
+<div class="fb-comments" data-href="{{ site.production_url }}{{ page.url }}" data-num-posts="{{ site.JB.comments.facebook.num_posts }}" data-width="{{ site.JB.comments.facebook.width }}" data-colorscheme="{{ site.JB.comments.facebook.colorscheme }}"></div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/comments-providers/intensedebate
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/comments-providers/intensedebate b/website-old/_includes/JB/comments-providers/intensedebate
new file mode 100644
index 0000000..233ce34
--- /dev/null
+++ b/website-old/_includes/JB/comments-providers/intensedebate
@@ -0,0 +1,6 @@
+<script>
+var idcomments_acct = '{{ site.JB.comments.intensedebate.account }}';
+var idcomments_post_id;
+var idcomments_post_url;
+</script>
+<script type="text/javascript" src="http://www.intensedebate.com/js/genericCommentWrapperV2.js"></script>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/comments-providers/livefyre
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/comments-providers/livefyre b/website-old/_includes/JB/comments-providers/livefyre
new file mode 100644
index 0000000..704b803
--- /dev/null
+++ b/website-old/_includes/JB/comments-providers/livefyre
@@ -0,0 +1,6 @@
+<script type='text/javascript' src='http://zor.livefyre.com/wjs/v1.0/javascripts/livefyre_init.js'></script>
+<script type='text/javascript'>
+ var fyre = LF({
+ site_id: {{ site.JB.comments.livefyre.site_id }}
+ });
+</script>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/feedburner
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/feedburner b/website-old/_includes/JB/feedburner
new file mode 100644
index 0000000..6dba603
--- /dev/null
+++ b/website-old/_includes/JB/feedburner
@@ -0,0 +1,3 @@
+{% if site.author.feedburner != null %}
+<link href="http://feeds.feedburner.com/{{ site.author.feedburner }}" rel="alternate" title="{{ site.title }}" type="application/atom+xml" />
+{% endif %}
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/file_exists
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/file_exists b/website-old/_includes/JB/file_exists
new file mode 100644
index 0000000..f40080f
--- /dev/null
+++ b/website-old/_includes/JB/file_exists
@@ -0,0 +1,26 @@
+{% comment %}<!--
+ param: file = "/example/file.png"
+ return: file_exists_result = true
+
+ examples:
+ {% include JB/file_exists file="/404.html" %}
+ {% if file_exists_result %}Found "/404.html"!{% else %}Did not find "/404.html".{% endif %}
+
+ {% assign filename = "/405.html" %}
+ {% include JB/file_exists file=filename %}
+ {% if file_exists_result %}Found "{{ filename }}"!{% else %}Did not find "{{ filename }}".{% endif %}
+
+ NOTE: the BREAK statement in the FOR loop assumes Liquid >= 2.5.0
+
+-->{% endcomment %}
+
+{% assign file_exists_result = false %}
+
+{% if include.file %}
+ {% for static_file in site.static_files %}
+ {% if static_file.path == include.file %}
+ {% assign file_exists_result = true %}
+ {% break %}
+ {% endif %}
+ {% endfor %}
+{% endif %}
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/gist
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/gist b/website-old/_includes/JB/gist
new file mode 100644
index 0000000..38a5b1c
--- /dev/null
+++ b/website-old/_includes/JB/gist
@@ -0,0 +1,19 @@
+{% comment %}<!--
+The gist include allows you to embed GitHub Gist snippets in your content.
+Usage:
+ 1) include JB/gist
+ 2) specify the gist_id parameter (REQUIRED)
+ 3) specify the gist_file parameter (OPTIONAL)
+ example:
+ <ul>
+ {% include JB/gist gist_id="fdcfeaba4f33c172828d" %}
+ {% include JB/gist gist_id="fdcfeaba4f33c172828d" gist_file="jekyll-bootstrap.js" %}
+ </ul>
+-->{% endcomment %}
+
+<div id="gist">
+<script src="https://gist.github.com/{{ include.gist_id }}.js{% if include.gist_file %}?file={{ include.gist_file }}{% endif %}"></script>
+<noscript>
+<pre>https://gist.github.com/{{include.gist_id}}.js{% if include.gist_file %}?file={{include.gist_file}}{% endif %}</pre>
+</noscript>
+</div>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/is_production
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/is_production b/website-old/_includes/JB/is_production
new file mode 100644
index 0000000..3548f8c
--- /dev/null
+++ b/website-old/_includes/JB/is_production
@@ -0,0 +1,39 @@
+{% capture jbcache %}{% comment %}
+
+ Determine whether or not the site is being built in a production environment.
+
+ Parameters:
+ None.
+
+ Returns:
+ is_production: [true|false]
+ jb_prod_env: [development|github|other]
+
+ Examples:
+
+ {% include JB/is_production %}
+
+ {% if is_production != true %}
+ <h3>This is Private</h3>
+ <p>I love to watch television in my undies. Don't tell anyone!</p>
+ {% endif %}
+
+ <h3>This is Public</h3>
+ <p>I have no unusual quirks.</p>
+
+{% endcomment %}
+
+{% assign is_production = false %}
+{% assign jb_prod_env = "development" %}
+
+{% if jekyll.environment != "development" %}
+ {% assign is_production = true %}
+ {% assign jb_prod_env = jekyll.environment %}
+{% endif %}
+
+{% if site.github %}
+ {% assign is_production = true %}
+ {% assign jb_prod_env = "github" %}
+{% endif %}
+
+{% endcapture %}{% assign jbcache = nil %}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/liquid_raw
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/liquid_raw b/website-old/_includes/JB/liquid_raw
new file mode 100644
index 0000000..da2d359
--- /dev/null
+++ b/website-old/_includes/JB/liquid_raw
@@ -0,0 +1,32 @@
+{% comment%}<!--
+The liquid_raw helper is a way to display raw liquid code, as opposed to parsing it.
+Normally you'd use Liquid's built in 'raw' tag.
+The problem is GitHub Jekyll does not support the current Liquid release.
+GitHub Jekyll supports the deprecated 'literal' tag.
+Using one will break the other if you plan to deploy to GitHub pages.
+ see: https://github.com/mojombo/jekyll/issues/425
+
+Since I don't want to mess with Liquid versions, I'll just rewrite the way I
+intend to give liquid examples. It's not an elegant solution by any means:
+
+Usage:
+ 1) Define a 'text' variable with the block of liquid code you intend to display.
+ 2) Pass the text variable to include JB/liquid_raw
+
+ example:
+ {% capture text %}|.% for tag in tags_list %.|
+ <li><a href="|.{ site.var.tags_path }.||.{ tag[0] }.|-ref">|.{ tag[0] }.| <span>|.{tag[1].size}.|</span></a></li>
+ |.% endfor %.|
+
+ |.% assign tags_list = null %.|{% endcapture %}
+ {% include JB/liquid_raw %}
+
+ As seen here, you must use "|." and ".|" as opening and closing brackets.
+-->{% endcomment%}
+
+{% if site.JB.liquid_raw.provider == "custom" %}
+ {% include custom/liquid_raw %}
+{% else %}
+ <pre><code>{{text | replace:"|.", "{" | replace:".|", "}" | replace:">", ">" | replace:"<", "<" }}</code></pre>
+{% endif %}
+{% assign text = nil %}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/pages_list
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/pages_list b/website-old/_includes/JB/pages_list
new file mode 100644
index 0000000..42f827a
--- /dev/null
+++ b/website-old/_includes/JB/pages_list
@@ -0,0 +1,39 @@
+{% comment %}<!--
+The pages_list include is a listing helper.
+Usage:
+ 1) assign the 'pages_list' variable to a valid array of pages or posts.
+ 2) include JB/pages_list
+ example:
+ <ul>
+ {% assign pages_list = site.pages %}
+ {% include JB/pages_list %}
+ </ul>
+
+ Grouping: (optional):
+ assign the 'group' variable to constrain the list to only pages/posts
+ in the given group. Note you must define the group manually in the page/post
+ meta-data to use this feature.
+ Grouping is mainly helpful for non-post pages.
+ If you want to group posts, it's easier/better to tag them, then pass the tagged posts array.
+ i.e. site.tags.cool_tag (this returns an array of posts tagged: cool_tag)
+
+ This helper can be seen in use at: ../_layouts/default.html
+-->{% endcomment %}
+
+{% if site.JB.pages_list.provider == "custom" %}
+ {% include custom/pages_list %}
+{% else %}
+ {% for node in pages_list %}
+ {% if node.title != null %}
+ {% if group == null or group == node.group %}
+ {% if page.url == node.url %}
+ <li class="active"><a href="{{ BASE_PATH }}{{node.url}}" class="active">{{node.title}}</a></li>
+ {% else %}
+ <li><a href="{{ BASE_PATH }}{{node.url}}">{{node.title}}</a></li>
+ {% endif %}
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+{% endif %}
+{% assign pages_list = nil %}
+{% assign group = nil %}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/posts_collate
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/posts_collate b/website-old/_includes/JB/posts_collate
new file mode 100644
index 0000000..f612ade
--- /dev/null
+++ b/website-old/_includes/JB/posts_collate
@@ -0,0 +1,55 @@
+{% comment %}<!--
+Collate_posts helper. Collated posts by year and month.
+Usage:
+ 1) assign the 'posts_collate' variable to a valid array of posts.
+ 2) include JB/posts_collate
+ example:
+ {% assign posts_collate = site.posts %}
+ {% include JB/posts_collate %}
+
+ Ordering:
+ Posts are displayed in reverse chronological order.
+ For normal chronological order:
+ 1) Change the for loop to this:
+ => 'for post in site.posts reversed'
+ 2) Next make sure to change 'post.previous.date' to:
+ => 'post.next.date'
+
+-->{% endcomment %}
+
+{% if site.JB.posts_collate.provider == "custom" %}
+ {% include custom/posts_collate %}
+{% else %}
+ {% for post in posts_collate %}
+ {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
+ {% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %}
+ {% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
+ {% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %}
+
+ {% if forloop.first %}
+ <h2>{{this_year}}</h2>
+ <h3>{{this_month}}</h3>
+ <ul>
+ {% endif %}
+
+ <li><span>{{ post.date | date: "%B %e, %Y" }}</span> » <a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></li>
+
+ {% if forloop.last %}
+ </ul>
+ {% else %}
+ {% if this_year != next_year %}
+ </ul>
+ <h2>{{next_year}}</h2>
+ <h3>{{next_month}}</h3>
+ <ul>
+ {% else %}
+ {% if this_month != next_month %}
+ </ul>
+ <h3>{{next_month}}</h3>
+ <ul>
+ {% endif %}
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+{% endif %}
+{% assign posts_collate = nil %}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/setup
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/setup b/website-old/_includes/JB/setup
new file mode 100644
index 0000000..a2e4793
--- /dev/null
+++ b/website-old/_includes/JB/setup
@@ -0,0 +1,28 @@
+{% capture jbcache %}
+ <!--
+ - Dynamically set liquid variables for working with URLs/paths
+ -->
+{% include JB/is_production %}
+ {% if site.JB.setup.provider == "custom" %}
+ {% include custom/setup %}
+ {% else %}
+ {% if is_production and site.JB.BASE_PATH and site.JB.BASE_PATH != '' %}
+ {% assign BASE_PATH = site.JB.BASE_PATH %}
+ {% assign HOME_PATH = site.JB.BASE_PATH %}
+ {% else %}
+ {% assign BASE_PATH = nil %}
+ {% assign HOME_PATH = "/" %}
+ {% endif %}
+
+ {% if site.JB.ASSET_PATH %}
+ {% assign ASSET_PATH = site.JB.ASSET_PATH %}
+ {% else %}
+ {% if layout.theme.name %}
+ {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ layout.theme.name }}{% endcapture %}
+ {% else %}
+ {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ page.theme.name }}{% endcapture %}
+ {% endif %}
+ {% endif %}
+
+ {% endif %}
+{% endcapture %}{% assign jbcache = nil %}
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/sharing
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/sharing b/website-old/_includes/JB/sharing
new file mode 100644
index 0000000..175a001
--- /dev/null
+++ b/website-old/_includes/JB/sharing
@@ -0,0 +1,9 @@
+{% include JB/is_production %}
+{% if is_production and site.JB.sharing.provider and page.JB.sharing != false %}
+
+{% case site.JB.sharing.provider %}
+{% when "custom" %}
+ {% include custom/sharing %}
+{% endcase %}
+
+{% endif %}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/sort_collection
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/sort_collection b/website-old/_includes/JB/sort_collection
new file mode 100644
index 0000000..1e32015
--- /dev/null
+++ b/website-old/_includes/JB/sort_collection
@@ -0,0 +1,81 @@
+{% capture jbcache %}{% comment %}
+
+ Sort the given array or map.
+
+ Parameters:
+ collection: the array or map to sort [REQUIRED]
+ sort_by: the property to sort by [OPTIONAL]
+ sort_descending: reverse the collection [OPTIONAL]
+
+ Returns:
+ sort_result: the sorted collection
+
+ Examples:
+ <h3>Pages</h3>
+ <ol>
+ {% include JB/sort_collection collection=site.pages sort_by="title" %}
+ {% assign pages_list = sort_result %}
+ {% include JB/pages_list %}
+ </ol>
+
+ <h3>Pages [Reversed]</h3>
+ <ol>
+ {% include JB/sort_collection collection=site.pages sort_by="title" sort_descending=true %}
+ {% assign pages_list = sort_result %}
+ {% include JB/pages_list %}
+ </ol>
+
+ <h3>Array</h3>
+ <ol>
+ {% assign test_array = "one,two,three,four" | split: "," %}
+ {% include JB/sort_collection collection=test_array %}
+ {% for test in sort_result %}
+ <li>{{test}}</li>
+ {% endfor %}
+ </ol>
+
+ <h3>Array [Reversed]</h3>
+ <ol>
+ {% assign test_array = "one,two,three,four" | split: "," %}
+ {% include JB/sort_collection collection=test_array sort_descending=true %}
+ {% for test in sort_result %}
+ <li>{{test}}</li>
+ {% endfor %}
+ </ol>
+
+{% endcomment %}
+
+{% assign is_array = true %}
+{% assign sort_result = "," | split: "," %}
+{% assign collection = include.collection %}
+{% if include.sort_by %}
+ {% assign sort_by = include.sort_by %}
+{% else %}
+ {% assign sort_by = "title" %}
+{% endif %}
+
+{% if collection and collection.size > 0 %}
+ {% for x in collection.first %}
+ {% if x[1].size > 0 %}
+ {% assign is_array = false %}
+ {% endif %}
+ {% break %}
+ {% endfor %}
+
+ {% if is_array == false %}
+ {% assign sort_result = collection | sort: sort_by %}
+ {% else %}
+ {% assign sort_result = collection | sort %}
+ {% endif %}
+
+ {% if include.sort_descending %}
+ {% assign reversed = "," | split: "," %}
+ {% for index in (1..sort_result.size) %}
+ {% assign i = sort_result.size | minus: index %}
+ {% assign reversed = reversed | push: sort_result[i] %}
+ {% endfor %}
+ {% assign sort_result = reversed %}
+ {% assign reversed = nil %}
+ {% endif %}
+
+{% endif %}{% endcapture %}{% assign jbcache = nil %}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/JB/tags_list
----------------------------------------------------------------------
diff --git a/website-old/_includes/JB/tags_list b/website-old/_includes/JB/tags_list
new file mode 100644
index 0000000..8eb62a7
--- /dev/null
+++ b/website-old/_includes/JB/tags_list
@@ -0,0 +1,33 @@
+{% comment %}<!--
+The tags_list include is a listing helper for tags.
+Usage:
+ 1) assign the 'tags_list' variable to a valid array of tags.
+ 2) include JB/tags_list
+ example:
+ <ul>
+ {% assign tags_list = site.tags %}
+ {% include JB/tags_list %}
+ </ul>
+
+ Notes:
+ Tags can be either a Hash of tag objects (hashes) or an Array of tag-names (strings).
+ The encapsulating 'if' statement checks whether tags_list is a Hash or Array.
+ site.tags is a Hash while page.tags is an array.
+
+ This helper can be seen in use at: ../_layouts/default.html
+-->{% endcomment %}
+
+{% if site.JB.tags_list.provider == "custom" %}
+ {% include custom/tags_list %}
+{% else %}
+ {% if tags_list.first[0] == null %}
+ {% for tag in tags_list %}
+ <li><a href="{{ BASE_PATH }}{{ site.JB.tags_path }}#{{ tag }}-ref">{{ tag }} <span>{{ site.tags[tag].size }}</span></a></li>
+ {% endfor %}
+ {% else %}
+ {% for tag in tags_list %}
+ <li><a href="{{ BASE_PATH }}{{ site.JB.tags_path }}#{{ tag[0] }}-ref">{{ tag[0] }} <span>{{ tag[1].size }}</span></a></li>
+ {% endfor %}
+ {% endif %}
+{% endif %}
+{% assign tags_list = nil %}
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout-retro/default.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout-retro/default.html b/website-old/_includes/themes/mahout-retro/default.html
new file mode 100644
index 0000000..4144d5d
--- /dev/null
+++ b/website-old/_includes/themes/mahout-retro/default.html
@@ -0,0 +1,166 @@
+<!DOCTYPE html>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>Apache Mahout: Scalable machine learning and data mining</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta name="Distribution" content="Global">
+ <meta name="Robots" content="index,follow">
+ <meta name="keywords" content="apache, apache hadoop, apache lucene,
+ business data mining, cluster analysis,
+ collaborative filtering, data extraction, data filtering, data framework, data integration,
+ data matching, data mining, data mining algorithms, data mining analysis, data mining data,
+ data mining introduction, data mining software,
+ data mining techniques, data representation, data set, datamining,
+ feature extraction, fuzzy k means, genetic algorithm, hadoop,
+ hierarchical clustering, high dimensional, introduction to data mining, kmeans,
+ knowledge discovery, learning approach, learning approaches, learning methods,
+ learning techniques, lucene, machine learning, machine translation, mahout apache,
+ mahout taste, map reduce hadoop, mining data, mining methods, naive bayes,
+ natural language processing,
+ supervised, text mining, time series data, unsupervised, web data mining">
+ <link rel="shortcut icon" type="image/x-icon" href="https://mahout.apache.org/images/favicon.ico">
+ <!--<script type="text/javascript" src="{{ BASE_PATH}}/js/prototype.js"></script>-->
+ <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.2.0/prototype.js"></script>
+ <script type="text/javascript" src="{{ ASSET_PATH}}/js/effects.js"></script>
+ <script type="text/javascript" src="{{ ASSET_PATH}}/js/search.js"></script>
+ <script type="text/javascript" src="{{ ASSET_PATH}}/js/slides.js"></script>
+
+ <link href="{{ ASSET_PATH }}/css/bootstrap.min.css" rel="stylesheet" media="screen">
+ <link href="{{ ASSET_PATH }}/css/bootstrap-responsive.css" rel="stylesheet">
+ <link rel="stylesheet" href="{{ ASSET_PATH }}/css/global.css" type="text/css">
+
+ <!-- mathJax stuff -- use `\(...\)` for inline style math in markdown -->
+ <script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ tex2jax: {
+ skipTags: ['script', 'noscript', 'style', 'textarea', 'pre']
+ }
+ });
+ MathJax.Hub.Queue(function() {
+ var all = MathJax.Hub.getAllJax(), i;
+ for(i = 0; i < all.length; i += 1) {
+ all[i].SourceElement().parentNode.className += ' has-jax';
+ }
+ });
+ </script>
+ <script type="text/javascript">
+ var mathjax = document.createElement('script');
+ mathjax.type = 'text/javascript';
+ mathjax.async = true;
+
+ mathjax.src = ('https:' == document.location.protocol) ?
+ 'https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' :
+ 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
+
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(mathjax, s);
+ </script>
+</head>
+
+<body id="home" data-twttr-rendered="true">
+ <div id="wrap">
+ <div id="header">
+ <div id="logo"><a href="{{ BASE_PATH }}/"><img src="/assets/img/mahout-logo-brudman.png" alt="Logos for Mahout and Apache Software Foundation" /></a></div>
+ <div id="search">
+ <form id="search-form" action="http://www.google.com/search" method="get" class="navbar-search pull-right">
+ <input value="http://mahout.apache.org" name="sitesearch" type="hidden">
+ <input class="search-query" name="q" id="query" type="text">
+ <input id="submission" type="image" src="/assets/img/mahout-lupe.png" alt="Search" />
+ </form>
+ </div>
+
+ <div class="navbar navbar-inverse" style="position:absolute;top:133px;padding-right:0px;padding-left:0px;">
+ <div class="navbar-inner" style="border: none; background: #999; border: none; border-radius: 0px;">
+ <div class="container">
+ <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <!-- <a class="brand" href="#">Apache Community Development Project</a> -->
+ {% include navbar.html %}
+ </div>
+ </div>
+ </div>
+
+</div>
+
+ <div id="sidebar">
+ <div id="sidebar-wrap">
+ <h2>Twitter</h2>
+ <ul class="sidemenu">
+ <li>
+<a class="twitter-timeline" href="https://twitter.com/ApacheMahout" data-widget-id="422861673444028416">Tweets by @ApacheMahout</a>
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+</li>
+ </ul>
+ <h2>Apache Software Foundation</h2>
+ <ul class="sidemenu">
+ <li><a href="http://www.apache.org/foundation/how-it-works.html">How the ASF works</a></li>
+ <li><a href="http://www.apache.org/foundation/getinvolved.html">Get Involved</a></li>
+ <li><a href="http://www.apache.org/dev/">Developer Resources</a></li>
+ <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
+ <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+ </ul>
+ <h2>Related Projects</h2>
+ <ul class="sidemenu">
+ <li><a href="http://lucene.apache.org/">Apache Lucene</a></li>
+ <li><a href="http://hadoop.apache.org/">Apache Hadoop</a></li>
+ <li><a href="http://bigtop.apache.org/">Apache Bigtop</a></li>
+ <li><a href="http://spark.apache.org/">Apache Spark</a></li>
+ <li><a href="http://flink.apache.org/">Apache Flink</a></li>
+ </ul>
+ </div>
+</div>
+
+ <div id="content-wrap" class="clearfix">
+ <div id="main">
+
+ {{ content }}
+ </div>
+ </div>
+</div>
+ <footer class="footer" align="center">
+ <div class="container">
+ <p>
+ Copyright © 2014-2016 The Apache Software Foundation, Licensed under
+ the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+ <br />
+ Apache Mahout, Mahout, Apache, the Apache feather logo, and the elephant rider logo are either registered trademarks or trademarks of <a href="http://www.apache.org/foundation/marks/">The Apache Software Foundation</a> in the United States and other countries.
+ </p>
+ </div>
+ </footer>
+
+ <script src="{{ ASSET_PATH}}/js/jquery-1.9.1.min.js"></script>
+ <script src="{{ ASSET_PATH}}/js/bootstrap.min.js"></script>
+ <script>
+ (function() {
+ var cx = '012254517474945470291:vhsfv7eokdc';
+ var gcse = document.createElement('script');
+ gcse.type = 'text/javascript';
+ gcse.async = true;
+ gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
+ '//www.google.com/cse/cse.js?cx=' + cx;
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(gcse, s);
+ })();
+ </script>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout-retro/page.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout-retro/page.html b/website-old/_includes/themes/mahout-retro/page.html
new file mode 100755
index 0000000..e981ad9
--- /dev/null
+++ b/website-old/_includes/themes/mahout-retro/page.html
@@ -0,0 +1,9 @@
+<div class="page-header">
+ <h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
+</div>
+
+<div class="row">
+ <div class="col-xs-12">
+ {{ content }}
+ </div>
+</div>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout-retro/post.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout-retro/post.html b/website-old/_includes/themes/mahout-retro/post.html
new file mode 100644
index 0000000..0de6bcc
--- /dev/null
+++ b/website-old/_includes/themes/mahout-retro/post.html
@@ -0,0 +1,9 @@
+<div class="page-header">
+ <h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
+</div>
+
+<div class="row">
+ <div class="col-xs-12">
+ {{ content }}
+ </div>
+</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout-retro/settings.yml
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout-retro/settings.yml b/website-old/_includes/themes/mahout-retro/settings.yml
new file mode 100644
index 0000000..6b1babc
--- /dev/null
+++ b/website-old/_includes/themes/mahout-retro/settings.yml
@@ -0,0 +1,2 @@
+theme :
+ name : mahout-retro
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout/body-old.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout/body-old.html b/website-old/_includes/themes/mahout/body-old.html
new file mode 100644
index 0000000..272e483
--- /dev/null
+++ b/website-old/_includes/themes/mahout/body-old.html
@@ -0,0 +1,22 @@
+ <nav class="navbar navbar-inverse navbar-fixed-top">
+ <div class="container-fluid">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="/"><i class="fa fa-heart"></i> {{ site.data.global.title }}</a>
+ </div>
+ <div id="navbar" class="navbar-collapse collapse">
+ <ul class="nav navbar-nav navbar-right">
+ {% for item in site.data.nav.main %}
+ <li>
+ <a href="{{ item.url }}">{{ item.text }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ </div>
+ </div>
+ </nav>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout/default.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout/default.html b/website-old/_includes/themes/mahout/default.html
new file mode 100644
index 0000000..529badf
--- /dev/null
+++ b/website-old/_includes/themes/mahout/default.html
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+
+ <title>{{ page.title }}</title>
+ {% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
+ <meta name="author" content="{{ site.author.name }}">
+
+ <!-- Enable responsive viewport -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <!-- Bootstrap styles -->
+ <link href="{{ ASSET_PATH }}/bootstrap/css/bootstrap.css" rel="stylesheet">
+ <!-- Optional theme -->
+ <link href="{{ ASSET_PATH }}/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
+ <!-- Sticky Footer -->
+ <link href="{{ ASSET_PATH }}/bootstrap/css/bs-sticky-footer.css" rel="stylesheet">
+
+ <!-- Custom styles -->
+ <link href="{{ ASSET_PATH }}/css/style.css?body=1" rel="stylesheet" type="text/css" media="all">
+
+ <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+ <!-- Fav and touch icons -->
+ <!-- Update these with your own images
+ <link rel="shortcut icon" href="images/favicon.ico">
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+ -->
+
+ <!-- atom & rss feed -->
+ <link href="{{ BASE_PATH }}{{ site.JB.atom_path }}" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed">
+ <link href="{{ BASE_PATH }}{{ site.JB.rss_path }}" type="application/rss+xml" rel="alternate" title="Sitewide RSS Feed">
+
+ </head>
+
+ <body>
+ {% include themes/mahout/navbar_main.html %}
+
+ <div class="container">
+ {{ content }}
+ </div>
+
+ </div>
+
+ <div id="footer">
+ <div class="container">
+ <p>© {{ site.time | date: '%Y' }} {{ site.author.name }}
+ with help from <a href="http://jekyllbootstrap.com" target="_blank" title="The Definitive Jekyll Blogging Framework">Jekyll Bootstrap</a>
+ and <a href="http://getbootstrap.com" target="_blank">Bootstrap</a>
+ </p>
+ </div>
+ </div>
+
+ {% include JB/analytics %}
+
+
+ <!-- Latest compiled and minified JavaScript, requires jQuery 1.x (2.x not supported in IE8) -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
+ <script src="{{ ASSET_PATH }}/bootstrap/js/bootstrap.min.js"></script>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout/footer.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout/footer.html b/website-old/_includes/themes/mahout/footer.html
new file mode 100644
index 0000000..1d1c904
--- /dev/null
+++ b/website-old/_includes/themes/mahout/footer.html
@@ -0,0 +1,13 @@
+
+ <footer class="site-footer">
+ <div class="container">
+ <div class="row">
+ <div class="col-md-12">
+ <p class="text-muted">{{ site.data.global.footer_text }}</p>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout/header.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout/header.html b/website-old/_includes/themes/mahout/header.html
new file mode 100644
index 0000000..0c29215
--- /dev/null
+++ b/website-old/_includes/themes/mahout/header.html
@@ -0,0 +1,75 @@
+<!doctype html>
+<!--[if lt IE 7 ]><html itemscope itemtype="http://schema.org/{% if page.id or post.id %}Article{% else %}Organization{% endif %}" id="ie6" class="ie ie-old" lang="en-US"><![endif]-->
+<!--[if IE 7 ]> <html itemscope itemtype="http://schema.org/{% if page.id or post.id %}Article{% else %}Organization{% endif %}" id="ie7" class="ie ie-old" lang="en-US"><![endif]-->
+<!--[if IE 8 ]> <html itemscope itemtype="http://schema.org/{% if page.id or post.id %}Article{% else %}Organization{% endif %}" id="ie8" class="ie ie-old" lang="en-US"><![endif]-->
+<!--[if IE 9 ]> <html itemscope itemtype="http://schema.org/{% if page.id or post.id %}Article{% else %}Organization{% endif %}" id="ie9" class="ie" lang="en-US"><![endif]-->
+<!--[if gt IE 9]><!--><html itemscope itemtype="http://schema.org/{% if page.id or post.id %}Article{% else %}Organization{% endif %}" lang="en-US"><!--<![endif]-->
+<head>
+ <meta name="author" content="The Apache Software Foundation">
+
+ <!-- Enable responsive viewport -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <!-- Le styles -->
+ <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
+ <link href="https://fonts.googleapis.com/icon?family=Material+Icons">
+ <link href="/assets/themes/mahout/bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="/assets/themes/mahout/css/style.css?body=1" rel="stylesheet" type="text/css">
+ <link href="/assets/themes/mahout/css/syntax.css" rel="stylesheet" type="text/css" media="screen" />
+
+<!--
+ <link href="/assets/themes/mahout/css/main.css" rel="stylesheet" type="text/css" media="screen" />
+ <link href="/assets/themes/mahout/css/global.css" rel="stylesheet" type="text/css" media="screen" />
+ <link href="/assets/themes/mahout/css/global__.css" rel="stylesheet" type="text/css" media="screen" />
+-->
+ <!-- Le fav and touch icons -->
+ <!-- Update these with your own images
+ <link rel="shortcut icon" href="images/favicon.ico">
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+ -->
+
+ <!-- Js -->
+ <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
+ <script src="/assets/themes/mahout/bootstrap/js/bootstrap.min.js"></script>
+<script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ tex2jax: {
+ skipTags: ['script', 'noscript', 'style', 'textarea', 'pre']
+ }
+ });
+ MathJax.Hub.Queue(function() {
+ var all = MathJax.Hub.getAllJax(), i;
+ for(i = 0; i < all.length; i += 1) {
+ all[i].SourceElement().parentNode.className += ' has-jax';
+ }
+ });
+ </script>
+ <script type="text/javascript">
+ var mathjax = document.createElement('script');
+ mathjax.type = 'text/javascript';
+ mathjax.async = true;
+
+ mathjax.src = ('https:' == document.location.protocol) ?
+ 'https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' :
+ 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
+
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(mathjax, s);
+ </script>
+
+
+ <!-- atom & rss feed -->
+ <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed">
+ <link href="/rss.xml" type="application/rss+xml" rel="alternate" title="Sitewide RSS Feed">
+
+
+</head>
+
+
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout/homepage.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout/homepage.html b/website-old/_includes/themes/mahout/homepage.html
new file mode 100644
index 0000000..0f18c15
--- /dev/null
+++ b/website-old/_includes/themes/mahout/homepage.html
@@ -0,0 +1,160 @@
+
+<div class="jumbotron">
+ <div class="container">
+ <h1>Apache Mahout - DRAFT </h1>
+ <p>A distributed linear algebra framework that runs on Spark, Flink, GPU's and more!<br/>
+ Use Mahout's library of machine learning algorithms or roll your own! Use Mahout-Samsara to write matrix
+ algebra using R like syntax. Check out our tutorials and quick start guide to get rolling.
+ </p>
+ <div class="border row">
+ <div class="col-md-12 col-sm-12 col-xs-12 text-center newBtn">
+ <a href="http://youtube.com" target="_mahoutVideo" class="btn btn-primary btn-lg bigFingerButton" role="button">Tutorial Video</a>
+ <!-- is this supposed to be a link that works or is it an artifact?? ^^ -->
+ <a href="https://github.com/apache/mahout" class="btn btn-primary btn-lg bigFingerButton" role="button">GET LATEST MAHOUT</a>
+ </div>
+ </div>
+ </div>
+</div>
+
+<!-- 3 wide column -->
+
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+
+
+<div class="new">
+ <div class="container">
+ <h2>Latest Release</h2>
+ <span class="newMahout center-block">Apache Mahout 0.13.0</span>
+ <div class="border row">
+ <div class="border col-md-4 col-sm-4">
+ <h4>Simple and <br/>Extensible</h4>
+ <div class="viz">
+ <p>
+ Build your own algorithms using Mahouts R like interface. See an example in this
+ <a href="" target="_blank">demo</a>
+ </p>
+ </div>
+ </div>
+ <div class="border col-md-4 col-sm-4">
+ <h4>Support for Multiple <br/>Distributed Backends</h4>
+ <div class="multi">
+ <p>
+ Custom bindings for Spark, Flink, and H20 enable a write once run anywhere machine learning platform
+ <a class="thumbnail text-center" href="#thumb">
+ <a href="https://github.com/apache/mahout" class="btn btn-primary btn-lg bigFingerButton" role="button">See more in this DEMO. (not working)</a>
+ </a>
+ </p>
+ </div>
+ </div>
+ <div class="border col-md-4 col-sm-4">
+ <h4>Introducing Samsara an R<br/> dsl for writing ML algos</h4>
+ <div class="personal">
+ <p>
+ Use this capability to write algorithms at scale, that will run on any backend
+ </p>
+ </div>
+ </div>
+ </div>
+ <div class="border row">
+ <div class="border col-md-4 col-sm-4">
+ <h4>Support for GPUs</h4>
+ <p>
+ Distributed GPU Matrix-Matrix and Matrix-Vector multiplication on Spark along with sparse and dense matrix GPU-backed support.
+ </p>
+ </div>
+ <div class="border col-md-4 col-sm-4">
+ <h4>Extensible Algorithms Framework</h4>
+ <p>
+ A new scikit-learn-like framework for algorithms with the goal for
+ creating a consistent API for various machine-learning algorithms
+ </p>
+ </div>
+ <div class="border col-md-4 col-sm-4">
+ <h4>0.13.1 - Future Plans</h4>
+ <p>
+ Further Native Integration
+ * JCuda backing for In-core Matrices and CUDA solvers
+ * GPU/OpenMP Acceleration for linear solvers
+ * Scala 2.11 Support
+ * Spark 2.x Support
+ </p>
+ </div>
+ </div>
+ <div class="col-md-12 col-sm-12 col-xs-12 text-center">
+ <p style="text-align:center; margin-top: 32px; font-size: 14px; color: gray; font-weight: 200; font-style: italic; padding-bottom: 0;">See more details in
+ <a href="tbd">0.13.0 Release Note</a>
+ </p>
+ </div>
+ </div>
+</div>
+
+ <!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+
+
+ <div class="container">
+ <div class="row">
+ <div class="col-md-12">
+
+
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ {% for post in paginator.posts %}
+ {% include tile.html %}
+ {% endfor %}
+
+
+
+ </div>
+ </div>
+ </div>
+
+
+
+<div class="new">
+ <div class="container">
+ <h2>Mahout on Twitter</h2>
+ <br/>
+ <div class="row">
+ <div class="col-md-12 col-sm-12 col-xs-12 text-center">
+ <div class='jekyll-twitter-plugin'><a class="twitter-timeline" data-width="500" data-tweet-limit="4" data-chrome="nofooter" href="https://twitter.com/ApacheMahout">Tweets by ApacheMahout</a>
+<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script></div>
+ </div>
+ <div class="col-md-12 col-sm-12 col-xs-12 text-center twitterBtn">
+ <p style="text-align:center; margin-top: 32px; font-size: 12px; color: gray; font-weight: 200; font-style: italic; padding-bottom: 0;">See more tweets or</p>
+ <a href="https://twitter.com/ApacheMahout" target="_blank" class="btn btn-primary btn-lg round" role="button">
+ Follow Mahout on
+ <i class="fa fa-twitter fa-lg" aria-hidden="true"></i>
+ </a>
+ </div>
+ </div>
+ </div>
+ <hr>
+</div>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout/navbar_main.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout/navbar_main.html b/website-old/_includes/themes/mahout/navbar_main.html
new file mode 100644
index 0000000..409d1e9
--- /dev/null
+++ b/website-old/_includes/themes/mahout/navbar_main.html
@@ -0,0 +1,69 @@
+<body class="{{ post.title | downcase | replace:' ','-' | replace:',','' | strip_html }}{% if page.category %} category-{{ page.category }}{% endif %}{% if page.layout-class %} layout-{{ page.layout-class }}{% endif %}">
+
+ <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="/">
+ <img src="/assets/themes/mahout/img/mahout-logo.png" width="75" alt="I'm mahout">
+ Apache Mahout
+ </a>
+ </div>
+ <nav class="navbar-collapse collapse" role="navigation">
+ <ul class="nav navbar-nav navbar-right">
+
+ <li id="community">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="/developers/how-to-contribute.html">How to Contribute</a></li>
+ <li><a href="/issue-tracker">Issues Tracking (JIRA)</a></li>
+ <li><a href="/developers">Developers</a></li>
+ <li><a href="/mailing-lists">Mailing Lists</a></li>
+ <li><a href="/reference">References</a></li>
+ </ul>
+ </li>
+
+ <!-- Download -->
+ <li id="download">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Download<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="https://github.com/apache/mahout">Download Mahout</a></li>
+ </ul>
+ </li>
+
+ <!-- Docs -->
+ <li id="docs">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Docs<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><span><b>Release</b><span></li>
+ <li><a href="/docs/0.13.0/quickstart">0.13.0</a></li>
+ <li><a href="/tbd">Older Versions</a></li>
+ <li role="separator" class="divider"></li>
+ <li><span><b>Snapshot</b> (development)<span></li>
+ <li><a href="/docs/0.13.1-SNAPSHOT">0.13.1-SNAPSHOT</a></li>
+ </ul>
+ </li>
+
+ <li><a href="/docs/0.13.0/quickstart">QuickStart</a></li>
+ <li><a href="https://github.com/apache/mahout">GitHub</a></li>
+
+ <!-- Apache -->
+ <li id="apache">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="http://www.apache.org/foundation/how-it-works.html">Apache Software Foundation</a></li>
+ <li><a href="http://www.apache.org/licenses/">Apache License</a></li>
+ <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
+ <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+ </ul>
+ </li>
+ </ul>
+ </nav><!--/.navbar-collapse -->
+ </div>
+ </div>
+
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout/page.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout/page.html b/website-old/_includes/themes/mahout/page.html
new file mode 100644
index 0000000..e981ad9
--- /dev/null
+++ b/website-old/_includes/themes/mahout/page.html
@@ -0,0 +1,9 @@
+<div class="page-header">
+ <h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
+</div>
+
+<div class="row">
+ <div class="col-xs-12">
+ {{ content }}
+ </div>
+</div>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout/pagination.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout/pagination.html b/website-old/_includes/themes/mahout/pagination.html
new file mode 100644
index 0000000..fcccc8d
--- /dev/null
+++ b/website-old/_includes/themes/mahout/pagination.html
@@ -0,0 +1,35 @@
+<nav class="pagination-wrap">
+ <ul class="pagination">
+ {% if paginator.previous_page %}
+ <li>
+ <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" aria-label="Previous">
+ <span aria-hidden="true">«</span>
+ </a>
+ </li>
+ {% endif %}
+
+ {% for page in (1..paginator.total_pages) %}
+ {% if page == paginator.page %}
+ <li class="active">
+ <a href="#">{{ page }}</a>
+ </li>
+ {% elsif page == 1 %}
+ <li>
+ <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
+ </li>
+ {% else %}
+ <li>
+ <a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
+ </li>
+ {% endif %}
+ {% endfor %}
+
+ {% if paginator.next_page %}
+ <li>
+ <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" aria-label="Next">
+ <span aria-hidden="true">»</span>
+ </a>
+ </li>
+ {% endif %}
+ </ul>
+</nav>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout/post.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout/post.html b/website-old/_includes/themes/mahout/post.html
new file mode 100644
index 0000000..85cc0f4
--- /dev/null
+++ b/website-old/_includes/themes/mahout/post.html
@@ -0,0 +1,47 @@
+<div class="page-header">
+ <h1>{{ page.title }} {% if page.tagline %}<small>{{page.tagline}}</small>{% endif %}</h1>
+</div>
+
+<div class="row post-full">
+ <div class="col-xs-12">
+ <div class="date">
+ <span>{{ page.date | date_to_long_string }}</span>
+ </div>
+ <div class="content">
+ {{ content }}
+ </div>
+
+ {% unless page.categories == empty %}
+ <ul class="tag_box inline">
+ <li><i class="glyphicon glyphicon-open"></i></li>
+ {% assign categories_list = page.categories %}
+ {% include JB/categories_list %}
+ </ul>
+ {% endunless %}
+
+ {% unless page.tags == empty %}
+ <ul class="tag_box inline">
+ <li><i class="glyphicon glyphicon-tags"></i></li>
+ {% assign tags_list = page.tags %}
+ {% include JB/tags_list %}
+ </ul>
+ {% endunless %}
+
+ <hr>
+ <ul class="pagination">
+ {% if page.previous %}
+ <li class="prev"><a href="{{ BASE_PATH }}{{ page.previous.url }}" title="{{ page.previous.title }}">« Previous</a></li>
+ {% else %}
+ <li class="prev disabled"><a>← Previous</a></li>
+ {% endif %}
+ <li><a href="{{ BASE_PATH }}{{ site.JB.archive_path }}">Archive</a></li>
+ {% if page.next %}
+ <li class="next"><a href="{{ BASE_PATH }}{{ page.next.url }}" title="{{ page.next.title }}">Next »</a></li>
+ {% else %}
+ <li class="next disabled"><a>Next →</a>
+ {% endif %}
+ </ul>
+ <hr>
+ {% include JB/comments %}
+ </div>
+</div>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout/settings.yml
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout/settings.yml b/website-old/_includes/themes/mahout/settings.yml
new file mode 100644
index 0000000..7bf9f32
--- /dev/null
+++ b/website-old/_includes/themes/mahout/settings.yml
@@ -0,0 +1,2 @@
+theme :
+ name : mahout
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout/tile.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout/tile.html b/website-old/_includes/themes/mahout/tile.html
new file mode 100644
index 0000000..4c943c2
--- /dev/null
+++ b/website-old/_includes/themes/mahout/tile.html
@@ -0,0 +1,36 @@
+<div class="tile">
+ {% if post.featured_image or post.featured_video_id %}
+ <a href="{{ post.url | prepend: site.baseurl }}" class="featurette">
+ {% if post.featured_image %}
+ <!--<span class="img" style="background-image: url('{{ post.featured_image }}');"></span> -->
+ <span class="img" style="background-image"><img src= '{{ post.mh_featured_image }}'></span>
+
+ {% endif %}
+
+ {% if post.featured_video_id %}
+ <iframe src="https://www.youtube.com/embed/{{ post.featured_video_id }}" frameborder="0" allowfullscreen></iframe>
+ {% endif %}
+ </a>
+ {% endif %}
+ <div class="inner-guts">
+ <h2><a href="{{ post.mh_featured_url }}">{{ post.title }}</a></h2>
+ <aside>
+ {{ post.date | date: "%m.%d.%y" }}
+ {% if post.categories != empty %}
+ ·
+ {% for category in post.categories %}
+ <span>{{ category }}</span>
+ {% endfor %}
+ {% endif %}
+ </aside>
+ <div class="excerpt">{{ post.excerpt }}</div>
+ <a href="{{ post.mh_featured_url }}" class="read-more btn btn-info btn-lg">Read More <i class="fa fa-angle-right"></i></a>
+ {% if post.categories != empty %}
+ <div class="tags">
+ {% for tag in post.tags %}
+ <span>{{ tag }}</span>
+ {% endfor %}
+ </div>
+ {% endif %}
+ </div>
+</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout/title-group.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout/title-group.html b/website-old/_includes/themes/mahout/title-group.html
new file mode 100644
index 0000000..3daca36
--- /dev/null
+++ b/website-old/_includes/themes/mahout/title-group.html
@@ -0,0 +1,43 @@
+{% if page.featured_image or page.featured_video_id %}
+ <div class="topper">
+ {% if page.featured_image %}
+ <span class="img" style="background-image: url('{{ page.featured_image }}');">
+ {% endif %}
+
+ {% if page.featured_video_id %}
+ <iframe src="https://www.youtube.com/embed/{{ page.featured_video_id }}" frameborder="0" allowfullscreen></iframe>
+ {% endif %}
+ </div>
+{% endif %}
+
+<div class="title-group">
+ <h1 class="special">
+ <span>
+ {% if page.title %}
+ {{ page.title }}
+ {% else %}
+ {{ site.data.global.title }}
+ {% endif %}
+ </span>
+ </h1>
+ {% if page.id %}
+ <aside>
+ {{ page.date | date: "%m.%d.%y" }}
+ {% if page.categories != empty %}
+ ·
+ {% for category in page.categories %}
+ <span>{{ category }}</span>
+ {% endfor %}
+ {% endif %}
+ </aside>
+ {% endif %}
+ <p class="lead">
+ {% if page.lead_text %}
+ {{ page.lead_text }}
+ {% elsif post.lead_text %}
+ {{ post.lead_text }}
+ {% else %}
+ {{ site.data.global.description }}
+ {% endif %}
+ </p>
+</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout2/default.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout2/default.html b/website-old/_includes/themes/mahout2/default.html
new file mode 100644
index 0000000..b21b9d8
--- /dev/null
+++ b/website-old/_includes/themes/mahout2/default.html
@@ -0,0 +1,115 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+
+ <title>{{ page.title }}</title>
+ {% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
+ <meta name="author" content="{{ site.author.name }}">
+
+ <!-- Enable responsive viewport -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <!-- Bootstrap styles -->
+ <link href="{{ ASSET_PATH }}/css/bootstrap.min.css" rel="stylesheet">
+ <!-- Optional theme -->
+ <link href="{{ ASSET_PATH }}/css/bootstrap-theme.min.css" rel="stylesheet">
+ <!-- Sticky Footer -->
+ <link href="{{ ASSET_PATH }}/css/bs-sticky-footer.css" rel="stylesheet">
+
+ <!-- Custom styles -->
+ <link href="{{ ASSET_PATH }}/css/style.css" rel="stylesheet" type="text/css" media="all">
+
+ <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+ <!-- Fav and touch icons -->
+ <!-- Update these with your own images
+ <link rel="shortcut icon" href="images/favicon.ico">
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+ -->
+
+ <!-- atom & rss feed -->
+ <link href="{{ BASE_PATH }}{{ site.JB.atom_path }}" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed">
+ <link href="{{ BASE_PATH }}{{ site.JB.rss_path }}" type="application/rss+xml" rel="alternate" title="Sitewide RSS Feed">
+ <script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ tex2jax: {
+ skipTags: ['script', 'noscript', 'style', 'textarea', 'pre']
+ }
+ });
+ MathJax.Hub.Queue(function() {
+ var all = MathJax.Hub.getAllJax(), i;
+ for(i = 0; i < all.length; i += 1) {
+ all[i].SourceElement().parentNode.className += ' has-jax';
+ }
+ });
+ </script>
+ <script type="text/javascript">
+ var mathjax = document.createElement('script');
+ mathjax.type = 'text/javascript';
+ mathjax.async = true;
+
+ mathjax.src = ('https:' == document.location.protocol) ?
+ 'https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' :
+ 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
+
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(mathjax, s);
+ </script>
+</head>
+
+<body>
+
+<div id="wrap">
+ <body class="{{ post.title | downcase | replace:' ','-' | replace:',','' | strip_html }}{% if page.category %} category-{{ page.category }}{% endif %}{% if page.layout-class %} layout-{{ page.layout-class }}{% endif %}">
+ <nav class="navbar navbar-default">
+ <div class="container-fluid">
+ <!-- Brand and toggle get grouped for better mobile display -->
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="/">
+ <img src="{{ BASE_PATH }}/assets/img/Mahout-logo-82x100.png" height="30" alt="I'm mahout">
+ </a>
+ </div>
+
+ {% include navbar.html %}
+ </div><!-- /.container-fluid -->
+ </nav>
+ <div class="container">
+ {{ content }}
+ </div>
+
+
+</div>
+
+<div id="footer">
+ <div class="container">
+ <p>© {{ site.time | date: '%Y' }} {{ site.author.name }}
+ with help from <a href="http://jekyllbootstrap.com" target="_blank" title="The Definitive Jekyll Blogging Framework">Jekyll Bootstrap</a>
+ and <a href="http://getbootstrap.com" target="_blank">Bootstrap</a>
+ </p>
+ </div>
+</div>
+
+{% include JB/analytics %}
+
+
+<!-- Latest compiled and minified JavaScript, requires jQuery 1.x (2.x not supported in IE8) -->
+<!-- Placed at the end of the document so the pages load faster -->
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
+<script src="{{ ASSET_PATH }}/js/bootstrap.min.js"></script>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout2/page.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout2/page.html b/website-old/_includes/themes/mahout2/page.html
new file mode 100755
index 0000000..e981ad9
--- /dev/null
+++ b/website-old/_includes/themes/mahout2/page.html
@@ -0,0 +1,9 @@
+<div class="page-header">
+ <h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
+</div>
+
+<div class="row">
+ <div class="col-xs-12">
+ {{ content }}
+ </div>
+</div>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout2/post.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout2/post.html b/website-old/_includes/themes/mahout2/post.html
new file mode 100644
index 0000000..0de6bcc
--- /dev/null
+++ b/website-old/_includes/themes/mahout2/post.html
@@ -0,0 +1,9 @@
+<div class="page-header">
+ <h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
+</div>
+
+<div class="row">
+ <div class="col-xs-12">
+ {{ content }}
+ </div>
+</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout2/settings.yml
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout2/settings.yml b/website-old/_includes/themes/mahout2/settings.yml
new file mode 100644
index 0000000..615b135
--- /dev/null
+++ b/website-old/_includes/themes/mahout2/settings.yml
@@ -0,0 +1,2 @@
+theme :
+ name : mahout2
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout3/algorithm.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout3/algorithm.html b/website-old/_includes/themes/mahout3/algorithm.html
new file mode 100644
index 0000000..1ffdf8c
--- /dev/null
+++ b/website-old/_includes/themes/mahout3/algorithm.html
@@ -0,0 +1,13 @@
+
+<div class="row">
+ <div class="col-md-3">
+ {% include algo_navbar.html %}
+ </div>
+
+ <div class="col-md-8">
+ <div class="page-header">
+ <h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
+ </div>
+ {{ content }}
+ </div>
+</div>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout3/default.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout3/default.html b/website-old/_includes/themes/mahout3/default.html
new file mode 100644
index 0000000..ddd76c7
--- /dev/null
+++ b/website-old/_includes/themes/mahout3/default.html
@@ -0,0 +1,117 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+
+ <title>{{ page.title }}</title>
+ {% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
+ <meta name="author" content="{{ site.author.name }}">
+
+ <!-- Enable responsive viewport -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <!-- Bootstrap styles -->
+ <link href="{{ ASSET_PATH }}/css/bootstrap.min.css" rel="stylesheet">
+ <!-- Optional theme -->
+ <link href="{{ ASSET_PATH }}/css/bootstrap-theme.min.css" rel="stylesheet">
+ <!-- Sticky Footer -->
+ <link href="{{ ASSET_PATH }}/css/bs-sticky-footer.css" rel="stylesheet">
+
+ <!-- Custom styles -->
+ <link href="{{ ASSET_PATH }}/css/style.css" rel="stylesheet" type="text/css" media="all">
+
+ <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <![endif]-->
+
+ <!-- Fav and touch icons -->
+ <!-- Update these with your own images
+ <link rel="shortcut icon" href="images/favicon.ico">
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+ -->
+
+ <!-- atom & rss feed -->
+ <link href="{{ BASE_PATH }}{{ site.JB.atom_path }}" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed">
+ <link href="{{ BASE_PATH }}{{ site.JB.rss_path }}" type="application/rss+xml" rel="alternate" title="Sitewide RSS Feed">
+ <script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ tex2jax: {
+ skipTags: ['script', 'noscript', 'style', 'textarea', 'pre']
+ }
+ });
+ MathJax.Hub.Queue(function() {
+ var all = MathJax.Hub.getAllJax(), i;
+ for(i = 0; i < all.length; i += 1) {
+ all[i].SourceElement().parentNode.className += ' has-jax';
+ }
+ });
+ </script>
+ <script type="text/javascript">
+ var mathjax = document.createElement('script');
+ mathjax.type = 'text/javascript';
+ mathjax.async = true;
+
+ mathjax.src = ('https:' == document.location.protocol) ?
+ 'https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' :
+ 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
+
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(mathjax, s);
+ </script>
+</head>
+
+<nav class="navbar navbar-default navbar-fixed-top">
+ <div class="container-fluid">
+ <!-- Brand and toggle get grouped for better mobile display -->
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="/">
+ <img src="{{ BASE_PATH }}/assets/img/Mahout-logo-82x100.png" height="30" alt="I'm mahout">
+ </a>
+ </div>
+
+ {% include navbar.html %}
+ </div><!-- /.container-fluid -->
+</nav>
+
+<body>
+
+<div id="wrap">
+ <body class="{{ post.title | downcase | replace:' ','-' | replace:',','' | strip_html }}{% if page.category %} category-{{ page.category }}{% endif %}{% if page.layout-class %} layout-{{ page.layout-class }}{% endif %}">
+
+ <div class="container">
+ {{ content }}
+ </div>
+
+
+</div>
+
+<div id="footer">
+ <div class="container">
+ <p>© {{ site.time | date: '%Y' }} {{ site.author.name }}
+ with help from <a href="http://jekyllbootstrap.com" target="_blank" title="The Definitive Jekyll Blogging Framework">Jekyll Bootstrap</a>
+ and <a href="http://getbootstrap.com" target="_blank">Bootstrap</a>
+ </p>
+ </div>
+</div>
+
+{% include JB/analytics %}
+
+
+<!-- Latest compiled and minified JavaScript, requires jQuery 1.x (2.x not supported in IE8) -->
+<!-- Placed at the end of the document so the pages load faster -->
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
+<script src="{{ ASSET_PATH }}/js/bootstrap.min.js"></script>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/mahout/blob/ec5eb314/website-old/_includes/themes/mahout3/mr_algorithm.html
----------------------------------------------------------------------
diff --git a/website-old/_includes/themes/mahout3/mr_algorithm.html b/website-old/_includes/themes/mahout3/mr_algorithm.html
new file mode 100644
index 0000000..7a01d04
--- /dev/null
+++ b/website-old/_includes/themes/mahout3/mr_algorithm.html
@@ -0,0 +1,13 @@
+
+<div class="row">
+ <div class="col-xs-3">
+ {% include mr_algo_navbar.html %}
+ </div>
+
+ <div class="col-xs-8">
+ <div class="page-header">
+ <h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
+ </div>
+ {{ content }}
+ </div>
+</div>