Skip to content

Commit 5b0f33d

Browse files
fix nav and website
1 parent b3fbfa2 commit 5b0f33d

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

examples/introduction.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,11 @@
1212
# 4. [Working with collections of tasks](../Basics/simple_suites_tutorial/)
1313
#
1414
# ## Advanced
15-
# 1 .
15+
# 1. [Getting splits for datasets from tasks](../Advanced/task_manual_iteration_tutorial/)
16+
# 2. [Creating and uploading datasets](../Advanced/create_upload_tutorial/)
17+
# 3. [Searching and editing datasets](../Advanced/datasets_tutorial/)
18+
# 4. [Searching and creating tasks](../Advanced/task_tutorial/)
19+
# 5. [Listing, downloading, and uploading suites](../Advanced/suites_tutorial/)
20+
# 6. [Listing, downloading, and uploading studies](../Advanced/study_tutorial/)
21+
# 7. [Downloading evaluation results](../Advanced/fetch_evaluations_tutorial/)
22+
# 8. [Configuring logging](../Advanced/configure_logging/)

scripts/gen_ref_pages.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
66
"""
77

8+
from __future__ import annotations
9+
810
from pathlib import Path
9-
import shutil
1011

1112
import mkdocs_gen_files
1213

@@ -44,6 +45,8 @@
4445
examples_dir = root / "examples"
4546
examples_doc_dir = root / "docs" / "examples"
4647
for path in sorted(examples_dir.rglob("*.py")):
48+
if "_external_or_deprecated" in path.parts:
49+
continue
4750
dest_path = Path("examples") / path.relative_to(examples_dir)
4851
with mkdocs_gen_files.open(dest_path, "w") as dest_file:
4952
print(path.read_text(), file=dest_file)

0 commit comments

Comments
 (0)