Skip to content

Commit

Permalink
Extraction du programme pour 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
GaelGirodon committed May 20, 2022
1 parent 8bba9de commit 7b93b6f
Show file tree
Hide file tree
Showing 7 changed files with 106 additions and 99 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Historique des changements

## 2021.11.0 - 25/03/2022

- Mise à jour vers la dernière version du programme
- Mise à jour des dépendances

## 2020.11.3 - 18/10/2021

- Mise à jour et amélioration de l'extraction
Expand Down
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,26 @@
![Bannière](./images/banner.svg)

[![Version](https://img.shields.io/github/package-json/version/GaelGirodon/laec?color=e93a55&style=flat-square)](https://github.com/GaelGirodon/laec/releases/latest)
[![Source](https://img.shields.io/static/v1?label=source&message=melenchon2022.fr&color=571aff&style=flat-square)](https://melenchon2022.fr)
[![Source](https://img.shields.io/static/v1?label=source&message=laec.fr&color=6628e0&style=flat-square)](https://laec.fr/)
[![Licence](https://img.shields.io/github/license/GaelGirodon/laec?color=1edf3f&label=licence&style=flat-square)](./LICENSE)
[![Télécharger](https://img.shields.io/static/v1?label=%20&labelColor=5c5c5c&message=md%20·%20html%20·%20epub%20·%20rtf%20·%20odt%20·%20docx&color=3bcaec&style=flat-square&logo=docusign&logoColor=white)](https://github.com/GaelGirodon/laec/releases/latest)

Outillage d'extraction du programme _L'Avenir en commun_ depuis la plateforme
[_Mélenchon 2022_](https://melenchon2022.fr) et d'exportation en plusieurs
formats (`md`, `html`, `epub`, `rtf`, `odt` et `docx`) facilitant ainsi sa
lecture depuis divers périphériques (notamment les liseuses).
Outillage d'extraction du programme _L'Avenir en commun_ depuis le site
[LAEC.fr](https://laec.fr) et d'exportation en plusieurs formats (`md`, `html`,
`epub`, `rtf`, `odt` et `docx`) facilitant ainsi sa lecture depuis divers
périphériques (notamment les liseuses).

## Utilisation

- Installer Node.js LTS et Pandoc
- Installer Node.js et Pandoc
- Installer les dépendances : `npm install`
- Extraire et exporter le programme : `npm run extract`

## Licence

Le programme _L'Avenir en commun_ provenant de la plateforme
[_Mélenchon 2022_](https://melenchon2022.fr),
le contenu des documents générés est protégé par la licence
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.fr),
conformément aux [mentions légales](https://melenchon2022.fr/mentions-legales/).
_L'Avenir en commun, le programme pour l'Union Populaire présenté par Jean-Luc
Mélenchon_ est paru le 18 novembre 2021 aux Éditions du Seuil et a été mis en
ligne sur le site [LAEC.fr](https://laec.fr).

Le code source de l'outillage réalisé pour extraire le programme et l'exporter
en différents formats est fourni sous la licence GNU GPLv3.
Binary file modified images/banner.gvdesign
Binary file not shown.
2 changes: 1 addition & 1 deletion images/banner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "laec",
"version": "2020.11.3",
"version": "2021.11.0",
"description": "Outillage d'extraction et d'exportation du programme L'Avenir en commun",
"scripts": {
"extract": "node scripts/extract.js",
Expand All @@ -17,7 +17,7 @@
},
"homepage": "https://github.com/GaelGirodon/laec#readme",
"devDependencies": {
"axios": "^0.24.0",
"axios": "^0.26.0",
"cheerio": "^1.0.0-rc.10",
"turndown": "^7.1.1"
},
Expand Down
Loading

0 comments on commit 7b93b6f

Please sign in to comment.