Various fixes

- Disabled PDF output
- Correctly setup web font SBL_Hbrw
- Moved custom.css to css subdir
This commit is contained in:
yakob-aleksandrovich 2023-10-06 16:07:02 +02:00
parent 338970992d
commit 6babf19770
5 changed files with 6 additions and 5 deletions

View File

@ -12,7 +12,6 @@ sphinx:
# Optionally build your docs in additional formats such as PDF
formats:
- pdf
- epub
- htmlzip

View File

@ -158,6 +158,10 @@ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_css_files = [
'css/custom.css',
]
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.
@ -251,14 +255,12 @@ latex_elements = {
# The font size ('10pt', '11pt' or '12pt').
#
# 'pointsize': '10pt',
'label': '\\usepackage[english]{babel}',
#
# Additional stuff for the LaTeX preamble.
#
'preamble': r'''
\setmainfont{SBL Hebrew}
\setmainfont{SBL_Hbrw.ttf}
\XeTeXlinebreaklocale "he"
\XeTeXlinebreakskip = 0pt plus 1pt
'''