diff options
author | Andy Konwinski <andrew@apache.org> | 2013-08-23 21:05:35 +0000 |
---|---|---|
committer | Andy Konwinski <andrew@apache.org> | 2013-08-23 21:05:35 +0000 |
commit | c8c76fa427a913c4f5aa6174da642073d438196b (patch) | |
tree | 1d6f7a2cfb59e629304e39406e7e02a2285b697f /site | |
parent | d8e8b4acf52b638ed27c73d31f8e0dc0a2bba38e (diff) | |
download | spark-website-c8c76fa427a913c4f5aa6174da642073d438196b.tar.gz spark-website-c8c76fa427a913c4f5aa6174da642073d438196b.tar.bz2 spark-website-c8c76fa427a913c4f5aa6174da642073d438196b.zip |
Update readme, don't copy readme and don't remove site dir when compiling with jekyll, add some svn ignores
Diffstat (limited to 'site')
-rw-r--r-- | site/README.md | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/site/README.md b/site/README.md deleted file mode 100644 index f02631a4c..000000000 --- a/site/README.md +++ /dev/null @@ -1,24 +0,0 @@ -Welcome to the Spark website. - -## Generating the website HTML - -In this directory you will find text files formatted using Markdown, with an ".md" suffix. - -You can generate the html version of these files by (installing and) running `jekyll build` (for newer versions of Jekyll) or just `jekyll` (for older versions) in this directory. - -The easiest way to install jekyll is via a Ruby Gem. This will create a directory called `site` containing index.html as well as the rest of the compiled directories and files. Read more about Jekyll at http://jekyllrb.com/docs - -In addition to generating the site as html from the markdown files, jekyll can serve the site via a webserver. To build and run a webserver use the command `jekyll serve` (or --serve for older ones) which runs the webserver on port 4000, then visit the site at http://localhost:4000. - -## Pygments - -We also use pygments (http://pygments.org) for syntax highlighting in documentation markdown pages. - -To mark a block of code in your markdown to be syntax highlighted by jekyll during the compile phase, use the following syntax: - - {% highlight scala %} - // Your scala code goes here, you can replace scala with many other - // supported languages too. - {% endhighlight %} - - You probably don't need to install that unless you want to regenerate the pygments css file. It requires Python, and can be installed by running `sudo easy_install Pygments`.
\ No newline at end of file |