Permalink
Browse files

Changed SCM to GitHub, added Fork Me corner button.

  • Loading branch information...
1 parent 472129e commit 79d6884777bb55b339def100b3db974fa1f61058 @alexgorbatchev alexgorbatchev committed Jul 27, 2011
View
3 .rvmrc
@@ -1,2 +1 @@
-rvm use ruby-1.8.7-p249@syntaxhighlighter
-
+rvm use 1.8.7@syntaxhighlighter
@@ -7,11 +7,9 @@ filter:
---
### Before emailing
-If you have a question about SyntaxHighlighter, please take a second to register and post
-in the [forums](http://alexgorbatchev.com/forums) instead of emailing me.
-
-**All tech support questions regarding SyntaxHighlighter will be ignored
-and unanswered unless you post them in the forums.**
+Please consider googling and looking through the manual first. Due to the volume of emails I
+recieve I may not be able to answer all of them however if you have donated, you are guaranteed
+my attention :)
### Send an email
@@ -98,27 +98,62 @@ table {
h2 {
font-size: 1.45em;
}
+
+ #forkme {
+ display: block;
+ position: fixed;
+ z-index: 5;
+ top: 0;
+ left: 0;
+ border: 0;
+ background: url(/SyntaxHighlighter/images/forkme.png) no-repeat;
+ width: 149px;
+ height: 149px;
+ text-indent: -1000px;
+ overflow: hidden;
+ }
}
.badge {
@include round_corners(3px);
font-size: 10px;
font-weight: normal;
- padding: 4px 3px 2px;
+ padding: 3px 5px 4px 5px;
line-height: 100%;
+ -moz-box-sizing : border-box;
+ -webkit-box-sizing : border-box;
+ box-sizing : border-box;
}
#content {
margin-top: 5em;
-
+
+ #news {
+ ul {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+
+ li {
+ position: relative;
+ display: block;
+ padding-left: 7em;
+ min-height: 22px;
+ }
+ }
+ }
+
.date {
@extend .badge;
- background: $blue;
- color: #fff;
- margin: 3px 1em 0 0;
- float: left;
+ background: $light_blue;
+ color: $blue;
text-align: right;
width: 10em;
+ position: absolute;
+ height: 20px;
+ left: 0;
+ top: 0;
+ padding: 6px 5px 0;
}
.version {
@@ -223,10 +258,3 @@ table {
background-color: $gray;
}
-#news {
- ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
- }
-}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -31,9 +31,7 @@ filter:
:preserve
<pre class="brush: javascript">
- // SyntaxHighlighter makes your code
- // snippets beautiful without tiring
- // your servers.
+ // SyntaxHighlighter makes your code snippets beautiful without tiring your servers.
// http://alexgorbatchev.com
var setArray = function(elems) {
this.length = 0;
@@ -46,6 +44,7 @@ filter:
%h2 News
:markdown
+ * We aren't dead! Moved source to [GitHub](https://github.com/alexgorbatchev/SyntaxHighlighter) to increase participation. <span class="date">July 26, 2011</span>
* Major new 3.0.83 release ([changes](changes/3.0.83.html)). <span class="date">July 2, 2010</span>
* New 2.1.382 release ([changes](changes/2.1.382.html)). <span class="date">June 24, 2010</span>
* Follow @[syntaxhighlight](http://twitter.com/syntaxhighlight) on Twitter. <span class="date">March 1, 2010</span>
@@ -3,6 +3,7 @@ encoding: utf-8
filter:
- erb
---
+<!--
<script type="text/javascript">
var uservoiceJsHost = ("https:" == document.location.protocol) ? "https://uservoice.com" : "http://cdn.uservoice.com";
document.write(unescape("%3Cscript src='" + uservoiceJsHost + "/javascripts/widgets/tab.js' type='text/javascript'%3E%3C/script%3E"))
@@ -19,4 +20,4 @@ UserVoice.Tab.show({
lang: 'en'
})
</script>
-
+-->
View
@@ -14,14 +14,15 @@ filter:
%html{ :xmlns => 'http://www.w3.org/1999/xhtml' }
%head
%title= "SyntaxHighlighter#{sh_title(@page, ' - ')}"
- %script{ :type => 'text/javascript', :src => "#{@home}/scripts/jquery-1.4.2.js" }
+ %script{ :type => 'text/javascript', :src => "https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" }
= render(:partial => "/SyntaxHighlighter/partials/tracking")
%body.no_sponsor
#title
%h1
%a{ :href => "#{@home}" } SyntaxHighlighter
%span#version= sh_version
+ %a#forkme{ :href => "https://github.com/alexgorbatchev/SyntaxHighlighter" } Fork Me On GitHub
#whatsnew
%a{ :href => "#{@home}/whatsnew.html"} whats new?
@@ -56,9 +57,8 @@ filter:
%a{ :href => "#{@home}/hosting.html" } hosting
%a{ :href => "#{@home}/manual/older_versions.html" } legacy
%a{ :href => "#{@home}/manual/api" } apis
- %a{ :href => "/forums" } forums
- %a{ :href => "http://bitbucket.org/alexg/syntaxhighlighter/issues/"} bugs
- %a{ :href => "http://bitbucket.org/alexg/syntaxhighlighter/"} source code
+ %a{ :href => "https://github.com/alexgorbatchev/SyntaxHighlighter/issues"} bugs
+ %a{ :href => "https://github.com/alexgorbatchev/SyntaxHighlighter" } github
%a{ :href => "#{@home}/contact.html"} contact
/ <script type="text/javascript">var flattr_url = 'http://alexgorbatchev.com/SyntaxHighlighter';</script>
@@ -72,6 +72,7 @@ filter:
%link{ :type => 'text/css', :rel => 'stylesheet', :href => "#{@home}/css/main.css" }
%link{ :type => 'text/css', :rel => 'stylesheet', :href => "#{sh_pub}/styles/shCore.css" }
%link{ :type => 'text/css', :rel => 'stylesheet', :href => "#{sh_pub}/styles/#{@page._meta_data['theme'] || 'shThemeDefault'}.css" }
+ %script{ :type => 'text/javascript', :src => "#{sh_pub}/scripts/XRegExp.js" }
%script{ :type => 'text/javascript', :src => "#{sh_pub}/scripts/shCore.js" }
%script{ :type => 'text/javascript', :src => "#{sh_pub}/scripts/shAutoloader.js" }
%script{ :type => 'text/javascript', :src => "#{sh_pub}/scripts/shBrushXml.js" }
View
@@ -0,0 +1,3 @@
+#!/bin/bash
+webby autobuild --web-server
+
View
2 setup.sh 100644 → 100755
@@ -1,3 +1,3 @@
#!/bin/bash
-gem install webby maruku haml
+gem install webby maruku haml --no-rdoc --no-ri

0 comments on commit 79d6884

Please sign in to comment.