From 5698e303ff745b04d9d03a3b2ff91578a2c266bf Mon Sep 17 00:00:00 2001 From: Lino Galiana <33896139+linogaliana@users.noreply.github.com> Date: Fri, 3 Jun 2022 18:28:37 +0200 Subject: [PATCH] Finalise widget (#232) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * teste raw html * Automated changes * Automated changes * test avec rawhtml * Automated changes * Automated changes * un autre tp folium * Automated changes * Automated changes * test intégration plotyl * Automated changes * Automated changes * try rawhtml * Automated changes * Automated changes * chart * Automated changes * Automated changes * up * Automated changes * Automated changes * try diff shortcode * Automated changes * Automated changes * try diff shortcode * head plotly * Automated changes * Automated changes * Automated changes * tente basique * Automated changes * Automated changes * try as html * Automated changes * Automated changes * test show * Automated changes * Automated changes * regex replace header * ajoute chart plotly * Automated changes * Automated changes * add content * Automated changes * Automated changes * change ordre * Automated changes * up * not _index * Automated changes * Automated changes * not _index * Automated changes * retire * Automated changes * retire * Automated changes * retire * Automated changes * Automated changes * tweak all * Automated changes * essaie diff * Automated changes * encoding * Automated changes * retire espace * Automated changes * Automated changes * plotly * derniere modif * update workdlow * Automated changes * Automated changes * retour * Automated changes * Automated changes Co-authored-by: github-actions[bot] --- .github/workflows/prod.yml | 14 ++------------ content/course/manipulation/04c_API_TP/index.qmd | 1 + .../course/modelisation/0_preprocessing/index.qmd | 1 + content/course/visualisation/maps/index.qmd | 1 + content/course/visualisation/matplotlib/index.qmd | 1 + 5 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 301819710..21ce4857a 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -30,20 +30,10 @@ jobs: mv content/course/manipulation/index.md content/course/manipulation/_index.md mv content/course/visualisation/index.md content/course/visualisation/_index.md mv content/course/modelisation/index.md content/course/modelisation/_index.md - #git diff --name-only origin/master origin/${GITHUB_HEAD_REF} >> diff.txt - #cat diff.txt - #Rscript -e 'source("./build/build_light.R")' + python build/wc_website.py + python build/tweak_markdown.py hugo mod graph hugo -D --themesDir themes -t github.com - - name: Clean files with Python function - run: | - pip install matplotlib wordcloud nltk - python build/wc_website.py - python build/post-build.py - - name: Copy notebooks in dedicated directory - run: | - mkdir -p notebooks - python build/move_files.py notebooks - name: Install npm uses: actions/setup-node@v2 with: diff --git a/content/course/manipulation/04c_API_TP/index.qmd b/content/course/manipulation/04c_API_TP/index.qmd index 363553ee6..4cae8d40a 100644 --- a/content/course/manipulation/04c_API_TP/index.qmd +++ b/content/course/manipulation/04c_API_TP/index.qmd @@ -385,6 +385,7 @@ for i in range(0,len(ventes)): m.fit_bounds([sw, ne]) ``` + ```{python} #| eval : false # Afficher la carte diff --git a/content/course/modelisation/0_preprocessing/index.qmd b/content/course/modelisation/0_preprocessing/index.qmd index c495550ea..b95fd6ff9 100644 --- a/content/course/modelisation/0_preprocessing/index.qmd +++ b/content/course/modelisation/0_preprocessing/index.qmd @@ -3,6 +3,7 @@ title: "Préparation des données pour construire un modèle" date: 2020-10-15T13:00:00Z draft: false weight: 10 +plotly: true output: html_document: keep_md: true diff --git a/content/course/visualisation/maps/index.qmd b/content/course/visualisation/maps/index.qmd index d1502ff7a..23db1b70b 100644 --- a/content/course/visualisation/maps/index.qmd +++ b/content/course/visualisation/maps/index.qmd @@ -556,3 +556,4 @@ La carte obtenue doit ressembler à la suivante: m ``` {{< /rawhtml >}} + diff --git a/content/course/visualisation/matplotlib/index.qmd b/content/course/visualisation/matplotlib/index.qmd index 0a950c262..873d997fd 100644 --- a/content/course/visualisation/matplotlib/index.qmd +++ b/content/course/visualisation/matplotlib/index.qmd @@ -17,6 +17,7 @@ summary: | sur les décomptes de vélo à Paris --- + ```{python} #| echo: false #| output: 'asis'