-
Notifications
You must be signed in to change notification settings - Fork 909
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganise the documentation structure for Kedro / Databricks integra…
…tion (#2442) * Remove visualization docs from deployment section Signed-off-by: Jannic Holzer <[email protected]> * Add new directory and new visualization docs Signed-off-by: Jannic Holzer <[email protected]> * Remove old deployment docs Signed-off-by: Jannic Holzer <[email protected]> * Add deployment docs to new directory Signed-off-by: Jannic Holzer <[email protected]> * Modify spelling of visualize to British English 'visualise' Signed-off-by: Jannic Holzer <[email protected]> * Add new documentation to index Signed-off-by: Jannic Holzer <[email protected]> * Fix lint Signed-off-by: Jannic Holzer <[email protected]> * Modify title of deployment guide Signed-off-by: Jannic Holzer <[email protected]> * Remove spurious max depth to test if docs build Signed-off-by: Jannic Holzer <[email protected]> * Refactor index.rst to try to avoid build failing Signed-off-by: Jannic Holzer <[email protected]> * Modify call to sphinx-build to test if RTD will work Signed-off-by: Jannic Holzer <[email protected]> * Revise index.rst Signed-off-by: Jo Stichbury <[email protected]> * Lint and resolve Signed-off-by: Jo Stichbury <[email protected]> Signed-off-by: Jannic Holzer <[email protected]> * Change title to include mention of Notebooks Signed-off-by: Jannic Holzer <[email protected]> * Remove verbosity from viz on Databricks intro Signed-off-by: Jannic Holzer <[email protected]> * Revert command modifcation Signed-off-by: Jannic Holzer <[email protected]> * Rename databricks visualisation docs Signed-off-by: Jannic Holzer <[email protected]> * Add a line between copy and code snippets for rendering Co-authored-by: Jo Stichbury <[email protected]> Signed-off-by: Jannic Holzer <[email protected]> * Remove gerund Co-authored-by: Jo Stichbury <[email protected]> Signed-off-by: Jannic Holzer <[email protected]> * Remove spurious 'i.e.' Co-authored-by: Jo Stichbury <[email protected]> Signed-off-by: Jannic Holzer <[email protected]> * Rename workflow_integration to integrations Signed-off-by: Jannic Holzer <[email protected]> * Rename index entry to 'Integrations' Signed-off-by: Jannic Holzer <[email protected]> * Convert databricks.rst to MyST format Signed-off-by: Jannic Holzer <[email protected]> * Rename databricks.rst to databricks.md Signed-off-by: Jannic Holzer <[email protected]> * Remove spurious conflict messages Signed-off-by: Jannic Holzer <[email protected]> --------- Signed-off-by: Jannic Holzer <[email protected]> Signed-off-by: Jo Stichbury <[email protected]> Co-authored-by: Jo Stichbury <[email protected]>
- Loading branch information
Showing
7 changed files
with
52 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Databricks integration | ||
|
||
```{toctree} | ||
:caption: Databricks | ||
:maxdepth: 2 | ||
databricks_workspace.md | ||
visualisation.md | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# How to run Kedro-Viz on Databricks | ||
|
||
[Kedro-Viz](../visualisation/kedro-viz_visualisation.md) is a tool that allows you to visualise your Kedro pipeline. It is a standalone web application that runs on a web browser, it can be run on a local machine or on Databricks itself. | ||
|
||
For Kedro-Viz to run with your Kedro project, you need to ensure that both the packages are installed in the same scope (notebook-scoped vs. cluster library). This means that if you `%pip install kedro` from inside your notebook then you should also `%pip install kedro-viz` from inside your notebook. | ||
If your cluster comes with Kedro installed on it as a library already then you should also add Kedro-Viz as a [cluster library](https://docs.microsoft.com/en-us/azure/databricks/libraries/cluster-libraries). | ||
|
||
Kedro-Viz can then be launched in a new browser tab with the `%run_viz` line magic: | ||
|
||
```ipython | ||
In [2]: %run_viz | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
PySpark integration | ||
============================================= | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: PySpark | ||
|
||
pyspark_integration.md |
File renamed without changes.