Skip to content

Commit cb889f8

Browse files
authored
Merge pull request #447 from yahoo/leewyang_spark_rtd
update to Spark 2.4.4; use sphinx_rtd_theme
2 parents 0c57b93 + 35288e5 commit cb889f8

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ matrix:
44
python: 2.7
55
dist: trusty
66
before_install:
7-
- curl -LO http://www-us.apache.org/dist/spark/spark-2.4.3/spark-2.4.3-bin-hadoop2.7.tgz
7+
- curl -LO http://www-us.apache.org/dist/spark/spark-2.4.4/spark-2.4.4-bin-hadoop2.7.tgz
88
- export SPARK_HOME=./spark
99
- mkdir $SPARK_HOME
10-
- tar -xf spark-2.4.3-bin-hadoop2.7.tgz -C $SPARK_HOME --strip-components=1
10+
- tar -xf spark-2.4.4-bin-hadoop2.7.tgz -C $SPARK_HOME --strip-components=1
1111
- export PATH=$SPARK_HOME/bin:$PATH
1212
- export SPARK_LOCAL_IP=127.0.0.1
1313
- export SPARK_CLASSPATH=./lib/tensorflow-hadoop-1.0-SNAPSHOT.jar
@@ -21,10 +21,10 @@ matrix:
2121
python: 3.6
2222
dist: trusty
2323
before_install:
24-
- curl -LO http://www-us.apache.org/dist/spark/spark-2.4.3/spark-2.4.3-bin-hadoop2.7.tgz
24+
- curl -LO http://www-us.apache.org/dist/spark/spark-2.4.4/spark-2.4.4-bin-hadoop2.7.tgz
2525
- export SPARK_HOME=./spark
2626
- mkdir $SPARK_HOME
27-
- tar -xf spark-2.4.3-bin-hadoop2.7.tgz -C $SPARK_HOME --strip-components=1
27+
- tar -xf spark-2.4.4-bin-hadoop2.7.tgz -C $SPARK_HOME --strip-components=1
2828
- export PATH=$SPARK_HOME/bin:$PATH
2929
- export SPARK_LOCAL_IP=127.0.0.1
3030
- export SPARK_CLASSPATH=./lib/tensorflow-hadoop-1.0-SNAPSHOT.jar

docs/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# documentation root, use os.path.abspath to make it absolute, like shown here.
1414
#
1515
import os
16+
import sphinx_rtd_theme
1617
import sys
1718

1819
_pysrc = os.path.abspath(os.path.join(os.path.abspath(__file__), '..', '..', '..'))
@@ -45,6 +46,7 @@
4546
'sphinx.ext.autodoc',
4647
'sphinx.ext.viewcode',
4748
'sphinx.ext.githubpages',
49+
'sphinx_rtd_theme'
4850
]
4951

5052
# Add any paths that contain templates here, relative to this directory.
@@ -84,7 +86,7 @@
8486
# The theme to use for HTML and HTML Help pages. See the documentation for
8587
# a list of builtin themes.
8688
#
87-
html_theme = 'classic'
89+
html_theme = 'sphinx_rtd_theme'
8890

8991
# Theme options are theme-specific and customize the look and feel of a theme
9092
# further. For a list of options available for each theme, see the

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ py4j
33
pyspark
44
scipy
55
sphinx
6+
sphinx_rtd_theme
67
tensorflow

0 commit comments

Comments
 (0)