Skip to content

Commit 0a65651

Browse files
committed
fix: wrong rel path for external notebooks; minor style changes
1 parent 423f256 commit 0a65651

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/generate_notebook_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def collect_notebooks():
232232
abs_path = os.path.join(dirpath, file)
233233
rel_path = os.path.relpath(abs_path, ROOT_DIR).replace("\\", "/")
234234
p = pathlib.Path(rel_path)
235-
repo_path = pathlib.Path(*p.parts[3:])
235+
repo_path = pathlib.Path(*p.parts[2:])
236236
meta = extract_frontmatter(abs_path)
237237
nb = nbformat.read(abs_path, as_version=4)
238238
image = meta.get("image") or extract_last_image(nb, rel_path)

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
<script src="https://cdn.jsdelivr.net/npm/@luigi-project/client@2.21.1/luigi-client.js"></script>
1515
</head>
1616

17-
<body class="light responsive large-padding">
17+
<body class="light surface-container large-padding">
1818
<article class="surface-container-lowest large-padding">
1919
<h4>Example Explorer</h1>
2020
<eox-itemfilter
21-
class="large-margin"
21+
class="top-margin"
2222
id="catalog"
2323
style="--form-flex-direction: row; --card-gap: 10px; --card-width: 270px; --card-height: 200px; --card-border-radius: 8px;"
2424
>

0 commit comments

Comments
 (0)