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 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'; 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