Skip to content

Commit 9fca5dd

Browse files
committed
Doc: switched to PDF
1 parent 2ffddea commit 9fca5dd

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

doc/_static/DataLab-Frontpage.png

308 KB
Loading

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
project = "DataLab Simple Client"
1717
author = "Pierre Raybaut"
1818
copyright = "2023, Codra - " + author
19-
html_logo = latex_logo = "_static/DataLab-title.png"
19+
html_logo = "_static/DataLab-title.png"
20+
latex_logo = "_static/DataLab-Frontpage.png"
2021
release = cdlclient.__version__
2122

2223
# -- General configuration ---------------------------------------------------
@@ -29,7 +30,6 @@
2930

3031
html_theme = "pydata_sphinx_theme"
3132
html_theme_options = {"show_toc_level": 2}
32-
htmlhelp_basename = project
3333
html_static_path = ["_static"]
3434

3535
# -- Options for sphinx-intl package -----------------------------------------

scripts/build_doc.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ call %FUNC% GetVersion CDL_VERSION
1616
cd %SCRIPTPATH%\..
1717
%PYTHON% doc\update_requirements.py
1818
set PATH=C:\Program Files\HTML Help Workshop;C:\Program Files (x86)\HTML Help Workshop;%PATH%
19-
sphinx-build -b singlehtml doc build\doc
20-
start build\doc\index.html
19+
sphinx-build -b latex doc build\doc
20+
cd build\doc
21+
pdflatex %LIBNAME%.tex
22+
start %LIBNAME%.pdf
2123
call %FUNC% EndOfScript

0 commit comments

Comments
 (0)