Skip to content

Commit 5e482c1

Browse files
committed
doc: Add latex to generate pdf
Add latex to generate pdf. Signed-off-by: divya pillai <divya.pillai@nordicsemi.no>
1 parent 4dfd28e commit 5e482c1

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/doc-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
run: |
7272
doxygen
7373
sphinx-build -M html . build
74+
make latex
7475
7576
- name: Check version
7677
run: |

doc/conf.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,19 @@
5454
.. include:: /links.txt
5555
.. include:: /shortcuts.txt
5656
"""
57+
58+
# -- Options for LaTeX output -------------------------------------------------
59+
60+
latex_engine = 'xelatex'
61+
62+
latex_elements = {
63+
'papersize': 'a4paper',
64+
'pointsize': '11pt',
65+
}
66+
67+
latex_documents = [
68+
('index', 'ncs-serial-modem.tex', f'{project} Documentation',
69+
author, 'manual'),
70+
]
71+
72+
figure_align = 'H'

0 commit comments

Comments
 (0)