diff options
author | Josh Rosen <joshrosen@databricks.com> | 2016-07-14 15:55:36 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-07-14 15:55:36 -0700 |
commit | 972673aca562b24c885801d2ac48e0df95cde9eb (patch) | |
tree | e8b92b9a1d662f07adce905842baf4c7d02b0af9 /sql/README.md | |
parent | 01c4c1fa539a6c601ea0d8960363e895c17a8f76 (diff) | |
download | spark-972673aca562b24c885801d2ac48e0df95cde9eb.tar.gz spark-972673aca562b24c885801d2ac48e0df95cde9eb.tar.bz2 spark-972673aca562b24c885801d2ac48e0df95cde9eb.zip |
[SPARK-16555] Work around Jekyll error-handling bug which led to silent failures
If a custom Jekyll template tag throws Ruby's equivalent of a "file not found" exception, then Jekyll will stop the doc building process but will exit with a successful status, causing our doc publishing jobs to silently fail.
This is caused by https://github.com/jekyll/jekyll/issues/5104, a case of bad error-handling logic in Jekyll. This patch works around this by updating our `include_example.rb` plugin to catch the exception and exit rather than allowing it to bubble up and be ignored by Jekyll.
I tested this manually with
```
rm ./examples/src/main/scala/org/apache/spark/examples/sql/SparkSQLExample.scala
cd docs
SKIP_API=1 jekyll build
echo $?
```
Author: Josh Rosen <joshrosen@databricks.com>
Closes #14209 from JoshRosen/fix-doc-building.
Diffstat (limited to 'sql/README.md')
0 files changed, 0 insertions, 0 deletions