add image to the cover page of the PDF version of the manual

This commit is contained in:
Axel Kohlmeyer
2023-01-21 15:52:00 -05:00
parent ebe234d4e2
commit af8c091ed5
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ def get_git_info():
try:
gitinfo = subprocess.run(['git','describe'],stdout=subprocess.PIPE,stderr=subprocess.PIPE)
if gitinfo.returncode == 0:
git_n_date = gitinfo.stdout.decode().replace('_',' ')
git_n_date = gitinfo.stdout.decode().replace('_',' ').replace('patch ','')
except:
pass
return git_n_date
@ -344,7 +344,7 @@ latex_documents = [
# The name of an image file (relative to this directory) to place at the top of
# the title page.
#latex_logo = None
latex_logo = "_static/lammps-logo-large.jpg"
# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.