Skip to content

Commit 87d6cb0

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

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/sphinxbuild.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
directory: "user_manual"
2424
make_target: "html"
2525
build_path: "_build/html"
26-
build_pdf_path: "_build/pdf"
26+
build_pdf_path: "_build/latex"
2727
publish: true
2828

2929
- name: "user_manual-en"
@@ -42,7 +42,7 @@ jobs:
4242
directory: "admin_manual"
4343
make_target: "html"
4444
build_path: "_build/html/com"
45-
build_pdf_path: "_build/pdf"
45+
build_pdf_path: "_build/latex"
4646
publish: true
4747

4848
steps:
@@ -74,7 +74,7 @@ jobs:
7474
run: |
7575
set -e
7676
cd ${{ matrix.manual.directory }}
77-
make pdf
77+
make latexpdf
7878
ls -la ${{ matrix.manual.build_pdf_path }}
7979
cp ${{ matrix.manual.build_pdf_path }}/*.pdf ${{ matrix.manual.build_path }}/
8080
@@ -144,6 +144,9 @@ jobs:
144144
;;
145145
esac
146146
147+
echo "Deployment folder name: ${{ steps.branch.outputs.branch_name }}"
148+
echo "Version name for additional deployment (if applicable): ${{ steps.branch.outputs.version_name }}"
149+
147150
- name: Merge documentation
148151
run: |
149152
# List artifacts

user_manual/conf.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,14 @@
8282
# -- Options for EPUB output -------------------------------------------------
8383
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-epub-output
8484

85+
epub_title = u'Nextcloud User Manual'
86+
epub_author = u'The Nextcloud developers'
87+
epub_publisher = u'The Nextcloud developers'
88+
epub_copyright = u'2012-2025, The Nextcloud developers'
89+
8590
# -- Options for LaTeX output --------------------------------------------------
8691

87-
latex_elements = {
88-
'preamble': '\\usepackage{morefloats}',
89-
'figure_align': 'H',
90-
}
92+
latex_elements = {}
9193
latex_documents = [
9294
(
9395
'contents',

0 commit comments

Comments
 (0)