diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15ecab9..5d6aa30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,8 +42,7 @@ jobs: - name: Build HTML shell: bash -l {0} run: | - jb build lectures --path-output ./ -n --keep-going - # TODO: Re-enable -W flag once all lectures are translated and warnings are resolved + jb build lectures --path-output ./ -n -W --keep-going - name: Upload Execution Reports uses: actions/upload-artifact@v7 if: failure() diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2666901..b9d5026 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -56,8 +56,7 @@ jobs: - name: Build HTML shell: bash -l {0} run: | - jb build lectures --path-output ./ -n --keep-going - # TODO: Re-enable -W flag once all lectures are translated and warnings are resolved + jb build lectures --path-output ./ -n -W --keep-going # Serves at the default Pages URL (no cname): # https://quantecon.github.io/lecture-python-programming.fr/ - name: Deploy to GitHub Pages diff --git a/lectures/_admonition/gpu.md b/lectures/_admonition/gpu.md new file mode 100644 index 0000000..fe1c5aa --- /dev/null +++ b/lectures/_admonition/gpu.md @@ -0,0 +1,12 @@ +```{admonition} GPU +:class: warning + +Ce cours a été construit sur une machine disposant d'un GPU — bien qu'il fonctionne également sans. + +[Google Colab](https://colab.research.google.com/) propose une offre gratuite avec des GPU +auxquels vous pouvez accéder comme suit : + +1. Cliquez sur l'icône « play » en haut à droite +2. Sélectionnez Colab +3. Réglez l'environnement d'exécution pour inclure un GPU +```