Skip to content

Releasing guide documents as pdfs #2134

@sydseter

Description

@sydseter

NB: Please wait for this to be merged: #2111

We should use the new pdf generation and automate it so that the pipeline creates pdf files of the guide documents
The pdf generation is done like this:

python -m pipenv install --dev
python -m pipenv run python .\scripts\convert.py -v 2.2 -l en -t bridge -e webapp -lt guide --pdf

PDF generation requires that libreoffice is installed. We need to ensure that libreoffice is installed when generating the output during release and testing:

https://github.com/OWASP/cornucopia/blob/master/.github/workflows/run-tests-generate-output.yaml
https://github.com/OWASP/cornucopia/blob/master/.github/workflows/pre-release.yml
https://github.com/OWASP/cornucopia/blob/master/.github/workflows/release.yml

We should release both odt and pdf documents as part of the release.

Metadata

Metadata

Assignees

Labels

convertergithub_actionsPull requests that update GitHub Actions codepythonPull requests that update Python code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions