History

Add Go documentation

Thibaut committed 12 years ago

Commit f657dfd1 parent 50f1ca914 files · +122 −-3Browse files

Showing the changes to assets/javascripts (3 of 14 files). Show all

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +5 −0
  2. assets/javascripts/templates/pages/news_tmpl.coffee +4 −1
  3. assets/javascripts/views/pages/go.coffee +6 −0
assets/javascripts/templates/pages/about_tmpl.coffee+5−0
@@ -115,6 +115,11 @@ credits = [ · 114 unmodified lines
115115 '2005-2014 Linus Torvalds and others',
116116 'GPLv2',
117117 'https://raw.github.com/git/git/master/COPYING'
118+ ], [
119+ 'Go',
120+ 'Google, Inc.',
121+ 'CC BY',
122+ 'http://creativecommons.org/licenses/by/3.0/'
118123 ], [
119124 'HTTP',
120125 '1999 The Internet Society',
assets/javascripts/templates/pages/news_tmpl.coffee+4−1
@@ -24,7 +24,10 @@ newsItem = (date, news) -> · 23 unmodified lines
2424 result
2525
2626 app.news = [
27− [ 1396137600000, # March 30, 2014
27+ [ 1396742400000, # April 6, 2014
28+ """ New <a href="/go/">Go</a> documentation """,
29+ ], [
30+ 1396137600000, # March 30, 2014
2831 """ New <a href="/cpp/">C++</a> documentation """,
2932 ], [
3033 1394928000000, # March 16, 2014
assets/javascripts/views/pages/go.coffee+6−0
@@ -0,0 +1,6 @@
1+#= require views/pages/base
2+
3+class app.views.GoPage extends app.views.BasePage
4+ afterRender: ->
5+ @highlightCode @findAll('pre'), 'go'
6+ return