Skip to content

Commit 348aff8

Browse files
committed
add tutorials
1 parent 42a3366 commit 348aff8

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/build-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build_and_publish_docs
1+
name: Build and publish docs
22

33
on:
44
push:

docs/source/conf.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
import os
1010
import sys
1111

12+
from docs.source.docs_utils.tutorials import generate_tutorial_links_for_notebook_creation
13+
1214
conf_dir = os.path.dirname(os.path.abspath(__file__)) # noqa: PTH100, PTH120
1315

1416
sys.path.insert(0, conf_dir)
@@ -73,13 +75,13 @@
7375

7476

7577
def setup(_) -> None: # noqa: ANN001
76-
# generate_tutorial_links_for_notebook_creation(
77-
# [
78-
# ("tutorials.pipeline_optimization", "Pipeline Optimization"),
79-
# ("tutorials.modules.scoring", "Scoring Modules", [("linear", "Linear Scorer")]),
80-
# ("tutorials.modules.prediction", "Prediction Modules", [("argmax", "Argmax Predictor")]),
81-
# ]
82-
# )
78+
generate_tutorial_links_for_notebook_creation(
79+
[
80+
("tutorials.pipeline_optimization", "Pipeline Optimization"),
81+
("tutorials.modules.scoring", "Scoring Modules", [("linear", "Linear Scorer")]),
82+
("tutorials.modules.prediction", "Prediction Modules", [("argmax", "Argmax Predictor")]),
83+
]
84+
)
8385
regenerate_apiref(
8486
[
8587
("autointent.configs", "Configs"),

0 commit comments

Comments
 (0)