From 96927a9cb5b1bd188b513785ae34738689fcc322 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Wed, 21 Jun 2023 19:37:16 +0200 Subject: [PATCH 1/3] Add CI job to build docs Signed-off-by: Steffen Jaeckel --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 457216a7..2f0ef4e7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,20 @@ on: - /^ci\/.*$/ jobs: + Docs: + runs-on: ubuntu-20.04 + container: texlive/texlive:latest-full + steps: + - uses: actions/checkout@v2 + - name: generate PDF + run: | + make docs V=1 + cp doc/bn.pdf bn-${{ github.run_id }}.pdf + - name: upload PDF + uses: actions/upload-artifact@v3 + with: + name: bn-${{ github.run_id }}.pdf + path: bn-${{ github.run_id }}.pdf Testme: runs-on: ${{ matrix.os }} strategy: From 1dbad380389c14cb24c26fda9d73a9693a24e3db Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Wed, 21 Jun 2023 19:37:26 +0200 Subject: [PATCH 2/3] Fix building docs Signed-off-by: Steffen Jaeckel --- doc/bn.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bn.tex b/doc/bn.tex index 0642263e..01581873 100644 --- a/doc/bn.tex +++ b/doc/bn.tex @@ -2004,7 +2004,7 @@ \subsection{Example} mp_error_to_string(e)); exit(EXIT_FAILURE); } - printf("%d\n",output); + printf("%d\textbackslash{}n",output); mp_clear(&x); exit(EXIT_SUCCESS); From 4c118b47ffef9c82aa44833321f3a2fd4da212c5 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Wed, 21 Jun 2023 19:44:26 +0200 Subject: [PATCH 3/3] Update content of tarball Signed-off-by: Steffen Jaeckel --- .gitattributes | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index b5227298..307473ca 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,7 @@ -/.gitattributes export-ignore -/.gitignore export-ignore -/.travis.yml export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/.github/* export-ignore +/appveyor.yml export-ignore +/doc/.latexindent.yaml export-ignore /** export-subst