From 44f795fca6fecee971d35018cbf3ba4ee1a59b4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Biron?= Date: Fri, 14 Nov 2025 15:15:30 +0100 Subject: [PATCH 1/3] Add iframe wrapper --- source/static/css/components/iframe.css | 14 ++++++++++++++ source/static/style.css | 1 + 2 files changed, 15 insertions(+) create mode 100644 source/static/css/components/iframe.css diff --git a/source/static/css/components/iframe.css b/source/static/css/components/iframe.css new file mode 100644 index 00000000..b5ada716 --- /dev/null +++ b/source/static/css/components/iframe.css @@ -0,0 +1,14 @@ +.iframe-wrapper { + position: relative; + width: 100%; + padding-bottom: 56.25%; /* Ratio 16:9 → 9/16 = 0.5625 */ + height: 0; +} + +.iframe-wrapper iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} diff --git a/source/static/style.css b/source/static/style.css index 1dbadaed..1973270d 100644 --- a/source/static/style.css +++ b/source/static/style.css @@ -11,3 +11,4 @@ @import 'css/components/mobile-toggle.css'; @import 'css/components/sphinxsidebar.css'; @import 'css/components/footer.css'; +@import 'css/components/iframe.css'; From cdace322dd0d3979326d87c77f8176be68b9b151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Biron?= Date: Fri, 14 Nov 2025 15:16:22 +0100 Subject: [PATCH 2/3] Embed videos from PeerTube --- source/training/index.md | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/source/training/index.md b/source/training/index.md index da3b1755..b7b63da3 100644 --- a/source/training/index.md +++ b/source/training/index.md @@ -18,7 +18,10 @@ python-api Ensuring everyone has the appropriate tools and background knowledge to start the training. - [Slide deck](./kickoff.md). -- [Video](https://cloud.openfisca.org/s/yM3RYSd43e2NG7C). + +
+ +
### Rules as Code background @@ -33,21 +36,30 @@ Introducing Rules as Code (RaC) and how it fits with existing practices and inst Clone the country template, set up a public git repository. - [Slide deck](./getting-started.md). -- [Video](https://cloud.openfisca.org/s/C3W8eS3XZEPY942). + +
+ +
### Choosing which rules to start modelling Understanding policy relevance, technical constraints and testing considerations. - [Slide deck](https://cloud.openfisca.org/s/ebpn7LDpYNtyXtC). -- [Video](https://cloud.openfisca.org/s/AXdkgFCkodRmfEC). + +
+ +
### Writing OpenFisca code Writing variables, formulas, parameters and test suites. - [Slide deck](./writing-code.md). -- [Video](https://cloud.openfisca.org/s/pRP2RbD9ymHtfck). + +
+ +
### Modelling collaboratively across silos and disciplines @@ -69,7 +81,10 @@ Leveraging OpenFisca calculations for datascience and large-scale computation. Integrating OpenFisca calculations in a web or mobile application. - [Slide deck](./web-api.md). -- [Video](https://cloud.openfisca.org/s/nd6Zd3CGMwBmBAQ). + +
+ +
### Building an OpenFisca-powered web application from scratch From 79e0c7417691a494459533f4c4bc06a4445615c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Biron?= Date: Sun, 11 Jan 2026 12:08:08 +0100 Subject: [PATCH 3/3] Fix markdownlint-cli version As the v0.46.0 introduce MD060 rule, that this rule cannot be formatted automatically with the --fix parameter and that requires manual action on a large number of files to be linted, i choose to fix the version. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8a71aa72..dd00bb08 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ test: @${MAKE} test-build lint: # requires Node and NPM to be installed - @npx --yes markdownlint-cli "**/*.md" + @npx --yes markdownlint-cli@0.45.0 "**/*.md" spellcheck: # check for spelling errors @codespell