Skip to content

Commit 2b01e40

Browse files
committed
rough adaptation to myst: config
1 parent 65e67c0 commit 2b01e40

File tree

4 files changed

+151
-172
lines changed

4 files changed

+151
-172
lines changed

notebooks/_config.yml

Lines changed: 0 additions & 83 deletions
This file was deleted.

notebooks/_toc.yml

Lines changed: 0 additions & 89 deletions
This file was deleted.

notebooks/myst-toc.yml

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
version: 1
2+
3+
project:
4+
toc:
5+
6+
- file: README.md
7+
8+
- title: exercices débutants
9+
children:
10+
# input, loop, int(), except
11+
- file: exos/beginners/EXO-countdown-nb.md
12+
# import, argparse
13+
- file: exos/beginners/EXO-guess-nb.md
14+
# slicing, conditional expression, return/break
15+
- file: exos/beginners/EXO-palindrom-nb.md
16+
# sorted
17+
- file: exos/beginners/EXO-anagrams-nb.md
18+
# counter, regexp
19+
- file: exos/beginners/EXO-frequency-nb.md
20+
21+
- title: exercices basiques
22+
children:
23+
# str, ints, binary computations
24+
- file: exos/basic/EXO-ipsplit-nb.md
25+
# lists, side effects
26+
- file: exos/basic/EXO-skimlist-readme-nb.md
27+
# strs and formatting
28+
- file: exos/basic/EXO-invoice-nb.md
29+
# dicts
30+
- file: exos/basic/README-agenda-nb.md
31+
# basic counts, requires dicts
32+
- file: exos/basic/README-adnpercents-nb.md
33+
# filesystem / pathlib
34+
- file: exos/basic/EXO-files-sortby-nb.md
35+
- file: exos/basic/EXO-randomdate-readme-nb.md
36+
- file: exos/basic/EXO-wordcounts-readme-nb.md
37+
38+
- title: howtos
39+
children:
40+
- file: howtos/encodings/HOWTO-encodings-nb.md
41+
- file: howtos/requests/HOWTO-requests-nb.md
42+
- file: howtos/adnwalk/HOWTO-adnwalk-nb.md
43+
- glob: tps/graph-bfs-dfs/README*-nb.md
44+
- file: howtos/subprocesses/HOWTO-subprocesses-nb.md
45+
46+
- title: TPs basiques
47+
children:
48+
# ascii, utf8, binary, as well as various file formats
49+
# like pickle, json, yaml, csv
50+
- file: tps/files-formats/README-files-formats-nb.md
51+
- file: tps/watson/README-watson-nb.md
52+
# using dicts for indexing and sets for creating groups
53+
- file: tps/parse-people/README-parse-people-nb.md
54+
# using dicts for structs and for indexing
55+
- file: tps/indexing-structs/README-indexing-structs-nb.md
56+
# itertools
57+
- file: tps/queens/README-queens-nb.md
58+
59+
- title: TPs classes
60+
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
66+
67+
- title: TPs graphes
68+
children:
69+
- glob: tps/graph-shortest-path/README*-nb.md
70+
- file: tps/metro/README-metro-nb.md
71+
- glob: tps/pagerank-thrones/README*-nb.md
72+
- glob: tps/puzzle8/README-*-nb.md
73+
74+
- title: TPs visu & games
75+
children:
76+
- glob: tps/snake/README*-nb.md
77+
# unfinished business
78+
# - "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
84+
85+
- title: lecture de code
86+
children:
87+
- file: reading/snake/snake-nb.md
88+
89+
- title: "avancés"
90+
children:
91+
- file: exos/advanced/EXO-attributes-proxy-nb.md
92+
- file: exos/advanced/EXO-attributes-dynprop-nb.md
93+
94+
- title: sample code
95+
children:
96+
- glob: samples/*-nb.md
97+
98+
- title: WIP
99+
children:
100+
- file: tps/subprocesses-howto-nb.md
101+
- glob: tps/webscraper-wip/README*-nb.md

notebooks/myst.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# See docs at: https://mystmd.org/guide/frontmatter
2+
version: 1
3+
project:
4+
title: Python numérique exos
5+
# I suspect the intention was maybe to use this for the title tooltip ?
6+
# in any case as of now 2024 june the title is used for the tooltip too (a bit silly)
7+
# and I can't see where this is used
8+
description: "Python - various activities: exos, TPs and HOWTOs"
9+
# this one causes additional buttons to be shown
10+
# in the upper right area (close to the github button)
11+
license: CC-BY-NC-SA-4.0
12+
# inserted under the title
13+
authors:
14+
- Thierry Parmentelat
15+
github: https://github.com/flotpython/exos-ds
16+
keywords:
17+
- Informatique
18+
- Python
19+
- numpy
20+
- pandas
21+
- matplotlib
22+
- Jupyter
23+
date: 2025-09-3
24+
# bibliography: []
25+
26+
site:
27+
template: book-theme
28+
# used in the tab name
29+
title: python-exos
30+
# this would be for the horizontal header bar - not used here (yet)
31+
# nav: []
32+
# actions:
33+
# - title: Learn More
34+
# url: https://mystmd.org/guide
35+
domains: []
36+
options:
37+
# workaround for https://github.com/jupyter-book/mystmd/issues/1985#issuecomment-3232330240
38+
# we have converted the svg to ico
39+
# for that in Inkscape: set size as a square 72x72
40+
# and use Path -> Object to Path to convert the text to a path
41+
# and so, remove the dependency to font
42+
favicon: media/flotpython-favicon.svg
43+
logo: media/logo-exos-python.svg
44+
# very visible in the header
45+
logo_text: "Python - exos"
46+
style: "_static/style.css"
47+
folders: true
48+
49+
extends:
50+
- myst-toc.yml

0 commit comments

Comments
 (0)