Skip to content

Commit bb0850e

Browse files
Merge remote branch 'upstream/gh-pages' into gh-pages
2 parents 624449a + 5426239 commit bb0850e

88 files changed

Lines changed: 3344 additions & 270 deletions

File tree

Some content is hidden

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

‎README.md‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@
22

33
This repository contains the source for the Scala documentation website, as well as the source for "Scala Improvement Process" (SIP) documents.
44

5+
## Contributing ##
6+
7+
Please have a look at [http://docs.scala-lang.org/contribute.html](http://docs.scala-lang.org/contribute.html) before making a contribution.
8+
This document gives an overview of the type of documentation contained within the Scala Documentation repository and the repository's structure.
9+
10+
Small changes, or corrected typos will generally be pulled in right away. Large changes, like the addition of new documents, or the rewriting of
11+
existing documents will be thoroughly reviewed-- please keep in mind that, generally, new documents must be very well-polished, complete, and maintained
12+
in order to be accepted.
13+
514
## Dependencies ##
615

716
### Unix ###
817

9-
Jekyll is required. Follow the install instructions at the Jekyll [wiki](https://github.com/mojombo/jekyll/wiki/Install). In most cases, you can install via RubyJems:
18+
Jekyll is required. Follow the install instructions at the Jekyll [wiki](https://github.com/mojombo/jekyll/wiki/Install). In most cases, you can install via RubyGems:
1019

1120
gem install jekyll
1221

@@ -32,6 +41,9 @@ cd into the `scala.github.com` directory, and build by:
3241

3342
The generated site is available at `http://localhost:4000`
3443

44+
## Markdown ##
45+
46+
The markdown used in this site uses [Maruku](http://maruku.rubyforge.org/maruku.html) extensions.
3547

3648
## License ##
3749

‎_includes/cheatsheet-header.txt‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,22 @@
2828
<!-- table of contents js -->
2929
<script src="{{ site.baseurl }}/resources/javascript/toc.js" type="text/javascript" ></script>
3030

31+
<!-- google analytics -->
32+
<script type="text/javascript">
33+
34+
var _gaq = _gaq || [];
35+
_gaq.push(['_setAccount', 'UA-574683-5']);
36+
_gaq.push(['_trackPageview']);
37+
38+
(function() {
39+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
40+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
41+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
42+
})();
43+
44+
</script>
45+
46+
3147
<!-- prettyprint js to prepend generated pre/code tags -->
3248
<script type="text/javascript">
3349
function styleCode()

‎_includes/contributing-header.txt‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,22 @@
3636
<!-- table of contents js -->
3737
<script src="{{ site.baseurl }}/resources/javascript/toc.js" type="text/javascript" ></script>
3838

39+
<!-- google analytics -->
40+
<script type="text/javascript">
41+
42+
var _gaq = _gaq || [];
43+
_gaq.push(['_setAccount', 'UA-574683-5']);
44+
_gaq.push(['_trackPageview']);
45+
46+
(function() {
47+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
48+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
49+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
50+
})();
51+
52+
</script>
53+
54+
3955
<!-- prettyprint js to prepend generated pre/code tags -->
4056
<script type="text/javascript">
4157
function styleCode()

‎_includes/footerbar.txt‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
</ul>
3030
</div>
3131
<div class="container copyright">
32-
<p>Copyright &copy; 2011 EPFL. All rights reserved.</p>
32+
<p>
33+
Copyright &copy; 2011 EPFL. All rights reserved.
34+
<a href="https://github.com/scala/scala.github.com/commits/gh-pages.atom"><img align="right" height="20px" width="20px" src="{{ site.baseurl }}/resources/images/rss.png" alt="RSS feed of updates to the github repo hosting this site"></a>
35+
</p>
3336
</div>
3437
</div>

‎_includes/frontpage-content.txt‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,38 +30,38 @@
3030

3131
<div class="span8">
3232

33-
<h2>We're growing...</h2>
34-
<p>We're working on porting much of Scala's useful documentation to this documentation repository. So hang on, content is soon forthcoming.<p>
33+
<h2>We’re growing…</h2>
34+
<p>We’re working on porting much of Scala’s useful documentation to this documentation repository. So hang on, content is soon forthcoming.<p>
3535

3636
<h3><a href="{{ site.baseurl }}/sips">Scala Improvement Process</a> <span class="label success">Available</span></h3>
3737
<p>Read language improvement proposals, participate in discussions surrounding submitted proposals, or submit your own improvement proposal.</p>
3838

3939
<h3><a href="{{ site.baseurl }}/overviews">Guides and Overviews</a> <span class="label success">Some Available</span></h3>
40-
<p>Some guides, such as Martin Odersky's Collections Overview are already available. Others are currently being converted to markdown markup for inclusion here.</p>
40+
<p>Some guides, such as Martin Odersky’s Collections Overview are already available. Others are currently being converted to markdown markup for inclusion here.</p>
4141

4242
<h3><a href="{{ site.baseurl }}/tutorials">Tutorials</a> <span class="label success">Some Available</span></h3>
4343
<p>Some tutorials, such as the <em>Scala for Java Programmers</em> guide is already available. Others are currently being converted to markdown markup for inclusion here.</p>
4444

4545
<h3><a href="{{ site.baseurl }}/glossary">Glossary</a> <span class="label success">Available</span></h3>
46-
<p>Pending permission from Artima Inc., we'd like to include the glossary from <em>Programming in Scala</em> here, for quick and easy reference.</p>
46+
<p>With permission from Artima Inc., we reproduce the glossary from <em>Programming in Scala</em> here, for easy reference.</p>
4747

4848
<h3><a href="{{ site.baseurl }}/cheatsheets">Cheatsheets</a> <span class="label success">Available</span></h3>
49-
<p>We've currently got one cheatsheet, thanks to Brendan O'Connor, and are looking for more to include!</p>
49+
<p>We've currently got one cheatsheet, thanks to Brendan O’Connor, and are looking for more to include!</p>
5050

5151
<h3><a href="{{ site.baseurl }}/style">Scala Style Guide</a> <span class="label success">Available</span></h3>
52-
<p>Daniel Spiewak and David Copland's <em>Scala Style Guide</em> is now available. Thanks to them for putting together such an excellent style guide, and thanks to Simon Ochsenreither for converting it to markdown!</p>
52+
<p>Daniel Spiewak and David Copeland’s <em>Scala Style Guide</em> is now available. Thanks to them for putting together such an excellent style guide, and thanks to Simon Ochsenreither for converting it to markdown!</p>
5353

5454
<h3>Language Specification <span class="label notice">Just an Idea</span></h3>
55-
<p>It would be nice to have an HTML version of the language specification, right? This is just an idea for now...</p>
55+
<p>It would be nice to have an HTML version of the language specification, right? This is just an idea for now…</p>
5656

5757
<p>&nbsp;</p><p>&nbsp;</p>
5858

5959
</div>
6060
<div class="span8">
6161
<h1>Contributions Welcomed!</h1>
62-
This site was designed so it would be easy for core committers and the community alike to build documentation. We'd love help of any kind-- from detailed articles or overviews of Scala's language features, to help converting documents to markdown.
62+
This site was designed so it would be easy for core committers and the community alike to build documentation. We’d love help of any kind&nbsp;– from detailed articles or overviews of Scala’s language features, to help converting documents to markdown.
6363
<p>&nbsp;</p>
64-
<p><b>If you'd like to help us, please see the <a href="{{ site.baseurl }}/contribute.html">Contribute</a> section of the site, and feel free to contact <a href="http://people.epfl.ch/heather.miller">Heather</a>.</b></p>
64+
<p><b>If you’d like to help us, please see the <a href="{{ site.baseurl }}/contribute.html">Contribute</a> section of the site, and feel free to contact <a href="http://people.epfl.ch/heather.miller">Heather</a>.</b></p>
6565

6666
<div id="recentcomments" class="dsq-widget"><h2 class="dsq-widget-title">Recent Comments</h2><script type="text/javascript" src="http://scalasip.disqus.com/recent_comments_widget.js?num_items=5&hide_avatars=0&avatar_size=32&excerpt_length=200"></script></div>
6767

@@ -95,4 +95,4 @@
9595

9696
</div>
9797
</div>
98-
</div>
98+
</div>

‎_includes/frontpage-header.txt‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,22 @@
3131
<script type="text/javascript" src="{{ site.baseurl }}/resources/javascript/jquery.accordionza.js"></script>
3232
<script src="{{ site.baseurl }}/resources/javascript/frontpage.js" type="text/javascript" ></script>
3333

34+
<!-- google analytics -->
35+
<script type="text/javascript">
36+
37+
var _gaq = _gaq || [];
38+
_gaq.push(['_setAccount', 'UA-574683-5']);
39+
_gaq.push(['_trackPageview']);
40+
41+
(function() {
42+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
43+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
44+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
45+
})();
46+
47+
</script>
48+
49+
3450
<script type="text/javascript">
3551

3652
$(document).ready(function() {

‎_includes/glossary-header.txt‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,22 @@
4040
});
4141
</script>
4242

43+
<!-- google analytics -->
44+
<script type="text/javascript">
45+
46+
var _gaq = _gaq || [];
47+
_gaq.push(['_setAccount', 'UA-574683-5']);
48+
_gaq.push(['_trackPageview']);
49+
50+
(function() {
51+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
52+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
53+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
54+
})();
55+
56+
</script>
57+
58+
4359
<!-- prettyprint js to prepend generated pre/code tags -->
4460
<script type="text/javascript">
4561
function styleCode()

‎_includes/header.txt‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,21 @@
3232
<!-- table of contents js -->
3333
<script src="{{ site.baseurl }}/resources/javascript/toc.js" type="text/javascript" ></script>
3434

35+
<!-- google analytics -->
36+
<script type="text/javascript">
37+
38+
var _gaq = _gaq || [];
39+
_gaq.push(['_setAccount', 'UA-574683-5']);
40+
_gaq.push(['_trackPageview']);
41+
42+
(function() {
43+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
44+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
45+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
46+
})();
47+
48+
</script>
49+
3550
<!-- prettyprint js to prepend generated pre/code tags -->
3651
<script type="text/javascript">
3752
function styleCode()

‎_includes/index-header.txt‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,21 @@
2828
<!-- Base stylesheet for all pages -->
2929
<link rel="stylesheet" href="{{ site.baseurl }}/resources/stylesheets/base.css" type="text/css" />
3030

31+
<!-- google analytics -->
32+
<script type="text/javascript">
33+
34+
var _gaq = _gaq || [];
35+
_gaq.push(['_setAccount', 'UA-574683-5']);
36+
_gaq.push(['_trackPageview']);
37+
38+
(function() {
39+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
40+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
41+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
42+
})();
43+
44+
</script>
45+
3146
<!-- prettyprint js to prepend generated pre/code tags -->
3247
<script type="text/javascript">
3348
function styleCode()

‎_includes/search-header.txt‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,22 @@
2828
<!-- Base stylesheet for all pages -->
2929
<link rel="stylesheet" href="{{ site.baseurl }}/resources/stylesheets/base.css" type="text/css" />
3030

31+
<!-- google analytics -->
32+
<script type="text/javascript">
33+
34+
var _gaq = _gaq || [];
35+
_gaq.push(['_setAccount', 'UA-574683-5']);
36+
_gaq.push(['_trackPageview']);
37+
38+
(function() {
39+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
40+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
41+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
42+
})();
43+
44+
</script>
45+
46+
3147
<!-- prettyprint js to prepend generated pre/code tags -->
3248
<script type="text/javascript">
3349
function styleCode()

0 commit comments

Comments
 (0)