diff --git a/content/pages/formations.en.md b/content/pages/formations.en.md index d260ee0..14dd29f 100644 --- a/content/pages/formations.en.md +++ b/content/pages/formations.en.md @@ -1,4 +1,5 @@ -Title: Formations +Title: Trainings +Slug: formations Date: 2023-01-17 15:41:00 Lang: en diff --git a/content/pages/formations.md b/content/pages/formations.md index 241c32f..e67bd2d 100644 --- a/content/pages/formations.md +++ b/content/pages/formations.md @@ -1,4 +1,5 @@ Title: Formations +Slug: formations Date: 2023-01-17 15:41:00 Lang: fr diff --git a/content/pages/python-initiation.en.md b/content/pages/python-initiation.en.md new file mode 100644 index 0000000..f24564b --- /dev/null +++ b/content/pages/python-initiation.en.md @@ -0,0 +1,43 @@ +Title: Python introduction +Slug: python-initiation +Date: 2023-01-17 15:41:00 +Lang: en + +This is the first one of my two Python trainings, it has no prerequisites. + + +## Goals + +At the end for this trainings, trainees are know the Python basics and +are able to write simple software, maintain it, and modify existing +software. + +- Implement a simple program resolving a well defined task. +- Read, understand, and modify Python code written by someone else. +- Redact tests. + + +## Content + +- Builtin types (`bool`, `int`, `float`, `str`, …) +- Operators +- Variables +- Functions +- Instructions (`for`, `if`, `while`, …) +- Methods +- List comprehensions +- Slices +- Classes +- `pip` and `venvs` +- Packaging Python +- Good habits + + +## Duration + +This training spans on three days, ideally. + + +## Contact + +To know more, please shoot me an email at [julien@palard.fr](mailto:julien@palard.fr). diff --git a/content/pages/python-initiation.md b/content/pages/python-initiation.md index 9fdda0c..119f1d1 100644 --- a/content/pages/python-initiation.md +++ b/content/pages/python-initiation.md @@ -1,5 +1,7 @@ Title: Python initiation +Slug: python-initiation Date: 2023-01-17 15:41:00 +Lang: fr C’est la première des deux formations Python que je propose, accessible sans prérequis. diff --git a/pelicanconf.py b/pelicanconf.py index f25b2e5..118280a 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -53,9 +53,14 @@ DEFAULT_LANG = "fr_FR" I18N_SUBSITES = { 'en': { 'LOCALE': 'en_US', - 'THEME_STATIC_DIR': '../theme' - } + 'THEME_STATIC_DIR': '../theme', + 'MENUITEMS': ( + ("Trainings", "/pages/formations.html"), + ("Talks", "/pages/talks.html"), + ("Articles", "/blog/"), + ) } +} PATH = "content"