Skip to content

Commit

Permalink
Fixes to streamline the website.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuereth committed Jan 29, 2012
1 parent c05444f commit c7bd941
Show file tree
Hide file tree
Showing 8 changed files with 173 additions and 16 deletions.
11 changes: 7 additions & 4 deletions src/jekyll/_includes/footer.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
9 changes: 3 additions & 6 deletions src/jekyll/_includes/topbar.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
20 changes: 17 additions & 3 deletions src/jekyll/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,25 @@ <h2>{{page.title}}</h2>
<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>
Expand All @@ -39,7 +51,9 @@ <h2>{{page.title}}</h2>
<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>
Expand Down
6 changes: 4 additions & 2 deletions src/jekyll/community-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
14 changes: 14 additions & 0 deletions src/jekyll/community.md
Original file line number Diff line number Diff line change
@@ -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'
---
17 changes: 17 additions & 0 deletions src/jekyll/learn.md
Original file line number Diff line number Diff line change
@@ -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'
---
106 changes: 106 additions & 0 deletions src/jekyll/plugins.html
Original file line number Diff line number Diff line change
@@ -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)

---


6 changes: 5 additions & 1 deletion src/jekyll/talks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
---

Expand Down

3 comments on commit c7bd941

@mads-hartmann
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, I like this much better.

@jsuereth
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@jsuereth
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.