Compare commits

...

2 Commits

Author SHA1 Message Date
7476386735 Update tox.ini && conf.py file
Performed-by: gitea/infra/otc-metadata/tools/generate_doc_confpy.py
2024-12-10 13:23:11 +00:00
3a9609467f Update tox.ini && conf.py file
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Sebastian Gode <sebastian.gode@telekom.de>
Co-committed-by: Sebastian Gode <sebastian.gode@telekom.de>
2024-11-15 09:36:38 +00:00
3 changed files with 9 additions and 2 deletions

View File

@ -125,6 +125,11 @@ latex_elements = {
'papersize': 'a4paper', 'papersize': 'a4paper',
'pointsize': '12pt', 'pointsize': '12pt',
'figure_align': 'H', 'figure_align': 'H',
'preamble': r'\newcommand{\githash}{' + current_commit_hash + '}', 'preamble': rf'''
\newcommand{{\githash}}{{{current_commit_hash}}}
\newcommand{{\gitcommittime}}{{{current_commit_time}}}
\newcommand{{\doctitle}}{{{otcdocs_doc_title}}}
\newcommand{{\servicetitle}}{{{otcdocs_service_title}}}
''',
'sphinxsetup': 'hmargin={15mm,15mm}, vmargin={20mm,30mm}, marginpar=10mm' 'sphinxsetup': 'hmargin={15mm,15mm}, vmargin={20mm,30mm}, marginpar=10mm'
} }

View File

@ -40,7 +40,7 @@ commands =
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html_temp sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html_temp
sphinx-minify --input-directory doc/build/html_temp/ --output-directory doc/build/html sphinx-minify --input-directory doc/build/html_temp/ --output-directory doc/build/html
[testenv:docs-pdf] [testenv:pdf-docs]
deps = deps =
{[testenv:docs]deps} {[testenv:docs]deps}
{[testenv:bindeps]deps} {[testenv:bindeps]deps}

View File

@ -4,6 +4,8 @@
default-branch: main default-branch: main
templates: templates:
- helpcenter-base-jobs - helpcenter-base-jobs
vars:
sphinx_pdf_files:
check: check:
jobs: jobs:
- noop - noop