Skip to content

Commit

Permalink
[Ready] Add video embeds of course to docs (#3542)
Browse files Browse the repository at this point in the history
* First drop of video embeds

Signed-off-by: Jo Stichbury <[email protected]>

* Update index.md

Signed-off-by: Jo Stichbury <[email protected]>

* Use flag to resize responsively for screen size

Signed-off-by: Jo Stichbury <[email protected]>

* Update docs/source/course/index.md

Signed-off-by: Jo Stichbury <[email protected]>

* Update docs/source/introduction/index.md

Signed-off-by: Jo Stichbury <[email protected]>

* Update docs/source/tutorial/add_another_pipeline.md

Signed-off-by: Jo Stichbury <[email protected]>

* Update docs/source/tutorial/create_a_pipeline.md

Signed-off-by: Jo Stichbury <[email protected]>

* Update docs/source/tutorial/create_a_pipeline.md

Signed-off-by: Jo Stichbury <[email protected]>

* Update docs/source/tutorial/set_up_data.md

Signed-off-by: Jo Stichbury <[email protected]>

* Update docs/source/tutorial/spaceflights_tutorial.md

Signed-off-by: Jo Stichbury <[email protected]>

---------

Signed-off-by: Jo Stichbury <[email protected]>
  • Loading branch information
stichbury committed Jan 25, 2024
1 parent 7384abd commit 0a62ead
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"notfound.extension",
"sphinxcontrib.jquery",
"sphinx.ext.intersphinx",
"sphinxcontrib.youtube",
]

# enable autosummary plugin (table of contents for modules/classes/class
Expand Down
5 changes: 5 additions & 0 deletions docs/source/course/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ If you like to learn from video, you can follow our [hands-on course "Introducti

The course is structured into sections and these are each broken into short videos that cover specific Kedro topics. You'll walk through the [spaceflights tutorial](../tutorial/spaceflights_tutorial.md) and get hands-on with the example. Along the way, you'll learn key Kedro concepts like datasets and the Kedro Data Catalog, nodes and pipelines, and configuration management.

```{eval-rst}
.. youtube:: DD7JuYKp6BA
:width: 100%
```

## Who is this course for?

This course is for data scientists, data engineers and machine learning engineers. You can be junior, mid-level or senior in your field of work. You're likely to be hands-on with projects, or a decision-maker who regularly makes design and implementation choices about Python data products.
Expand Down
5 changes: 5 additions & 0 deletions docs/source/introduction/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Kedro is an open-source Python framework to create reproducible, maintainable, and modular data science code. It uses software engineering best practices to help you build production-ready data science pipelines.

```{eval-rst}
.. youtube:: PdNkECqvI58
:width: 100%
```

Kedro is hosted by the [LF AI & Data Foundation](https://lfaidata.foundation/), and you can find the [Kedro source code on GitHub](https://github.com/kedro-org/kedro).

In the following chapters, you will learn [how to set up Kedro](../get_started/install.md) and discover the [key Kedro concepts](../get_started/kedro_concepts.md). You can then review the [spaceflights tutorial](../tutorial/tutorial_template.md) to get hands-on experience with a Kedro project.
Expand Down
1 change: 0 additions & 1 deletion docs/source/tutorial/add_another_pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -520,5 +520,4 @@ kedro run --runner=module.path.to.my.runner

`ParallelRunner` performs task parallelisation via multiprocessing, while `ThreadRunner` is intended for use with remote execution engines such as [Spark](../integrations/pyspark_integration.md) and {class}`Dask<kedro-datasets:kedro_datasets.dask.ParquetDataset>`.


You can find out more about the runners Kedro provides, and how to create your own, in the [pipeline documentation about runners](../nodes_and_pipelines/run_a_pipeline.md).
15 changes: 15 additions & 0 deletions docs/source/tutorial/create_a_pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ The data processing pipeline prepares the data for model building by combining t
```{note}
Kedro provides the `kedro pipeline create` command to add the skeleton code for a new pipeline. If you are writing a project from scratch and want to add a new pipeline, run the following from the terminal: `kedro pipeline create <pipeline_name>`. You do **not** need to do this in the spaceflights example as it is already supplied by the starter project.
```
### Watch the video

The [hands-on video course](../course/index.md#learn-kedro-with-hands-on-video) walks through data exploration and data processing for the spaceflights data. There are several videos in the playlist that cover the topic starting with the following:

```{eval-rst}
.. youtube:: bZD8N0yv3Fs
:width: 100%
```

## Data preprocessing node functions

Expand Down Expand Up @@ -342,6 +350,13 @@ This command automatically opens a browser tab to serve the visualisation at `ht

To exit, close the browser tab. To regain control of the terminal, enter `^+c` on Mac or `Ctrl+c` on Windows or Linux machines.

### Watch the video

```{eval-rst}
.. youtube:: KWqSzbHgNW4
:width: 100%
```

## Checkpoint

This is an excellent place to take a breath and summarise what you have seen in the example so far.
Expand Down
7 changes: 7 additions & 0 deletions docs/source/tutorial/set_up_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ When you have finished, close `ipython` session with `exit()`.

## Further information

### Watch the video

```{eval-rst}
.. youtube:: rl2cncGxyts
:width: 100%
```

### Custom data

{py:mod}`Kedro supports numerous datasets <kedro-datasets:kedro_datasets>` out of the box, but you can also add support for any proprietary data format or filesystem.
Expand Down
6 changes: 6 additions & 0 deletions docs/source/tutorial/spaceflights_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ spaceflights_tutorial_faqs

Photo by <a href="https://unsplash.com/@ivvndiaz">Ivan Diaz</a> on <a href="https://unsplash.com/s/photos/spaceship">Unsplash</a>

## Watch the video

```{eval-rst}
.. youtube:: YBY2Lcz7Gw4
:width: 100%
```

## Get help
If you encounter an issue with the tutorial:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ docs = [
"ipykernel>=5.3, <7.0",
"myst-parser>=1.0,<2.1",
"Jinja2<3.2.0",
"sphinxcontrib-youtube",
]
all = [ "kedro[test,docs]" ]

Expand Down

0 comments on commit 0a62ead

Please sign in to comment.