| commit | 77b22e9b52e4b9406f14096c2c09f6c602f0987b | [log] [tgz] |
|---|---|---|
| author | panbingkun <pbk1982@gmail.com> | Tue Oct 24 08:28:21 2023 +0900 |
| committer | Hyukjin Kwon <gurwls223@apache.org> | Tue Oct 24 08:28:21 2023 +0900 |
| tree | 295f7a93c21cdc002eced247c65d3f69c210b9f6 | |
| parent | 935254d2ab6529b84bfab9a9cf476587316b8f73 [diff] |
update the canonical link, due to a change in some addresses in the latest version of the document The pr is followup https://github.com/apache/spark-website/pull/482. https://github.com/apache/spark-website/pull/482#issuecomment-1765322679 As discussed above, due to changes in some document addresses after version `3.3.0`, `the canonical link` is incorrect. We are now correcting it. Base on rule: For file that do not exist in version `latest`, delete the corresponding ref and update it for the rest. Author: panbingkun <pbk1982@gmail.com> Closes #483 from panbingkun/canonical_links_followup.
In this directory you will find text files formatted using Markdown, with an .md suffix.
Building the site requires Jekyll Rouge. The easiest way to install the right version of these tools is using Bundler and running bundle install in this directory.
See also https://github.com/apache/spark/blob/master/docs/README.md
A site build will update the directories and files in the site directory with the generated files. Using Jekyll via bundle exec jekyll locks it to the right version. So after this you can generate the html website by running bundle exec jekyll build in this directory. Use the --watch flag to have jekyll recompile your files as you save changes.
In addition to generating the site as HTML from the Markdown files, jekyll can serve the site via a web server. To build the site and run a web server use the command bundle exec jekyll serve which runs the web server on port 4000, then visit the site at http://localhost:4000.
Please make sure you always run bundle exec jekyll build after testing your changes with bundle exec jekyll serve, otherwise you end up with broken links in a few places.
To update Jekyll or any other gem please follow these steps:
Gemfilebundle update which updates the Gemfile.lockThe docs are not generated as part of the website. They are built separately for each release of Spark from the Spark source repository and then copied to the website under the docs directory. See the instructions for building those in the readme in the Spark project's /docs directory.
We also use Rouge for syntax highlighting in documentation Markdown pages. Its HTML output is compatible with CSS files designed for Pygments.
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.
To merge pull request, use the merge_pr.py script which also squashes the commits.