add image to the cover page of the PDF version of the manual
This commit is contained in:
BIN
doc/utils/sphinx-config/_static/lammps-logo-large.jpg
Normal file
BIN
doc/utils/sphinx-config/_static/lammps-logo-large.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 171 KiB |
@ -91,7 +91,7 @@ def get_git_info():
|
|||||||
try:
|
try:
|
||||||
gitinfo = subprocess.run(['git','describe'],stdout=subprocess.PIPE,stderr=subprocess.PIPE)
|
gitinfo = subprocess.run(['git','describe'],stdout=subprocess.PIPE,stderr=subprocess.PIPE)
|
||||||
if gitinfo.returncode == 0:
|
if gitinfo.returncode == 0:
|
||||||
git_n_date = gitinfo.stdout.decode().replace('_',' ')
|
git_n_date = gitinfo.stdout.decode().replace('_',' ').replace('patch ','')
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
return git_n_date
|
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 name of an image file (relative to this directory) to place at the top of
|
||||||
# the title page.
|
# 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,
|
# For "manual" documents, if this is true, then toplevel headings are parts,
|
||||||
# not chapters.
|
# not chapters.
|
||||||
|
|||||||
Reference in New Issue
Block a user