Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export: update URL for upcoming breaking changes #1124

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davidbgk
Copy link
Collaborator

There might be other changes, I create the PR to not forget to make a coordinated release/deployment.

Copy link

netlify bot commented Nov 27, 2024

Deploy Preview for stylo-docs canceled.

Name Link
🔨 Latest commit b85b74a
🔍 Latest deploy log https://app.netlify.com/sites/stylo-docs/deploys/67479d2e6470700008bd7afe

Copy link

netlify bot commented Nov 27, 2024

Deploy Preview for stylo-dev ready!

Name Link
🔨 Latest commit b85b74a
🔍 Latest deploy log https://app.netlify.com/sites/stylo-dev/deploys/67479d2e09ab8f00085a271f
😎 Deploy Preview https://deploy-preview-1124--stylo-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -27,7 +27,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}`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
? `${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/corpus/export/${host}/${bookId}/${exportId}/?with_toc=${toc}&with_ascii=0&bibliography_style=${csl}&formats=originals&formats=${format}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants