aboutsummaryrefslogtreecommitdiff
path: root/python/docs/_templates/layout.html
diff options
context:
space:
mode:
authornoelsmith <mail@noelsmith.com>2015-09-29 13:24:42 -0700
committerDavies Liu <davies.liu@gmail.com>2015-09-29 13:25:38 -0700
commitab41864f91713b450695babd5c1424622cb57a54 (patch)
tree40ca59e876e2b8f580c8d6dc0704d675fd1fa802 /python/docs/_templates/layout.html
parentb7ad54ec793af1c84973b402f5cceb88307f7996 (diff)
downloadspark-ab41864f91713b450695babd5c1424622cb57a54.tar.gz
spark-ab41864f91713b450695babd5c1424622cb57a54.tar.bz2
spark-ab41864f91713b450695babd5c1424622cb57a54.zip
[SPARK-10415] [PYSPARK] [MLLIB] [DOCS] Enhance Navigation Sidebar in PySpark API
These are CSS/JavaScript changes changes to make navigation in the PySpark API a bit simpler by adding the following to the sidebar: * Classes * Functions * Tags to highlight experimental features ![screen shot 2015-09-02 at 08 50 12](https://cloud.githubusercontent.com/assets/11915197/9634781/301f853a-518b-11e5-8d5c-fda202f6202f.png) Online example here: https://dl.dropboxusercontent.com/u/20821334/pyspark-api-nav-enhance/pyspark.mllib.html (The contribution is my original work and that I license the work to the project under the project's open source license) Author: noelsmith <mail@noelsmith.com> Closes #8571 from noel-smith/pyspark-api-nav-enhance.
Diffstat (limited to 'python/docs/_templates/layout.html')
-rw-r--r--python/docs/_templates/layout.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/docs/_templates/layout.html b/python/docs/_templates/layout.html
new file mode 100644
index 0000000000..ab36ebabab
--- /dev/null
+++ b/python/docs/_templates/layout.html
@@ -0,0 +1,6 @@
+{% extends "!layout.html" %}
+{% set script_files = script_files + ["_static/pyspark.js"] %}
+{% set css_files = css_files + ['_static/pyspark.css'] %}
+{% block rootrellink %}
+ {{ super() }}
+{% endblock %}