Permalink
Browse files

Initial checkin

  • Loading branch information...
0 parents commit 4264f344f845efa797f4346fb47745361a79dc5e @wycats wycats committed Mar 31, 2010
@@ -0,0 +1,9 @@
+.sass-cache
+theme
+site/*.html
+site/stylesheets/*.css
+!site/stylesheets/sunburst.css
+site/*.html
+.bundle
+onig-5.8.0
+onig-5.8.0.tar.gz
@@ -0,0 +1,5 @@
+source :gemcutter
+
+gem "staticmatic", :git => "git://github.com/staticmatic/staticmatic.git"
+gem "compass", "0.10.0.rc1"
+gem "ultraviolet"
@@ -0,0 +1,50 @@
+---
+dependencies:
+ compass:
+ group:
+ - :default
+ version: = 0.10.0.rc1
+ ultraviolet:
+ group:
+ - :default
+ version: ">= 0"
+ staticmatic:
+ group:
+ - :default
+ version: ">= 0"
+specs:
+- cgi_multipart_eof_fix:
+ version: 2.5.0
+- haml:
+ version: 2.2.22
+- compass:
+ version: 0.10.0.rc1
+- daemons:
+ version: 1.0.10
+- fastthread:
+ version: 1.0.7
+- gem_plugin:
+ version: 0.2.3
+- mongrel:
+ version: 1.1.5
+- oniguruma:
+ version: 1.1.0
+- plist:
+ version: 3.1.0
+- rack:
+ version: 1.1.0
+- staticmatic:
+ version: 0.10.8
+ source: 0
+- textpow:
+ version: 0.10.1
+- ultraviolet:
+ version: 0.10.2
+hash: 83b79c4329000282631e561442edf87944a2c578
+sources:
+- Git:
+ uri: git://github.com/staticmatic/staticmatic.git
+ git: git://github.com/staticmatic/staticmatic.git
+ ref: 353ee842b078836b45dce1f4ee3cbbfbc0e7561c
+- Rubygems:
+ uri: http://gemcutter.org
@@ -0,0 +1,13 @@
+ROOT = File.join(File.dirname(__FILE__), '/')
+puts "Site root is: " + File.expand_path(ROOT)
+
+output_style = :expanded
+project_path = ROOT # must be set for Compass to work
+sass_dir = "src/stylesheets" # dir containing Sass / Compass source files
+http_path = "/" # root when deployed
+css_dir = "site/stylesheets" # final CSS
+images_dir = "site/images" # final images
+http_images_path = "/images"
+
+# To enable relative paths to assets via compass helper functions. Uncomment:
+# relative_assets = true
@@ -0,0 +1,23 @@
+require "uv"
+
+module Haml
+ module Filters
+ module Highlight_Ruby
+ include Base
+
+ def render(text)
+ text = text.strip
+ result = Uv.parse( text, "xhtml", "ruby", false, "sunburst")
+ Haml::Helpers.preserve result
+ end
+ end
+
+ module Highlight_Plain
+ include Base
+
+ def render(text)
+ result = "<pre class='sunburst'>#{Haml::Helpers.preserve(text)}</pre>"
+ end
+ end
+ end
+end
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,186 @@
+pre.sunburst {
+ padding: 10px;
+ font-size: 16px;
+ font-family: Monaco, monospace;
+}
+
+pre.sunburst .DiffInserted {
+ background-color: #253B22;
+ color: #F8F8F8;
+}
+pre.sunburst .DiffHeader {
+ background-color: #0E2231;
+ color: #F8F8F8;
+ font-style: italic;
+}
+pre.sunburst .CssPropertyValue {
+ color: #F9EE98;
+}
+pre.sunburst .CCCPreprocessorDirective {
+ color: #AFC4DB;
+}
+pre.sunburst .Constant {
+ color: #3387CC;
+}
+pre.sunburst .DiffChanged {
+ background-color: #4A410D;
+ color: #F8F8F8;
+}
+pre.sunburst .Support {
+ color: #9B859D;
+}
+pre.sunburst .MarkupList {
+ color: #E1D4B9;
+}
+pre.sunburst .CssConstructorArgument {
+ color: #8F9D6A;
+}
+pre.sunburst .Storage {
+ color: #99CF50;
+}
+pre.sunburst .line-numbers {
+ background-color: #DDF0FF;
+ color: #000000;
+}
+pre.sunburst .CssClass {
+ color: #9B703F;
+}
+pre.sunburst .StringConstant {
+ color: #DDF2A4;
+}
+pre.sunburst .MarkupSeparator {
+ background-color: #242424;
+ color: #60A633;
+}
+pre.sunburst .MarkupUnderline {
+ text-decoration: underline;
+ color: #E18964;
+}
+pre.sunburst .CssAtRule {
+ color: #8693A5;
+}
+pre.sunburst .MetaTagInline {
+ color: #E0C589;
+}
+pre.sunburst .JEntityNameType {
+ text-decoration: underline;
+}
+pre.sunburst .LogEntryError {
+ background-color: #751012;
+}
+pre.sunburst .MarkupHeading {
+ background-color: #632D04;
+ color: #FEDCC5;
+}
+pre.sunburst .CssTagName {
+ color: #CDA869;
+}
+pre.sunburst .SupportConstant {
+ color: #CF6A4C;
+}
+pre.sunburst .MarkupQuote {
+ background-color: #ECD091;
+ color: #E1D4B9;
+ font-style: italic;
+}
+pre.sunburst .DiffDeleted {
+ background-color: #420E09;
+ color: #F8F8F8;
+}
+pre.sunburst .CCCPreprocessorLine {
+ color: #8996A8;
+}
+pre.sunburst .StringRegexpSpecial {
+ color: #CF7D34;
+}
+pre.sunburst .EmbeddedSourceBright {
+ background-color: #ABADB4;
+}
+pre.sunburst .InvalidIllegal {
+ background-color: #150B15;
+ color: #FD5FF1;
+}
+pre.sunburst .MarkupRaw {
+ background-color: #ABADB4;
+ color: #578BB3;
+}
+pre.sunburst .SupportFunction {
+ color: #DAD085;
+}
+pre.sunburst .CssAdditionalConstants {
+ color: #DD7B3B;
+}
+pre.sunburst .MetaTagAll {
+ color: #89BDFF;
+}
+pre.sunburst .StringRegexp {
+ color: #E9C062;
+}
+pre.sunburst .StringEmbeddedSource {
+ color: #DAEFA3;
+}
+pre.sunburst .EntityInheritedClass {
+ color: #9B5C2E;
+ font-style: italic;
+}
+pre.sunburst .MarkupComment {
+ color: #F67B37;
+ font-style: italic;
+}
+pre.sunburst .MarkupBold {
+ font-weight: bold;
+ color: #E9C062;
+}
+pre.sunburst .CssId {
+ color: #8B98AB;
+}
+pre.sunburst .CssPseudoClass {
+ color: #8F9D6A;
+}
+pre.sunburst .JCast {
+ color: #676767;
+ font-style: italic;
+}
+pre.sunburst .StringVariable {
+ color: #8A9A95;
+}
+pre.sunburst .String {
+ color: #65B042;
+}
+pre.sunburst .Keyword {
+ color: #E28964;
+}
+pre.sunburst {
+ background-color: #000000;
+ color: #F8F8F8;
+}
+pre.sunburst .LogEntry {
+ background-color: #C7C7C7;
+}
+pre.sunburst .MarkupItalic {
+ color: #E9C062;
+ font-style: italic;
+}
+pre.sunburst .CssPropertyName {
+ color: #C5AF75;
+}
+pre.sunburst .Namespaces {
+ color: #E18964;
+}
+pre.sunburst .DoctypeXmlProcessing {
+ color: #494949;
+}
+pre.sunburst .InvalidDeprecated {
+ color: #FD5FF1;
+ font-style: italic;
+}
+pre.sunburst .Variable {
+ color: #3E87E3;
+}
+pre.sunburst .Entity {
+ color: #89BDFF;
+}
+pre.sunburst .Comment {
+ color: #AEAEAE;
+ font-style: italic;
+}
@@ -0,0 +1,29 @@
+$:.push Dir.pwd
+$:.push File.join(Dir.pwd, "lib")
+
+require 'compass'
+require 'haml_filters'
+
+# Parse the Compass config
+Compass.add_project_configuration('config.rb')
+
+# Default is 3000
+configuration.preview_server_port = 3000
+
+# Default is localhost
+configuration.preview_server_host = "localhost"
+
+# Default is true
+# When false .html & index.html get stripped off generated urls
+configuration.use_extensions_for_page_links = true
+
+# Default is an empty hash
+# We use Compass's config
+configuration.sass_options = Compass.sass_engine_options
+
+# Default is an empty hash
+# http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#options
+configuration.haml_options = {
+ #:format => :html5,
+ :attr_wrapper => '"'
+}
@@ -0,0 +1,12 @@
+!!!
+%html
+ %head
+ %title Bundler: The best way to manage Ruby applications
+ = stylesheets
+ %body
+ #contents
+ #header
+ %a{:href => "index.html"}
+ %img{:src => "images/bundler.png", :width => "850"}/
+ %h1 The best way to manage Ruby applications
+ = yield
@@ -0,0 +1,56 @@
+%h2 Git Repositories
+
+.contents
+ .bullet
+ .description
+ Specify that a gem should come from a git
+ repository with a .gemspec at its root
+ :highlight_ruby
+ gem "nokogiri", :git =>
+ "git://github.com/tenderlove/nokogiri.git"
+
+ .bullet
+ .description
+ If there is no .gemspec at the root of
+ a git repository, you must specify a version
+ that bundler should use when resolving
+ dependencies
+ :highlight_ruby
+ gem "deep_merge", "1.0", :git =>
+ "git://github.com/peritor/deep_merge.git"
+
+ .bullet
+ .description
+ Specify that a git repository containing
+ multiple .gemspec files should be treated
+ as a gem source
+ :highlight_ruby
+ git "git://github.com/rails/rails.git"
+ gem "railties"
+ gem "action_pack"
+ gem "active_model"
+
+ .bullet
+ .description
+ Specify that a git repository should use
+ a particular ref, branch, or tag
+ :highlight_ruby
+ git "git://github.com/rails/rails.git",
+ :ref => "4aded"
+
+ git "git://github.com/rails/rails.git",
+ :branch => "2-3-stable"
+
+ git "git://github.com/rails/rails.git",
+ :tag => "v2.3.5"
+
+ .bullet
+ .description
+ Specifying a ref, branch, or tag for a
+ git repository specified inline works
+ exactly the same way
+ :highlight_ruby
+ gem "nokogiri", :git =>
+ "git://github.com/tenderlove/nokogiri.git",
+ :ref => "0eec4"
+
Oops, something went wrong.

0 comments on commit 4264f34

Please sign in to comment.