Skip to content

Commit 79d6884

Browse files
Changed SCM to GitHub, added Fork Me corner button.
1 parent 472129e commit 79d6884

File tree

9 files changed

+58
-29
lines changed

9 files changed

+58
-29
lines changed

.rvmrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
rvm use ruby-1.8.7-p249@syntaxhighlighter
2-
1+
rvm use 1.8.7@syntaxhighlighter

content/SyntaxHighlighter/contact.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ filter:
77
---
88
### Before emailing
99

10-
If you have a question about SyntaxHighlighter, please take a second to register and post
11-
in the [forums](http://alexgorbatchev.com/forums) instead of emailing me.
12-
13-
**All tech support questions regarding SyntaxHighlighter will be ignored
14-
and unanswered unless you post them in the forums.**
10+
Please consider googling and looking through the manual first. Due to the volume of emails I
11+
recieve I may not be able to answer all of them however if you have donated, you are guaranteed
12+
my attention :)
1513

1614
### Send an email
1715

content/SyntaxHighlighter/css/main.scss

Lines changed: 41 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -98,27 +98,62 @@ table {
9898
h2 {
9999
font-size: 1.45em;
100100
}
101+
102+
#forkme {
103+
display: block;
104+
position: fixed;
105+
z-index: 5;
106+
top: 0;
107+
left: 0;
108+
border: 0;
109+
background: url(/SyntaxHighlighter/images/forkme.png) no-repeat;
110+
width: 149px;
111+
height: 149px;
112+
text-indent: -1000px;
113+
overflow: hidden;
114+
}
101115
}
102116

103117
.badge {
104118
@include round_corners(3px);
105119
font-size: 10px;
106120
font-weight: normal;
107-
padding: 4px 3px 2px;
121+
padding: 3px 5px 4px 5px;
108122
line-height: 100%;
123+
-moz-box-sizing : border-box;
124+
-webkit-box-sizing : border-box;
125+
box-sizing : border-box;
109126
}
110127

111128
#content {
112129
margin-top: 5em;
113-
130+
131+
#news {
132+
ul {
133+
list-style-type: none;
134+
margin: 0;
135+
padding: 0;
136+
137+
li {
138+
position: relative;
139+
display: block;
140+
padding-left: 7em;
141+
min-height: 22px;
142+
}
143+
}
144+
}
145+
114146
.date {
115147
@extend .badge;
116-
background: $blue;
117-
color: #fff;
118-
margin: 3px 1em 0 0;
119-
float: left;
148+
background: $light_blue;
149+
color: $blue;
120150
text-align: right;
121151
width: 10em;
152+
position: absolute;
153+
height: 20px;
154+
left: 0;
155+
top: 0;
156+
padding: 6px 5px 0;
122157
}
123158

124159
.version {
@@ -223,10 +258,3 @@ table {
223258
background-color: $gray;
224259
}
225260

226-
#news {
227-
ul {
228-
list-style-type: none;
229-
margin: 0;
230-
padding: 0;
231-
}
232-
}
9.22 KB
Loading

content/SyntaxHighlighter/index.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ filter:
3131

3232
:preserve
3333
<pre class="brush: javascript">
34-
// SyntaxHighlighter makes your code
35-
// snippets beautiful without tiring
36-
// your servers.
34+
// SyntaxHighlighter makes your code snippets beautiful without tiring your servers.
3735
// http://alexgorbatchev.com
3836
var setArray = function(elems) {
3937
this.length = 0;
@@ -46,6 +44,7 @@ filter:
4644
%h2 News
4745

4846
:markdown
47+
* We aren't dead! Moved source to [GitHub](https://github.com/alexgorbatchev/SyntaxHighlighter) to increase participation. <span class="date">July 26, 2011</span>
4948
* Major new 3.0.83 release ([changes](changes/3.0.83.html)). <span class="date">July 2, 2010</span>
5049
* New 2.1.382 release ([changes](changes/2.1.382.html)). <span class="date">June 24, 2010</span>
5150
* Follow @[syntaxhighlight](http://twitter.com/syntaxhighlight) on Twitter. <span class="date">March 1, 2010</span>

content/SyntaxHighlighter/partials/_services.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ encoding: utf-8
33
filter:
44
- erb
55
---
6+
<!--
67
<script type="text/javascript">
78
var uservoiceJsHost = ("https:" == document.location.protocol) ? "https://uservoice.com" : "http://cdn.uservoice.com";
89
document.write(unescape("%3Cscript src='" + uservoiceJsHost + "/javascripts/widgets/tab.js' type='text/javascript'%3E%3C/script%3E"))
@@ -19,4 +20,4 @@ UserVoice.Tab.show({
1920
lang: 'en'
2021
})
2122
</script>
22-
23+
-->

layouts/default.haml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ filter:
1414
%html{ :xmlns => 'http://www.w3.org/1999/xhtml' }
1515
%head
1616
%title= "SyntaxHighlighter#{sh_title(@page, ' - ')}"
17-
%script{ :type => 'text/javascript', :src => "#{@home}/scripts/jquery-1.4.2.js" }
17+
%script{ :type => 'text/javascript', :src => "https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" }
1818
= render(:partial => "/SyntaxHighlighter/partials/tracking")
1919

2020
%body.no_sponsor
2121
#title
2222
%h1
2323
%a{ :href => "#{@home}" } SyntaxHighlighter
2424
%span#version= sh_version
25+
%a#forkme{ :href => "https://github.com/alexgorbatchev/SyntaxHighlighter" } Fork Me On GitHub
2526

2627
#whatsnew
2728
%a{ :href => "#{@home}/whatsnew.html"} whats new?
@@ -56,9 +57,8 @@ filter:
5657
%a{ :href => "#{@home}/hosting.html" } hosting
5758
%a{ :href => "#{@home}/manual/older_versions.html" } legacy
5859
%a{ :href => "#{@home}/manual/api" } apis
59-
%a{ :href => "/forums" } forums
60-
%a{ :href => "http://bitbucket.org/alexg/syntaxhighlighter/issues/"} bugs
61-
%a{ :href => "http://bitbucket.org/alexg/syntaxhighlighter/"} source code
60+
%a{ :href => "https://github.com/alexgorbatchev/SyntaxHighlighter/issues"} bugs
61+
%a{ :href => "https://github.com/alexgorbatchev/SyntaxHighlighter" } github
6262
%a{ :href => "#{@home}/contact.html"} contact
6363

6464
/ <script type="text/javascript">var flattr_url = 'http://alexgorbatchev.com/SyntaxHighlighter';</script>
@@ -72,6 +72,7 @@ filter:
7272
%link{ :type => 'text/css', :rel => 'stylesheet', :href => "#{@home}/css/main.css" }
7373
%link{ :type => 'text/css', :rel => 'stylesheet', :href => "#{sh_pub}/styles/shCore.css" }
7474
%link{ :type => 'text/css', :rel => 'stylesheet', :href => "#{sh_pub}/styles/#{@page._meta_data['theme'] || 'shThemeDefault'}.css" }
75+
%script{ :type => 'text/javascript', :src => "#{sh_pub}/scripts/XRegExp.js" }
7576
%script{ :type => 'text/javascript', :src => "#{sh_pub}/scripts/shCore.js" }
7677
%script{ :type => 'text/javascript', :src => "#{sh_pub}/scripts/shAutoloader.js" }
7778
%script{ :type => 'text/javascript', :src => "#{sh_pub}/scripts/shBrushXml.js" }

server.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
webby autobuild --web-server
3+

setup.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
2-
gem install webby maruku haml
2+
gem install webby maruku haml --no-rdoc --no-ri
33

0 commit comments

Comments
 (0)