Skip to content

Commit d38688e

Browse files
committed
yaml toc glob: -> pattern: + hidden entries
1 parent 66906a1 commit d38688e

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

notebooks/myst-toc.yml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ project:
4040
- file: howtos/encodings/HOWTO-encodings-nb.md
4141
- file: howtos/requests/HOWTO-requests-nb.md
4242
- file: howtos/adnwalk/HOWTO-adnwalk-nb.md
43-
- glob: tps/graph-bfs-dfs/README*-nb.md
43+
- pattern: tps/graph-bfs-dfs/README*-nb.md
4444
- file: howtos/subprocesses/HOWTO-subprocesses-nb.md
4545

4646
- title: TPs basiques
@@ -55,32 +55,34 @@ project:
5555
- file: tps/indexing-structs/README-indexing-structs-nb.md
5656
# itertools
5757
- file: tps/queens/README-queens-nb.md
58+
- pattern: tps/*/.teacher/*-corrige-nb.md
59+
hidden: true
5860

5961
- title: TPs classes
6062
children:
61-
- glob: tps/students-grades/README*-nb.md
62-
- glob: exos/basic/EXO-class-sort-hash-nb.md
63-
- glob: tps/auctions/README*-nb.md
64-
- glob: tps/unicode-boxes/README*-nb.md
65-
- glob: tps/explang/README*-nb.md
63+
- pattern: tps/students-grades/README*-nb.md
64+
- pattern: exos/basic/EXO-class-sort-hash-nb.md
65+
- pattern: tps/auctions/README*-nb.md
66+
- pattern: tps/unicode-boxes/README*-nb.md
67+
- pattern: tps/explang/README*-nb.md
6668

6769
- title: TPs graphes
6870
children:
69-
- glob: tps/graph-shortest-path/README*-nb.md
71+
- pattern: tps/graph-shortest-path/README*-nb.md
7072
- file: tps/metro/README-metro-nb.md
71-
- glob: tps/pagerank-thrones/README*-nb.md
72-
- glob: tps/puzzle8/README-*-nb.md
73+
- pattern: tps/pagerank-thrones/README*-nb.md
74+
- pattern: tps/puzzle8/README-*-nb.md
7375

7476
- title: TPs visu & games
7577
children:
76-
- glob: tps/snake/README*-nb.md
78+
- pattern: tps/snake/README*-nb.md
7779
# unfinished business
7880
# - "python-tps/flappybird-wip/README*.md"
79-
- glob: tps/boids/README*-nb.md
80-
- glob: tps/chatbot/README*-nb.md
81-
- glob: tps/redis/README*-nb.md
82-
- glob: tps/motus/README*-nb.md
83-
- glob: tps/dobble/README*-nb.md
81+
- pattern: tps/boids/README*-nb.md
82+
- pattern: tps/chatbot/README*-nb.md
83+
- pattern: tps/redis/README*-nb.md
84+
- pattern: tps/motus/README*-nb.md
85+
- pattern: tps/dobble/README*-nb.md
8486

8587
- title: lecture de code
8688
children:
@@ -93,9 +95,9 @@ project:
9395

9496
- title: sample code
9597
children:
96-
- glob: samples/*-nb.md
98+
- pattern: samples/*-nb.md
9799

98100
- title: WIP
99101
children:
100102
- file: tps/subprocesses-howto-nb.md
101-
- glob: tps/webscraper-wip/README*-nb.md
103+
- pattern: tps/webscraper-wip/README*-nb.md

0 commit comments

Comments
 (0)