|
15 | 15 | TUTORIAL = WWW / "robotkernel-tutorial" |
16 | 16 | NOTEBOOKS = { |
17 | 17 | EXAMPLES: KERNEL / "examples", |
18 | | - TUTORIAL: KERNEL / "docs" / "notebooks" |
| 18 | + TUTORIAL: KERNEL / "src" / "robotkernel" / "resources" / "notebooks" / "tutorial" |
19 | 19 | } |
20 | 20 | SVG = SRC_DIR / "robotlab" / "src" / "robotlab" / "icons" / "starter.svg" |
21 | 21 |
|
|
33 | 33 | for dest, src in NOTEBOOKS.items() |
34 | 34 | ] |
35 | 35 |
|
| 36 | + |
36 | 37 | print("making starters...") |
37 | 38 | (ETC / "robotlab-starters.json").write_text(json.dumps({ |
38 | 39 | "StarterManager": { |
39 | 40 | "extra_starters": { |
40 | | - "robotkernel-examples": { |
41 | | - "type": "copy", |
42 | | - "label": "Robotkernel Examples", |
43 | | - "description": "Examples of using robotkernel", |
44 | | - "icon": SVG.read_text().replace("jp-icon3", "jp-icon-contrast1"), |
45 | | - "src": str(EXAMPLES) |
| 41 | + "robotkernel-quickstart": { |
| 42 | + "label": "", |
| 43 | + "description": "", |
| 44 | + "type": "notebook", |
| 45 | + "py_src": "robotkernel", |
| 46 | + "src": "resources/starter/quickstart-starter.ipynb" |
46 | 47 | }, |
47 | 48 | "robotkernel-tutorial": { |
| 49 | + "label": "Tutorial", |
| 50 | + "description": "Tutorial for Robot Framework on Jupyter", |
48 | 51 | "type": "copy", |
49 | | - "label": "Robotkernel Tutorial", |
50 | | - "description": "A guided tutorial through using robotkernel", |
51 | | - "icon": SVG.read_text().replace("jp-icon3", "jp-icon-contrast3"), |
52 | | - "src": str(TUTORIAL) |
| 52 | + "py_src": "robotkernel", |
| 53 | + "src": "resources/notebooks/tutorial", |
| 54 | + "icon": SVG.read_text().replace("jp-icon3", "jp-icon-contrast3") |
53 | 55 | } |
54 | 56 | } |
55 | 57 | } |
|
0 commit comments