Skip to content

Commit 8687256

Browse files
committed
draft myst.yml and toc
1 parent 21a924c commit 8687256

File tree

2 files changed

+105
-0
lines changed

2 files changed

+105
-0
lines changed

notebooks/_myst-toc.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
version: 1
2+
3+
project:
4+
toc:
5+
6+
- file: 0-0-prelude-nb.md
7+
8+
- title: introduction
9+
children:
10+
- pattern: 1-[0-9]*-nb.md
11+
- title: premiers pas
12+
children:
13+
- pattern: 101/0*
14+
- title: types de base
15+
children:
16+
- pattern: 2-[0-9]*-nb.md
17+
- title: syntaxe & instructions
18+
children:
19+
- pattern: 3-[0-9]*-nb.md
20+
- title: classes
21+
children:
22+
- pattern: 4-[0-9]*-nb.md
23+
- title: fonctions
24+
children:
25+
- pattern: 5-[0-9]*-nb.md
26+
- title: modules et imports
27+
children:
28+
- pattern: 6-[0-9]*-nb.md
29+
- title: divers
30+
children:
31+
- pattern: 7-[0-9]*-nb.md
32+
- title: "sujets avancés"
33+
children:
34+
- pattern: 8-[0-9]*-nb.md
35+
36+
# leftovers from a previous version
37+
# formerly in .nbhosting/nbhosting.yaml
38+
#- description: "Cours: suppl\xE9ments"
39+
# id: extras
40+
# name: extras
41+
# sections:
42+
# - name: numpy
43+
# notebooks:
44+
# - "slides-extras/1*.py"
45+
# - name: pandas
46+
# notebooks:
47+
# - "slides-extras/2*.py"
48+
# - name: notebooks
49+
# notebooks:
50+
# - "slides-extras/3*.py"
51+
# - name: tests
52+
# notebooks:
53+
# - "slides-extras/4*.py"
54+
# - name: doc
55+
# notebooks:
56+
# - "slides-extras/5*.py"
57+
# - name: packaging
58+
# notebooks:
59+
# - "slides-extras/6*.py"
60+
# - name: vscode
61+
# notebooks:
62+
# - "slides-extras/7*.py"

notebooks/myst.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# See docs at: https://mystmd.org/guide/frontmatter
2+
version: 1
3+
project:
4+
title: Programmer en Python
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: "Covering the basic concepts of Python programming"
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/slides
16+
keywords:
17+
- Informatique
18+
- MinesParis
19+
- PSL
20+
- UE12
21+
- Python
22+
date: 2025-04-22
23+
# bibliography: []
24+
25+
site:
26+
template: book-theme
27+
# used in the tab name
28+
title: programmer en Python
29+
# this would be for the horizontal header bar - not used here (yet)
30+
# nav: []
31+
# actions:
32+
# - title: Learn More
33+
# url: https://mystmd.org/guide
34+
domains: []
35+
options:
36+
favicon: media/flotpython-favicon.svg
37+
logo: media/logo-python.svg
38+
# very visible in the header
39+
logo_text: "Programmer en Python"
40+
style: "_static/style.css"
41+
42+
extends:
43+
- _myst-toc.yml

0 commit comments

Comments
 (0)