diff options
author | Patrick Wendell <pwendell@apache.org> | 2014-03-03 01:57:26 +0000 |
---|---|---|
committer | Patrick Wendell <pwendell@apache.org> | 2014-03-03 01:57:26 +0000 |
commit | f66f19da102afeb26db33ac4a099d2bf87cb3d70 (patch) | |
tree | dc763d812cbc592d6f63b4f95347eb5cc23474df /site/docs/0.9.0 | |
parent | f3f94677a2cede1fa6577fb60729d4271e6a1293 (diff) | |
download | spark-website-f66f19da102afeb26db33ac4a099d2bf87cb3d70.tar.gz spark-website-f66f19da102afeb26db33ac4a099d2bf87cb3d70.tar.bz2 spark-website-f66f19da102afeb26db33ac4a099d2bf87cb3d70.zip |
Adding google analytics to the 0.9 docs.
Diffstat (limited to 'site/docs/0.9.0')
26 files changed, 65 insertions, 53 deletions
diff --git a/site/docs/0.9.0/README.md b/site/docs/0.9.0/README.md index 0b7c32409..d35990c03 100644 --- a/site/docs/0.9.0/README.md +++ b/site/docs/0.9.0/README.md @@ -10,9 +10,21 @@ We include the Spark documentation as part of the source (as opposed to using a In this directory you will find textfiles formatted using Markdown, with an ".md" suffix. You can read those text files directly if you want. Start with index.md. -To make things quite a bit prettier and make the links easier to follow, generate the html version of the documentation based on the src directory by running `jekyll` in the docs directory. Use the command `SKIP_SCALADOC=1 jekyll` to skip building and copying over the scaladoc which can be timely. To use the `jekyll` command, you will need to have Jekyll installed, the easiest way to do this is via a Ruby Gem, see the [jekyll installation instructions](https://github.com/mojombo/jekyll/wiki/install). This will create a directory called _site containing index.html as well as the rest of the compiled files. Read more about Jekyll at https://github.com/mojombo/jekyll/wiki. - -In addition to generating the site as html from the markdown files, jekyll can serve up the site via a webserver. To build and run a webserver use the command `jekyll --server` which (currently) runs the webserver on port 4000, then visit the site at http://localhost:4000. +The markdown code can be compiled to HTML using the +[Jekyll tool](http://jekyllrb.com). To use the `jekyll` command, you will +need to have Jekyll installed. The easiest way to do this is via a Ruby Gem, see the +[jekyll installation instructions](http://jekyllrb.com/docs/installation). +Compiling the site with Jekyll will create a directory called +_site containing index.html as well as the rest of the compiled files. + +You can modify the default Jekyll build as follows: + + # Skip generating API docs (which takes a while) + $ SKIP_SCALADOC=1 jekyll build + # Serve content locally on port 4000 + $ jekyll serve --watch + # Build the site with extra features used on the live page + $ PRODUCTION=1 jekyll build ## Pygments diff --git a/site/docs/0.9.0/api.html b/site/docs/0.9.0/api.html index 80163501a..e61c16136 100644 --- a/site/docs/0.9.0/api.html +++ b/site/docs/0.9.0/api.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/bagel-programming-guide.html b/site/docs/0.9.0/bagel-programming-guide.html index 86ea5e4fb..88b852bdf 100644 --- a/site/docs/0.9.0/bagel-programming-guide.html +++ b/site/docs/0.9.0/bagel-programming-guide.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/building-with-maven.html b/site/docs/0.9.0/building-with-maven.html index a5890777f..1ad238fb6 100644 --- a/site/docs/0.9.0/building-with-maven.html +++ b/site/docs/0.9.0/building-with-maven.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/cluster-overview.html b/site/docs/0.9.0/cluster-overview.html index ee4748acf..a2afc6e11 100644 --- a/site/docs/0.9.0/cluster-overview.html +++ b/site/docs/0.9.0/cluster-overview.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/configuration.html b/site/docs/0.9.0/configuration.html index 72ce06866..a193d3f05 100644 --- a/site/docs/0.9.0/configuration.html +++ b/site/docs/0.9.0/configuration.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/contributing-to-spark.html b/site/docs/0.9.0/contributing-to-spark.html index eb5030ff4..73dfd1aeb 100644 --- a/site/docs/0.9.0/contributing-to-spark.html +++ b/site/docs/0.9.0/contributing-to-spark.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/ec2-scripts.html b/site/docs/0.9.0/ec2-scripts.html index db818615c..b3684ec44 100644 --- a/site/docs/0.9.0/ec2-scripts.html +++ b/site/docs/0.9.0/ec2-scripts.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/graphx-programming-guide.html b/site/docs/0.9.0/graphx-programming-guide.html index 0fa80fd58..3f4081e39 100644 --- a/site/docs/0.9.0/graphx-programming-guide.html +++ b/site/docs/0.9.0/graphx-programming-guide.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/hadoop-third-party-distributions.html b/site/docs/0.9.0/hadoop-third-party-distributions.html index 508b5ecb4..dbebc10dd 100644 --- a/site/docs/0.9.0/hadoop-third-party-distributions.html +++ b/site/docs/0.9.0/hadoop-third-party-distributions.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/hardware-provisioning.html b/site/docs/0.9.0/hardware-provisioning.html index 8249ee6c3..b2428441b 100644 --- a/site/docs/0.9.0/hardware-provisioning.html +++ b/site/docs/0.9.0/hardware-provisioning.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/index.html b/site/docs/0.9.0/index.html index b860142ad..40f74dcc9 100644 --- a/site/docs/0.9.0/index.html +++ b/site/docs/0.9.0/index.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/java-programming-guide.html b/site/docs/0.9.0/java-programming-guide.html index 31d11dacd..15a852422 100644 --- a/site/docs/0.9.0/java-programming-guide.html +++ b/site/docs/0.9.0/java-programming-guide.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/job-scheduling.html b/site/docs/0.9.0/job-scheduling.html index 6d87a6a3b..4cec83735 100644 --- a/site/docs/0.9.0/job-scheduling.html +++ b/site/docs/0.9.0/job-scheduling.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/mllib-guide.html b/site/docs/0.9.0/mllib-guide.html index 37398cc58..6868171cb 100644 --- a/site/docs/0.9.0/mllib-guide.html +++ b/site/docs/0.9.0/mllib-guide.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/monitoring.html b/site/docs/0.9.0/monitoring.html index a751ed66d..5b3781b32 100644 --- a/site/docs/0.9.0/monitoring.html +++ b/site/docs/0.9.0/monitoring.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/python-programming-guide.html b/site/docs/0.9.0/python-programming-guide.html index f81090ef9..9b69e131c 100644 --- a/site/docs/0.9.0/python-programming-guide.html +++ b/site/docs/0.9.0/python-programming-guide.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/quick-start.html b/site/docs/0.9.0/quick-start.html index f2c0137db..c7ffbec4f 100644 --- a/site/docs/0.9.0/quick-start.html +++ b/site/docs/0.9.0/quick-start.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/running-on-mesos.html b/site/docs/0.9.0/running-on-mesos.html index 01dfeaac1..7310cc004 100644 --- a/site/docs/0.9.0/running-on-mesos.html +++ b/site/docs/0.9.0/running-on-mesos.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/running-on-yarn.html b/site/docs/0.9.0/running-on-yarn.html index 10ad47b9c..205723090 100644 --- a/site/docs/0.9.0/running-on-yarn.html +++ b/site/docs/0.9.0/running-on-yarn.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/scala-programming-guide.html b/site/docs/0.9.0/scala-programming-guide.html index dc355b3d4..f18c74dc9 100644 --- a/site/docs/0.9.0/scala-programming-guide.html +++ b/site/docs/0.9.0/scala-programming-guide.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/spark-debugger.html b/site/docs/0.9.0/spark-debugger.html index 09f65a8a6..8e51907bd 100644 --- a/site/docs/0.9.0/spark-debugger.html +++ b/site/docs/0.9.0/spark-debugger.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/spark-standalone.html b/site/docs/0.9.0/spark-standalone.html index d2f1ceb5c..e05614a4b 100644 --- a/site/docs/0.9.0/spark-standalone.html +++ b/site/docs/0.9.0/spark-standalone.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/streaming-custom-receivers.html b/site/docs/0.9.0/streaming-custom-receivers.html index f3527994c..10615a911 100644 --- a/site/docs/0.9.0/streaming-custom-receivers.html +++ b/site/docs/0.9.0/streaming-custom-receivers.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/streaming-programming-guide.html b/site/docs/0.9.0/streaming-programming-guide.html index eb7488b32..b2e86013f 100644 --- a/site/docs/0.9.0/streaming-programming-guide.html +++ b/site/docs/0.9.0/streaming-programming-guide.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> diff --git a/site/docs/0.9.0/tuning.html b/site/docs/0.9.0/tuning.html index 671949619..016e96cdd 100644 --- a/site/docs/0.9.0/tuning.html +++ b/site/docs/0.9.0/tuning.html @@ -24,9 +24,9 @@ <link rel="stylesheet" href="css/pygments-default.css"> + <!-- Google analytics script --> <script type="text/javascript"> - /* var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32518208-1']); _gaq.push(['_trackPageview']); @@ -36,8 +36,8 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - */ </script> + </head> <body> |