Permalink
Browse files

Fixes to streamline the website.

  • Loading branch information...
1 parent c05444f commit c7bd9418d3d6938bba5356e63bd984175bd4f7c3 @jsuereth jsuereth committed Jan 29, 2012
@@ -11,11 +11,14 @@
applyH();
$('#features a, .st').click(function(e){
- e.preventDefault();
var h = $(this).attr('href');
- $(h).ScrollTo({
- callback:function(){ window.location.hash = h;}
- });
+ if(h && h[0] && h[0] == '#') {
+ e.preventDefault();
+
+ $(h).ScrollTo({
+ callback:function(){ window.location.hash = h;}
+ });
+ }
});
});})(jQuery);
</script>
@@ -5,12 +5,9 @@
<div class="container">
<a class="brand" href="/">SBT</a>
<ul class="nav">
- <li><a href="/community-plugins.html">Community Plugins</a></li>
- <li><a href="/talks.html">Talks</a></li>
- <li><a target="_blank" href="http://github.com/harrah/xsbt">Source</a></li>
- <li><a target="_blank" href="http://groups.google.com/group/simple-build-tool/topics">Community</a></li>
- <li><a target="_blank" href="http://github.com/harrah/xsbt/wiki">Documentation</a></li>
- <li><a target="_blank" href="https://github.com/harrah/xsbt#readme">Contribute</a></li>
+ <li><a href="learn.html">Learn</a>
+ <li><a href="download.html">Download</a>
+ <li><a href="community.html">Community</a></li>
<li><a href="#top">Top</a></li>
</ul>
</div>
@@ -20,13 +20,25 @@
<ul class="left">
{% for link in page.toplinks %}
{% capture x %}{% cycle 'odd', 'even' %}{% endcapture %}
- {% if x == 'odd' %}<li><a href="#{{link.id}}">{{link.name}}</a></li>{% endif %}
+ {% if x == 'odd' %}
+ {% if link.link %}
+ <li><a href="{{link.link}}">{{link.name}}</a></li>
+ {% else %}
+ <li><a href="#{{link.id}}">{{link.name}}</a></li>
+ {% endif %}
+ {% endif %}
{% endfor %}
</ul>
<ul class="left">
{% for link in page.toplinks %}
{% capture x %}{% cycle 'odd2', 'even2' %}{% endcapture %}
- {% if x == 'even2' %}<li><a href="#{{link.id}}">{{link.name}}</a></li>{% endif %}
+ {% if x == 'even2' %}
+ {% if link.link %}
+ <li><a href="{{link.link}}">{{link.name}}</a></li>
+ {% else %}
+ <li><a href="#{{link.id}}">{{link.name}}</a></li>
+ {% endif %}
+ {% endif %}
{% endfor %}
</ul>
</div>
@@ -39,7 +51,9 @@
<div id="extra">
<ul id="examples">
{% for link in page.toplinks %}{% if link.content %}
- <li id="{{link.id}}" class="feature contained">{{ link.content | markdownify }}</li>
+ {% if link.content %}
+ <li id="{{link.id}}" class="feature contained">{{ link.content | markdownify }}</li>
+ {% endif %}
{% endif %}{% endfor %}
</ul>
</div>
@@ -2,9 +2,11 @@
layout: default
title: Community Plugins
tagline: ensuring everything is possible.
-description: 'The [SBT Organization](http://github.com/sbt) contains a [SBT Community Plugins](http://github.com/sbt/sbt-community-plugins) project. This project aims to unify all the SBT plugins in the community and ensure their compatibility and timely releases with new versions of SBT.'
-toplinks: #Links at the top.
+description: 'The [SBT Organization](http://github.com/sbt) contains a [SBT Community Plugins](http://github.com/sbt/sbt-community-plugins) project. This project aims to unify all the SBT plugins in the community and ensure their compatibility and timely releases with new versions of SBT. There is also a [list of plugins](https://github.com/harrah/xsbt/wiki/sbt-0.10-plugins-list) that is up-to-date.'
+toplinks:
+ - name: 'Available Plugins'
+ link: 'plugins.html'
- name: 'Community Ivy repository'
id: 'communityrepo'
content: |
View
@@ -0,0 +1,14 @@
+---
+layout: default
+title: Community
+tagline: Amazing People, including you
+description: |
+ A wonderful, highly engaged community that you can talk to and be a part of.
+toplinks:
+ - name: 'Mailing List'
+ link: 'http://groups.google.com/group/simple-build-tool/topics'
+ - name: 'Community Plugins'
+ link: 'community-plugins.html'
+ - name: 'Source Code'
+ link: 'http://github.com/harrah/xsbt'
+---
View
@@ -0,0 +1,17 @@
+---
+layout: default
+title: Learning SBT
+tagline: From Basics to Wizardry
+description: |
+ We highly recommend trying the [Getting Started Guide](https://github.com/harrah/xsbt/wiki/Getting-Started-Welcome)
+ before diving into sbt. There is also a lot of great introductory [talks](talks.html) available for your viewing pleasure.
+toplinks:
+ - name: 'Getting Started Guide'
+ link: 'https://github.com/harrah/xsbt/wiki/Getting-Started-Welcome'
+ - name: 'Talks'
+ link: 'talks.html'
+ - name: 'Wiki'
+ link: 'https://github.com/harrah/xsbt/wiki'
+ - name: 'Plugins'
+ link: 'plugins.html'
+---
View
@@ -0,0 +1,106 @@
+---
+layout: default
+title: Plugins
+tagline: There's a plugin for that.
+description: |
+ SBT has a rich community of plugins contributed by a set of very amazing people.
+toplinks:
+ - name: 'IDEs'
+ id: 'ides'
+ content: |
+ * IntelliJ IDEA
+ * [SBT Plugin to generate IDEA project configuration](https://github.com/mpeltonen/sbt-idea)
+ * [IDEA Plugin to embed an SBT Console into the IDE](https://github.com/orfjackal/idea-sbt-plugin)
+ * [Netbeans](https://github.com/remeniuk/sbt-netbeans-plugin)
+ * [Eclipse](https://github.com/typesafehub/sbteclipse)
+ - name: 'Web'
+ id: 'web'
+ content: |
+ * [xsbt-web-plugin](https://github.com/siasia/xsbt-web-plugin)
+ * [xsbt-webstart](https://github.com/ritschwumm/xsbt-webstart)
+ * [sbt-appengine](https://github.com/sbt/sbt-appengine)
+ * [sbt-gwt-plugin](https://github.com/thunderklaus/sbt-gwt-plugin)
+ * [sbt-cloudbees-plugin](https://github.com/timperrett/sbt-cloudbees-plugin)
+ * [coffeescripted-sbt](https://github.com/softprops/coffeescripted-sbt)
+ * [less-sbt](https://github.com/softprops/less-sbt)
+ * [sbt-emberjs](https://github.com/stefri/sbt-emberjs)
+ - name: 'Testing'
+ id: 'test'
+ content: |
+ * [junit_xml_listener](https://github.com/ijuma/junit_xml_listener)
+ * [sbt-growl-plugin](https://github.com/softprops/sbt-growl-plugin)
+ * [sbt-teamcity-test-reporting-plugin](https://github.com/guardian/sbt-teamcity-test-reporting-plugin)
+ * [xsbt-cucumber-plugin](https://github.com/skipoleschris/xsbt-cucumber-plugin)
+ * [sbt-scct](https://github.com/dvc94ch/sbt-scct)
+ * [jacoco4sbt](https://bitbucket.org/jmhofer/jacoco4sbt)
+ - name: 'Static Code Analysis'
+ id: 'staticcode'
+ content: |
+ * [cpd4sbt](https://bitbucket.org/jmhofer/cpd4sbt) (copy/paste detection, works for Scala, too)
+ * [findbugs4sbt](https://bitbucket.org/jmhofer/findbugs4sbt) (FindBugs only supports Java projects atm)
+ - name: 'One Jar'
+ id: 'onejar'
+ content: |
+ * [sbt-assembly](https://github.com/sbt/sbt-assembly)
+ * [xsbt-proguard-plugin](https://github.com/siasia/xsbt-proguard-plugin)
+ * [sbt-deploy](https://github.com/reaktor/sbt-deploy)
+ - name: 'Graphics'
+ id: 'lwjgl'
+ content: |
+ * [sbt-lwjgl-plugin](https://github.com/philcali/sbt-lwjgl-plugin) - LWJGL (LightWeight Java Game Library)
+ - name: 'Release'
+ id: 'release'
+ content: |
+ * [posterous-sbt](https://github.com/n8han/posterous-sbt)
+ * [sbt-signer-plugin](https://github.com/rossabaker/sbt-signer-plugin)
+ * [sbt-izpack](http://software.clapper.org/sbt-izpack/) (generates IzPack an installer)
+ * [sbt-pgp-plugin](https://github.com/sbt/xsbt-gpg-plugin) (PGP signing plugin, can generate keys too)
+ * [sbt-release](https://github.com/gseitz/sbt-release) (customizable release process)
+ - name: 'System'
+ id: 'system'
+ content: |
+ * [sbt-sh](https://github.com/steppenwells/sbt-sh) (executes shell commands)
+ * [cronish-sbt](https://github.com/philcali/cronish-sbt) (interval sbt / shell command execution)
+ * [git](https://github.com/sbt/sbt-git-plugin) (executes git commands)
+ - name: 'Code Generator'
+ id: 'codegen'
+ content: |
+ * [sbt-scalaxb](https://github.com/eed3si9n/scalaxb) (XSD and WSDL binding)
+ * [sbt-protobuf](https://github.com/gseitz/sbt-protobuf) (Google Protocol Buffers)
+ * [sbt-avro](https://github.com/cavorite/sbt-avro) (Apache Avro)
+ * [sbt-xjc](https://github.com/retronym/sbt-xjc) (XSD binding, using [JAXB XJC](http://download.oracle.com/javase/6/docs/technotes/tools/share/xjc.html))
+ * [xsbt-scalate-generate](https://github.com/mojolly/xsbt-scalate-generate) (Generate/Precompile Scalate Templates)
+ * [sbt-antlr](https://github.com/stefri/sbt-antlr) (Generate Java source code based on ANTLR3 grammars)
+ * [xsbt-reflect](https://github.com/ritschwumm/xsbt-reflect) (Generate Scala source code for project name and version)
+ * [lifty](https://github.com/lifty/lifty) (Brings scaffolding to SBT)
+ * [sbt-thrift](https://github.com/bigtoast/sbt-thrift) (Thrift Code Generation)
+ * [xsbt-hginfo](https://bitbucket.org/lukas_pustina/xsbt-hginfo) (Generate Scala source code for Mercurial repository information)
+ - name: 'Database'
+ id: 'db'
+ content: |
+ * [sbt-liquibase](https://github.com/bigtoast/sbt-liquibase) (Liquibase RDBMS database migrations)
+ - name: 'Documentation'
+ id: 'docs'
+ content: |
+ * [sbt-ghpages-plugin](https://github.com/jsuereth/xsbt-ghpages-plugin) (publishes generated site and api)
+ * [sbt-lwm](http://software.clapper.org/sbt-lwm/) (Convert lightweight markup files, e.g., Markdown and Textile, to HTML)
+ - name: 'Utility'
+ id: 'utility'
+ content: |
+ * [jot](https://github.com/softprops/jot) (Write down your ideas lest you forget them)
+ * [ls-sbt](https://github.com/softprops/ls) (An sbt interface for ls.implicit.ly)
+ * [np](https://github.com/softprops/np) (Dead simple new project directory generation)
+ * [sbt-editsource](http://software.clapper.org/sbt-editsource/) (A poor man's *sed*(1), for SBT)
+ * [sbt-dirty-money](https://github.com/sbt/sbt-dirty-money) (Cleans Ivy2 cache)
+ * [sbt-dependency-graph](https://github.com/jrudolph/sbt-dependency-graph) (Creates a graphml file of the dependency tree)
+ * [sbt-inspectr](https://github.com/eed3si9n/sbt-inspectr) (Displays settings dependency tree)
+ * [sbt-revolver](https://github.com/spray/sbt-revolver) (Triggered restart, hot reloading)
+ * [sbt-scalaedit](https://github.com/kjellwinblad/sbt-scalaedit-plugin) (Open and upgrade ScalaEdit (text editor))
+ - name: 'Android'
+ id: 'android'
+ content: |
+ * [android-plugin](https://github.com/jberkel/android-plugin)
+
+---
+
+
View
@@ -11,7 +11,11 @@ toplinks: #Links at the top.
#### Building SBT Plugins ####
Presentation showing how to build SBT plugins. The source code and presentation pdf
can be found [here](https://github.com/mads379/sbt-plugin-examples "here").
-
+ - name: 'SBT Cookbook'
+ id: 'sbtcookbook'
+ content: |
+ #### SBT Cookbook ####
+ A [talk](http://youtu.be/V2rl62CZPVc) on the basics of SBT as well as some cookbook examples.
---

3 comments on commit c7bd941

Member

mads-hartmann replied Jan 30, 2012

Awesome, I like this much better.

Owner

jsuereth replied Jan 30, 2012

Thanks. All my inspiration is stolen from the mind of @heathermiller. I'm curious what she thinks of the re-layout of scala-sbt.org and all the crazy YAML/Jekyll going on.

Owner

jsuereth replied Jan 30, 2012

Thanks. All my inspiration is stolen from the mind of @heathermiller. I'm curious what she thinks of the re-layout of scala-sbt.org and all the crazy YAML/Jekyll going on.

Please sign in to comment.