Skip to content

Commit 60a8981

Browse files
fix: add download links to notebooks (#94)
1 parent 5d4ad10 commit 60a8981

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

docs/notebook_source/1-the-basics.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
# %% [markdown]
1616
# # 🎨 Data Designer 101: The Basics
1717
#
18-
# [Click here](https://raw.githubusercontent.com/NVIDIA-NeMo/DataDesigner/refs/heads/main/docs/notebooks/1-the-basics.ipynb) to download this notebook to your computer.
19-
#
2018
# #### 📚 What you'll learn
2119
#
2220
# This notebook demonstrates the basics of Data Designer by generating a simple product review dataset.

docs/notebook_source/2-structured-outputs-and-jinja-expressions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
# %% [markdown]
1616
# # 🎨 Data Designer 101: Structured Outputs and Jinja Expressions
1717
#
18-
# [Click here](https://raw.githubusercontent.com/NVIDIA-NeMo/DataDesigner/refs/heads/main/docs/notebooks/2-structured-outputs-and-jinja-expressions.ipynb) to download this notebook to your computer.
19-
#
2018
# #### 📚 What you'll learn
2119
#
2220
# In this notebook, we will continue our exploration of Data Designer, demonstrating more advanced data generation using structured outputs and Jinja expressions.

docs/notebook_source/3-seeding-with-a-dataset.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
# %% [markdown]
1616
# # 🎨 Data Designer 101: Seeding Synthetic Data Generation with an External Dataset
1717
#
18-
# [Click here](https://raw.githubusercontent.com/NVIDIA-NeMo/DataDesigner/refs/heads/main/docs/notebooks/3-seeding-with-a-dataset.ipynb) to download this notebook to your computer.
19-
#
2018
# #### 📚 What you'll learn
2119
#
2220
# In this notebook, we will demonstrate how to seed synthetic data generation in Data Designer with an external dataset.

docs/overrides/main.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{% extends "base.html" %}
2+
3+
{% block content %}
4+
{% if page.nb_url %}
5+
<a href="{{ page.nb_url }}" title="Download Notebook" class="md-content__button md-icon">
6+
{% include ".icons/material/download.svg" %}
7+
</a>
8+
{% endif %}
9+
10+
{{ super() }}
11+
{% endblock content %}

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ nav:
3030

3131
theme:
3232
name: material
33+
custom_dir: docs/overrides
3334
font:
3435
text: Roboto
3536
code: Fira Code
@@ -76,6 +77,7 @@ plugins:
7677
execute: false
7778
include_requirejs: true
7879
ignore_h1_titles: True
80+
include_source: True
7981
- mkdocstrings:
8082
handlers:
8183
python:

0 commit comments

Comments
 (0)