From 3d9a51d3ce9c2ce9bb0dbc843de06f5b18a88e70 Mon Sep 17 00:00:00 2001 From: Xavier Dupre Date: Thu, 3 Aug 2023 12:18:46 +0200 Subject: [PATCH 1/2] refactoring --- CHANGELOGS.rst | 3 ++- _doc/c_data/i_exda.rst | 1 - _doc/{defthe_index.rst => i_ex.rst} | 16 +++++++++++----- _doc/i_faq.rst | 2 -- _doc/index.rst | 4 +--- _doc/py/c_lang/constructions.rst | 2 -- _doc/py/i_expy.rst | 2 -- 7 files changed, 14 insertions(+), 16 deletions(-) rename _doc/{defthe_index.rst => i_ex.rst} (70%) diff --git a/CHANGELOGS.rst b/CHANGELOGS.rst index 5b4c56a8..14f78e86 100644 --- a/CHANGELOGS.rst +++ b/CHANGELOGS.rst @@ -1,8 +1,9 @@ Change Logs =========== -0.2.0 +0.3.0 +++++ +* :pr:`24`: ajout d'exercices venant de sdpython/ensae_teaching_cs * :pr:`22`: ajout d'un exemple sur le Mathador * :pr:`21`: refactoring diff --git a/_doc/c_data/i_exda.rst b/_doc/c_data/i_exda.rst index 46b64cf2..9b85dd91 100644 --- a/_doc/c_data/i_exda.rst +++ b/_doc/c_data/i_exda.rst @@ -7,5 +7,4 @@ Numpy ===== .. exreflist:: - :contents: :tag: numpy diff --git a/_doc/defthe_index.rst b/_doc/i_ex.rst similarity index 70% rename from _doc/defthe_index.rst rename to _doc/i_ex.rst index 2675e190..b217bbb9 100644 --- a/_doc/defthe_index.rst +++ b/_doc/i_ex.rst @@ -1,14 +1,21 @@ -===================== -Syntaxes, Définitions -===================== +================= +Tous les exemples +================= + +Code +==== + +.. toctree:: + + auto_examples/index + api/index Définitions =========== .. mathdeflist:: :tag: Définition - :contents: Figures ======= @@ -27,7 +34,6 @@ Syntaxe .. mathdeflist:: :tag: Syntaxe - :contents: Tables ====== diff --git a/_doc/i_faq.rst b/_doc/i_faq.rst index 3a5c9f45..d3b580bf 100644 --- a/_doc/i_faq.rst +++ b/_doc/i_faq.rst @@ -9,12 +9,10 @@ Langage Python ============== .. faqreflist:: - :contents: :tag: python numpy ===== .. faqreflist:: - :contents: :tag: numpy diff --git a/_doc/index.rst b/_doc/index.rst index d4691e58..85560152 100644 --- a/_doc/index.rst +++ b/_doc/index.rst @@ -23,11 +23,9 @@ pas ou eu programmer. Le contenu est disponible sur practice/index c_data/index c_resume/index - api/index articles/index + i_ex i_faq - auto_examples/index - defthe_index license CHANGELOGS diff --git a/_doc/py/c_lang/constructions.rst b/_doc/py/c_lang/constructions.rst index 3b4204a1..7d1c9afb 100644 --- a/_doc/py/c_lang/constructions.rst +++ b/_doc/py/c_lang/constructions.rst @@ -10,11 +10,9 @@ Constructions fréquentes .. exreflist:: :tag: Base - :contents: Constructions négatives ======================= .. exreflist:: :tag: Base - - :contents: diff --git a/_doc/py/i_expy.rst b/_doc/py/i_expy.rst index cc9b1d30..5ccb380f 100644 --- a/_doc/py/i_expy.rst +++ b/_doc/py/i_expy.rst @@ -9,12 +9,10 @@ Construction classique ====================== .. exreflist:: - :contents: :tag: Base Constructions négatives ======================= .. exreflist:: - :contents: :tag: Base - From 20281c7e28fde0dea45204b00d394ef805d92825 Mon Sep 17 00:00:00 2001 From: Xavier Dupre Date: Thu, 3 Aug 2023 12:25:57 +0200 Subject: [PATCH 2/2] fix --- .github/workflows/check-urls.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-urls.yml b/.github/workflows/check-urls.yml index 908f09bb..407be41f 100644 --- a/.github/workflows/check-urls.yml +++ b/.github/workflows/check-urls.yml @@ -42,6 +42,6 @@ jobs: print_all: false timeout: 5 retry_count# : 3 - exclude_urls: https://hal.archives-ouvertes.fr/hal-00990252/document,https://github.com/onnx/models/raw/main/vision/classification/mobilenet/model/mobilenetv2-12.onnx,https://arxiv.org/ftp/arxiv/papers/1510/1510.04863.pdf,https://hal.science/hal-01125940,https://www.data.gouv.fr/fr/datasets/r/63352e38-d353-4b54-bfd1-f1b3ee1cabd7 - exclude_patterns: https://www.data.gouv.fr/fr/datasets/r/e3d83ab3-dc52-4c99-abaf-8a38050cc68c,https://github.com/onnx/models/raw/main/vision/classification/mobilenet/model/mobilenetv2-12.onnx,https://www.data.gouv.fr/fr/datasets/r/63352e38-d353-4b54-bfd1-f1b3ee1cabd7 + exclude_urls: https://hal.archives-ouvertes.fr/hal-00990252/document,https://github.com/onnx/models/raw/main/vision/classification/mobilenet/model/mobilenetv2-12.onnx,https://arxiv.org/ftp/arxiv/papers/1510/1510.04863.pdf,https://hal.science/hal-01125940,https://www.data.gouv.fr/fr/datasets/r/63352e38-d353-4b54-bfd1-f1b3ee1cabd7,https://github.com/sdpython/teachpyx/raw/main/_data/examen2021.zip + exclude_patterns: https://www.data.gouv.fr/fr/datasets/r/e3d83ab3-dc52-4c99-abaf-8a38050cc68c,https://github.com/onnx/models/raw/main/vision/classification/mobilenet/model/mobilenetv2-12.onnx,https://www.data.gouv.fr/fr/datasets/r/63352e38-d353-4b54-bfd1-f1b3ee1cabd7,https://github.com/sdpython/teachpyx/raw/main/_data/examen2021.zip # force_pass : true