Skip to content

Commit

Permalink
Mise à jour de pandoc-api et stylo-export
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Apr 12, 2023
1 parent 0f97141 commit 91a4c5a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 131 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ services:
- graphql-stylo

export-gateway:
image: "davidbgk/stylo-export:0.0.20"
image: "davidbgk/stylo-export:0.0.22"
env_file:
- stylo.env
environment:
Expand All @@ -84,7 +84,7 @@ services:
- "host.docker.internal:host-gateway"

pandoc-api:
image: "davidbgk/pandoc-api:0.0.13"
image: "davidbgk/pandoc-api:0.0.14"
ports:
- 127.0.0.1:3090:8000

2 changes: 1 addition & 1 deletion front/src/components/Export.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function Export ({ bookId, articleVersionId, articleId, bib, name

const exportUrl = bookId
? `${processEndpoint}/cgi-bin/exportBook/exec.cgi?id=${exportId}&book=${bookId}&processor=xelatex&source=${exportEndpoint}/&format=${format}&bibstyle=${csl}&toc=${Boolean(toc)}&tld=${tld}&unnumbered=${unnumbered}`
: `${pandocExportEndpoint}/generique/export/${host}/${articleId}/${exportId}/?with_toc=${toc}&with_ascii=0&bibliography_style=${csl}&formats=originals&formats=${format}`
: `${pandocExportEndpoint}/generique/export/${host}/${articleId}/${exportId}/?with_toc=${toc}&with_ascii=0&bibliography_style=${csl}&formats=originals&formats=${format}&version=${articleVersionId}`

return (
<section className={styles.export}>
Expand Down
4 changes: 2 additions & 2 deletions infrastructure/templates/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ services:
- graphql-stylo

export-gateway:
image: "davidbgk/stylo-export:0.0.20"
image: "davidbgk/stylo-export:0.0.23"
env_file:
- stylo.env
environment:
Expand All @@ -68,7 +68,7 @@ services:
- "host.docker.internal:host-gateway"

pandoc-api:
image: "davidbgk/pandoc-api:0.0.13"
image: "davidbgk/pandoc-api:0.0.14"
ports:
- 127.0.0.1:3090:8000

126 changes: 0 additions & 126 deletions package-lock.json

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

0 comments on commit 91a4c5a

Please sign in to comment.