Skip to content

Commit 2eb700e

Browse files
committed
fixup! fixup! fixup! fix: pdf generation and style
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent c1eb302 commit 2eb700e

3 files changed

Lines changed: 23 additions & 133 deletions

File tree

.github/workflows/sphinxbuild.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,22 @@ jobs:
5858
- name: Checkout repository
5959
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6060

61+
- name: Install LaTeX dependencies
62+
if: ${{ matrix.manual.build_pdf_path }}
63+
run: |
64+
sudo DEBIAN_FRONTEND=noninteractive apt-get update
65+
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y \
66+
python3-pil \
67+
python3-pip \
68+
texlive-fonts-recommended \
69+
latexmk \
70+
texlive-latex-extra \
71+
texlive-latex-recommended \
72+
texlive-xetex \
73+
texlive-fonts-extra-links \
74+
texlive-fonts-extra \
75+
xindy
76+
6177
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
6278
with:
6379
python-version: '3.12'
@@ -201,8 +217,8 @@ jobs:
201217
git add .
202218
git diff --staged --quiet || git commit -m "chore: deploy documentation for ${{ steps.branch.outputs.branch_name }}"
203219
# Ensure we are up to date with the remote gh-pages branch
204-
git pull --rebase origin gh-pages
205-
git push origin gh-pages
220+
git pull --rebase origin gh-pages || true
221+
git push origin gh-pages || echo "Nothing to push (expected if no changes)"
206222
207223
summary:
208224
needs: build

admin_manual/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@
7171
# -- Options for EPUB output -------------------------------------------------
7272
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-epub-output
7373

74+
epub_title = u'Nextcloud Server Administration Manual'
75+
epub_author = u'The Nextcloud developers'
76+
epub_publisher = u'The Nextcloud developers'
77+
epub_copyright = u'2012-2025, The Nextcloud developers'
78+
7479
# -- Options for LaTeX output ------------------------------------------------
7580
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-latex-output
7681

conf.py

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)