Skip to content

Commit 36273d6

Browse files
committed
Converted over everything but the resources section
1 parent da91816 commit 36273d6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1580
-77
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "vendor/Komodo-Resources"]
2+
path = vendor/Komodo-Resources
3+
url = [email protected]:Komodo/Komodo-Resources.git

Gemfile

+5
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,10 @@ gem "tzinfo-data", platforms: [:mswin, :mingw]
1717
gem 'bourbon'
1818
gem 'neat'
1919
gem 'font-awesome-middleman'
20+
gem 'redcarpet'
2021

2122
gem 'middleman-blog-similar'
23+
gem 'middleman-search_engine_sitemap'
24+
gem 'middleman-imageoptim', github: 'plasticine/middleman-imageoptim'
25+
gem 'middleman-syntax'
26+

config.rb

+30-1
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,20 @@
1212

1313
activate :similar
1414

15+
activate :imageoptim
16+
17+
set :url_root, "http://komodoide.com/"
18+
activate :search_engine_sitemap
19+
1520
activate :directory_indexes
1621

1722
configure :development do
1823
activate :livereload
19-
set :site_url, "http://dev.komodoide.com:4567/"
24+
set :site_url, "http://dev.komodoide.com:4567"
25+
end
26+
27+
configure :build do
28+
set :site_url, "http://komodoide.com"
2029
end
2130

2231
set :css_dir, 'assets/stylesheets'
@@ -44,6 +53,26 @@
4453
"development environment,development environment,activetstate,komodo"\
4554
"linux,komodo mac"
4655

56+
set :markdown_engine, :redcarpet
57+
set :markdown, :fenced_code_blocks => true, :smartypants => true
58+
59+
set :file_watcher_ignore, [
60+
/^bower_components(\/|$)/,
61+
/^\.sass-cache(\/|$)/,
62+
/^\.cache(\/|$)/,
63+
/^\.git(\/|$)/,
64+
/^\.gitignore$/,
65+
/\.DS_Store/,
66+
/^Gemfile$/,
67+
/^Gemfile\.lock$/,
68+
/~$/,
69+
/(^|\/)\.?#/,
70+
/^tmp\//,
71+
/^build(\/|$)/
72+
]
73+
74+
ignore 'templates/*'
75+
4776
configure :build do
4877
activate :minify_css
4978
activate :minify_javascript

helpers.rb

+17
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,21 @@ def get_list(ob, classAttr = "")
8888
r = r.join("\n")
8989
return r
9090
end
91+
92+
def yaml(path)
93+
require 'yaml'
94+
return YAML.load_file(File.dirname(__FILE__) + path)
95+
end
96+
97+
@@vimeo_cache = {}
98+
99+
def vimeo_data(id, attr)
100+
unless (@@vimeo_cache.has_key?(id))
101+
api_url = "http://vimeo.com/api/v2/video/%s.json" % id
102+
@@vimeo_cache[id] = JSON.parse(open(api_url).read).first
103+
end
104+
105+
data = @@vimeo_cache[id]
106+
return data.has_key?(attr) ? data[attr] : nil
107+
end
91108
end

ko-site-middleman.komodoproject

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
<!-- Komodo Project File - DO NOT EDIT -->
33
<project id="d5d441b5-7993-42ef-b90a-e73a0340b4db" kpf_version="5" name="ko-site-middleman.komodoproject">
44
<preference-set idref="d5d441b5-7993-42ef-b90a-e73a0340b4db" id="project" preftype="project">
5+
<string relative="path" id="import_dirname"></string>
6+
<string id="import_exclude_matches">*.*~;*.bak;*.tmp;CVS;.#*;*.pyo;*.pyc;.svn;*%25*;tmp*.html;.DS_Store;__pycache__;.git;.komodotools;bower_components;node_modules;build</string>
7+
<string id="last_local_directory">None</string>
8+
<string id="last_remote_directory">None</string>
59
<long id="prefs_version">1</long>
610
</preference-set>
711
</project>

source/assets/images/favicon.ico

144 KB
Binary file not shown.
Loading
Loading
Loading

source/assets/javascripts/script.js.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jQuery ->
7878

7979
# Highlight Code
8080
highlightCode = ->
81-
jq('pre code.hljs').each (i, e) -> hljs.highlightBlock e
81+
jq('pre code').each (i, e) -> hljs.highlightBlock e
8282

8383
# Splash Screenshots
8484
loadSplashScreenshots = ->

source/assets/stylesheets/_modules/base.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
*
22
{
3-
@include box-sizing(border-box);
3+
box-sizing: border-box;
44
}
55

66
html, body

source/assets/stylesheets/_modules/pages/screencasts.scss

+1-65
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,4 @@
1-
.document-screencasts article
2-
{
3-
4-
ul
5-
{
6-
@include outer-container();
7-
8-
list-style: none;
9-
margin: 0;
10-
padding: 0;
11-
12-
li
13-
{
14-
@include span-columns(5.8);
15-
display: inline-block;
16-
text-align: center;
17-
18-
@include media($mobile)
19-
{
20-
@include span-columns(12);
21-
}
22-
23-
a
24-
{
25-
display: block;
26-
color: #FFF;
27-
background: $color-base-text;
28-
margin-bottom: 20px;
29-
border-radius: 3px;
30-
position: relative;
31-
32-
@include transition(background 0.2s ease-in-out);
33-
34-
&:hover
35-
{
36-
background: $color-base-link-hover;
37-
}
38-
39-
span.title
40-
{
41-
font-size: 16pt;
42-
line-height: 48pt;
43-
44-
@extend %ellipsis;
45-
}
46-
47-
span.stat
48-
{
49-
position: absolute;
50-
bottom: 5px;
51-
display: block;
52-
width: 100%;
53-
54-
font-size: 9.5pt;
55-
line-height: 9.5pt;
56-
opacity: 0.5;
57-
}
58-
}
59-
}
60-
}
61-
62-
}
63-
64-
.document-screencasts-album,
65-
.document-album
1+
.document-screencasts
662
{
673
ul.screencasts
684
{

source/assets/stylesheets/style.css.scss

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
@import "_modules/pages/screencasts";
4343
@import "_modules/pages/resources";
4444
@import "_modules/pages/testimonials";
45-
4645
@import "_modules/highlightjs";
4746

4847
html, body

source/changelog/latest.html.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: Komodo 8 Changelog
3-
layout: markdown
43
sidebar: download
54
classNames: small-text markdown
65
---

0 commit comments

Comments
 (0)