Skip to content

Commit

Permalink
Utilise pathlib.Path pour corriger les problèmes de chemins
Browse files Browse the repository at this point in the history
sha_public → sha_picked

Utilise lualatex au lieu de xelatex

Améliore les tests de génération d’extra_contents

- Supprime un test qui avait des effets de bord
- Corrige quelques problèmes de chemins
- Utilise plus de fonctionnalités apportées par Python 3
- Conformité à la PEP 8

Améliore les modèles d’EPUB

Corrige la commande `generate_pdf`

…et supprime l’ancienne commande `pdf_gerenator` qui est assez inutile
depuis deux ans.

and remove the old pdf_generator that is quite useless since two years.

echo 8 >.nvmrc

Fix les problèmes de l'epub

Fix les problèmes de build

il ne manque que le mimetype qui n'est pas en tête et la génération d'identifiant pour les images

Sont gérés :

- Error while parsing file 'dcterms:modified illegal syntax (expecting: 'CCYY-MM-DDThh:mm:ssZ')'.
- Fatal Error while parsing file 'The element type "img" must be terminated by the matching end-tag "".'.
- The file 'OPS/Images/image_test.jpg' does not appear to match the media type image/png, as specified in the OPF file.
- Remote resource reference not allowed; resource must be placed in the OCF.
- Error while parsing file 'element "nav" incomplete; missing required element "ol"'.

ainsi qu'un bug qui empêchait d'accéder à un tuto qu'on vient de dépublier. Ce bug a été introduit dans le commit précédant.

Fix pdf path management and publication

Use new zmd licence syntax

ajoute la version imprimable
  • Loading branch information
fdambrine authored and artragis committed Feb 23, 2018
1 parent d409722 commit 88cc988
Show file tree
Hide file tree
Showing 32 changed files with 816 additions and 417 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6
8
5 changes: 3 additions & 2 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ gulp.task('css:sprite', () =>

// Optimizes the images
gulp.task('images', ['css:sprite'], () =>
gulp.src('assets/{images,smileys}/**/*')
gulp.src('assets/{images,smileys,licenses}/**/*')
.pipe(imagemin())
.pipe(gulp.dest('dist/')));
.pipe(gulp.dest('dist/'))
);

// Watch for file changes
gulp.task('watch-runner', () => {
Expand Down
24 changes: 24 additions & 0 deletions assets/licenses/by-nc-nd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions assets/licenses/by-nc-sa.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
190 changes: 190 additions & 0 deletions assets/licenses/by-nc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 88cc988

Please sign in to comment.