Skip to content

Commit 31c686b

Browse files
authored
feat: link picture to rendered GH notebook (#279) (#280)
* fix: link picture to GH notebook * fix attributes * another try * fix typo * replace built in attr with custom one (without .git suffix)
1 parent cfc76c0 commit 31c686b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
:jupyter: https://jupyter.org
1313
:spark-connect: https://spark.apache.org/docs/latest/spark-connect-overview.html
1414
:spark-connect-client: https://github.com/stackabletech/docker-images/blob/main/spark-connect-client/Dockerfile
15+
:repo-url: https://github.com/stackabletech/demos
1516

1617
This demo showcases the integration between {jupyterlab}[JupyterLab], {spark-connect}[Spark Connect] and {hadoop}[Apache Hadoop] deployed on the Stackable Data Platform (SDP) Kubernetes cluster.
1718
The SDP makes this integration easy by publishing a discovery ConfigMap for the HDFS cluster and a Spark Connect service.
@@ -115,7 +116,7 @@ image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_login.png[
115116
Log in with token `adminadmin`.
116117
You should arrive at your workspace:
117118

118-
image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.png[]
119+
image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.png[link={repo-url}/blob/{page-origin-refname}/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb,linktarget=_blank,alt="JupyterLab Notebook"]
119120

120121
Now you can double-click on the `notebook` folder on the left, open and run the contained file.
121122
Click on the double arrow (⏩️) to execute the Python scripts (click on the image above to go to the notebook file).

0 commit comments

Comments
 (0)