Skip to content

Commit d555fa7

Browse files
committed
warninglang partout
1 parent 6d37e77 commit d555fa7

File tree

7 files changed

+24
-15
lines changed

7 files changed

+24
-15
lines changed

_extensions/linogaliana/lang-switch/warninglang.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ function Div(el)
1414
local link = filename_relative:gsub("/content/", "/en/content/")
1515
html_text =
1616
"Ceci est la version française 🇫🇷 de ce chapitre, " ..
17-
"pour voir la version anglaise allez " ..
18-
"<a href=\"https://pythonds.linogaliana.fr/" .. link .. "\">ici</a>."
17+
"pour voir la version anglaise rendez-vous sur " ..
18+
"<a href=\"https://pythonds.linogaliana.fr/" .. link .. "\">le site du cours</a>."
1919
end
2020

2121
-- Ici on réintroduit bien le callout

content/manipulation/02_pandas_intro.qmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ eval: true
3131
>}}
3232
3333

34-
::: {.content-visible when-format="ipynb"}
35-
{{warninglang}}
34+
:::: {.content-visible when-format="ipynb"}
35+
::: {.warninglang .callout-warning}
3636
:::
37+
::::
3738

3839
::: {.content-visible when-profile="fr"}
3940

content/manipulation/02_pandas_suite.qmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ eval: false
3131
>}}
3232
3333

34-
::: {.content-visible when-format="ipynb"}
35-
{{warninglang}}
34+
:::: {.content-visible when-format="ipynb"}
35+
::: {.warninglang .callout-warning}
3636
:::
37+
::::
3738

3839
::: {.content-visible when-profile="fr"}
3940

content/manipulation/03_geopandas_intro.qmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ bibliography: ../../reference.bib
2424
printMessage="true"
2525
>}}
2626
27-
::: {.content-visible when-format="ipynb"}
28-
{{warninglang}}
27+
:::: {.content-visible when-format="ipynb"}
28+
::: {.warninglang .callout-warning}
2929
:::
30+
::::
31+
3032

3133
:::: {.content-visible when-profile="fr"}
3234

content/manipulation/04a_webscraping_TP.qmd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ echo: false
2626
printMessage="true"
2727
>}}
2828
29-
30-
::: {.content-visible when-format="ipynb"}
31-
{{warninglang}}
29+
:::: {.content-visible when-format="ipynb"}
30+
::: {.warninglang .callout-warning}
3231
:::
32+
::::
33+
3334

3435
:::: {.content-visible when-profile="fr"}
3536

content/manipulation/04b_regex_TP.qmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ echo: false
2525
>}}
2626
2727

28-
::: {.content-visible when-format="ipynb"}
29-
{{warninglang}}
28+
:::: {.content-visible when-format="ipynb"}
29+
::: {.warninglang .callout-warning}
3030
:::
31+
::::
32+
3133

3234
:::: {.content-visible when-profile="fr"}
3335

content/manipulation/04c_API_TP.qmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ echo: false
2828
>}}
2929
3030

31-
::: {.content-visible when-format="ipynb"}
32-
{{warninglang}}
31+
:::: {.content-visible when-format="ipynb"}
32+
::: {.warninglang .callout-warning}
3333
:::
34+
::::
35+
3436

3537

3638
::: {.content-visible when-profile="fr"}

0 commit comments

Comments
 (0)