GitHub user HyukjinKwon opened a pull request:
https://github.com/apache/spark/pull/14593
[MINOR][DOCS] Fix style in examples and inconsistent indentation across
documentation
## What changes were proposed in this pull request?
This PR fixes the documentation as below:
- Remove unnecessary spaces which is inconsistent spacing across
documentation.
- Fix the style in examples in documentation. This includes below:
- Python has 4 spaces and Java and Scala has 2 spaces (See
https://cwiki.apache.org/confluence/display/SPARK/Spark+Code+Style+Guide).
- Avoid excessive parentheses and curly braces for anonymous functions.
(See https://github.com/databricks/scala-style-guide#anonymous)
- Make consistent indentation for XML.
- Remove trailing multiple whitespaces at the end of file and lines
## How was this patch tested?
N/A
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyukjinKwon/spark minor-documentation
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14593.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #14593
----
commit c7d3e7b10b6bec585361aadef43e1f2046c0f5e2
Author: hyukjinkwon <[email protected]>
Date: 2016-08-11T04:06:39Z
Fix style in examples and inconsistent indentation across documentation
commit 3cff9477b10814d8fc9eeb27556b285e01d38956
Author: hyukjinkwon <[email protected]>
Date: 2016-08-11T04:36:18Z
Fix all similar instances across documentation
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]