Skip to content

Commit 84017fb

Browse files
committed
fix: pdf generation and style
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent d080bea commit 84017fb

2 files changed

Lines changed: 2 additions & 163 deletions

File tree

admin_manual/conf.py

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

74-
# -- Options for LaTeX output --------------------------------------------------
75-
76-
latex_elements = {'preamble': '\\usepackage{morefloats}', 'figure_align': 'H',}
77-
78-
# latex_elements = {
79-
# The paper size ('letterpaper' or 'a4paper').
80-
#'papersize': 'letterpaper',
81-
82-
# The font size ('10pt', '11pt' or '12pt').
83-
#'pointsize': '10pt',
84-
85-
# Additional stuff for the LaTeX preamble.
86-
87-
# Grouping the document tree into LaTeX files. List of tuples
88-
# (source start file, target name, title, author, documentclass [howto/manual]).
89-
latex_documents = [('contents', 'Nextcloud_Server_Administration_Manual.tex', u'Nextcloud Server Administration Manual', u'The Nextcloud developers', 'manual'),]
90-
91-
# The name of an image file (relative to this directory) to place at the top of
92-
# the title page.
93-
latex_logo = '../_shared_assets/static/logo-blue.pdf'
94-
95-
# For "manual" documents, if this is true, then toplevel headings are parts,
96-
# not chapters.
97-
#latex_use_parts = False
98-
99-
# If true, show page references after internal links.
100-
#latex_show_pagerefs = False
101-
102-
# If true, show URL addresses after external links.
103-
#latex_show_urls = False
104-
105-
# Documents to append as an appendix to all manuals.
106-
#latex_appendices = []
107-
108-
# If false, no module index is generated.
109-
#latex_domain_indices = True
110-
111-
# -- Options for pdf page output -----------------------------------------------
112-
113-
pdf_documents = [('contents', u'Nextcloud_Server_Administration_Manual', u'Nextcloud Server Administration Manual', u'The Nextcloud developers'),]
114-
115-
# -- Options for manual page output --------------------------------------------
116-
117-
# One entry per manual page. List of tuples
118-
# (source start file, name, description, authors, manual section).
119-
man_pages = [ ('contents', 'nextcloudserveradminmanual', u'Nextcloud Server Administration Manual', [u'The Nextcloud developers'], 1) ]
120-
121-
# If true, show URL addresses after external links.
122-
#man_show_urls = False
123-
124-
125-
# -- Options for Texinfo output ------------------------------------------------
126-
127-
# Grouping the document tree into Texinfo files. List of tuples
128-
# (source start file, target name, title, author,
129-
# dir menu entry, description, category)
130-
texinfo_documents = [ ('contents', 'Nextcloud Server Admin Manual', u'Nextcloud Server Administration Manual', u'The Nextcloud developers', 'Nextcloud', 'The Nextcloud Server Administration Manual.', 'Miscellaneous'), ]
131-
132-
# Documents to append as an appendix to all manuals.
133-
#texinfo_appendices = []
134-
135-
# If false, no module index is generated.
136-
#texinfo_domain_indices = True
137-
138-
# How to display URL addresses: 'footnote', 'no', or 'inline'.
139-
#texinfo_show_urls = 'footnote'
140-
141-
142-
# -- Options for Epub output ---------------------------------------------------
143-
144-
# Bibliographic Dublin Core info.
145-
epub_title = u'Nextcloud Server Administration Manual'
146-
epub_author = u'The Nextcloud developers'
147-
epub_publisher = u'The Nextcloud developers'
148-
epub_copyright = u'2012-2025, The Nextcloud developers'
149-
15074
# -- Options for LaTeX output ------------------------------------------------
15175
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-latex-output
15276

user_manual/conf.py

Lines changed: 2 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -85,93 +85,8 @@
8585
# -- Options for LaTeX output --------------------------------------------------
8686

8787
latex_elements = {
88-
# The paper size ('letterpaper' or 'a4paper').
89-
#'papersize': 'letterpaper',
90-
91-
# The font size ('10pt', '11pt' or '12pt').
92-
#'pointsize': '10pt',
93-
94-
# Additional stuff for the LaTeX preamble.
95-
#'preamble': '',
96-
}
97-
98-
# Grouping the document tree into LaTeX files. List of tuples
99-
# (source start file, target name, title, author, documentclass [howto/manual]).
100-
latex_documents = [
101-
('contents', 'Nextcloud_User_Manual.tex', u'Nextcloud User Manual',
102-
u'The Nextcloud developers', 'manual'),
103-
]
104-
105-
# The name of an image file (relative to this directory) to place at the top of
106-
# the title page.
107-
latex_logo = '../_shared_assets/static/logo-blue.pdf'
108-
109-
# For "manual" documents, if this is true, then toplevel headings are parts,
110-
# not chapters.
111-
#latex_use_parts = False
112-
113-
# If true, show page references after internal links.
114-
#latex_show_pagerefs = False
115-
116-
# If true, show URL addresses after external links.
117-
#latex_show_urls = False
118-
119-
# Documents to append as an appendix to all manuals.
120-
#latex_appendices = []
121-
122-
# If false, no module index is generated.
123-
#latex_domain_indices = True
124-
125-
# -- Options for pdf page output -----------------------------------------------
126-
127-
pdf_documents = [('contents', u'Nextcloud_User_Manual', u'Nextcloud User Manual', u'The Nextcloud developers'),]
128-
129-
# -- Options for manual page output --------------------------------------------
130-
131-
# One entry per manual page. List of tuples
132-
# (source start file, name, description, authors, manual section).
133-
man_pages = [
134-
('contents', 'nextcloudusermanual', u'Nextcloud User Manual',
135-
[u'The Nextcloud developers'], 1)
136-
]
137-
138-
# If true, show URL addresses after external links.
139-
#man_show_urls = False
140-
141-
142-
# -- Options for Texinfo output ------------------------------------------------
143-
144-
# Grouping the document tree into Texinfo files. List of tuples
145-
# (source start file, target name, title, author,
146-
# dir menu entry, description, category)
147-
texinfo_documents = [
148-
('contents', 'NextcloudUserManual', u'Nextcloud User Manual',
149-
u'The Nextcloud developers', 'Nextcloud', 'The Nextcloud User Manual.',
150-
'Miscellaneous'),
151-
]
152-
153-
# Documents to append as an appendix to all manuals.
154-
#texinfo_appendices = []
155-
156-
# If false, no module index is generated.
157-
#texinfo_domain_indices = True
158-
159-
# How to display URL addresses: 'footnote', 'no', or 'inline'.
160-
#texinfo_show_urls = 'footnote'
161-
162-
163-
# -- Options for Epub output ---------------------------------------------------
164-
165-
# Bibliographic Dublin Core info.
166-
epub_title = u'Nextcloud User Manual'
167-
epub_author = u'The Nextcloud developers'
168-
epub_publisher = u'The Nextcloud developers'
169-
epub_copyright = u'2012-2025, The Nextcloud developers'
170-
171-
# -- Options for LaTeX output ------------------------------------------------
172-
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-latex-output
173-
174-
latex_elements = {
88+
'preamble': '\\usepackage{morefloats}',
89+
'figure_align': 'H',
17590
}
17691
latex_documents = [
17792
(

0 commit comments

Comments
 (0)