Skip to content

Commit 161ed7c

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

3 files changed

Lines changed: 22 additions & 133 deletions

File tree

.github/workflows/sphinxbuild.yml

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

61+
- name: Install LaTeX dependencies
62+
run: |
63+
sudo DEBIAN_FRONTEND=noninteractive apt-get update
64+
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y \
65+
python3-pil \
66+
python3-pip \
67+
texlive-fonts-recommended \
68+
latexmk \
69+
texlive-latex-extra \
70+
texlive-latex-recommended \
71+
texlive-xetex \
72+
texlive-fonts-extra-links \
73+
texlive-fonts-extra \
74+
xindy
75+
6176
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
6277
with:
6378
python-version: '3.12'
@@ -201,8 +216,8 @@ jobs:
201216
git add .
202217
git diff --staged --quiet || git commit -m "chore: deploy documentation for ${{ steps.branch.outputs.branch_name }}"
203218
# 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
219+
git pull --rebase origin gh-pages || true
220+
git push origin gh-pages || echo "Nothing to push (expected if no changes)"
206221
207222
summary:
208223
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)