Set copyright date automatically
This commit is contained in:
@ -15,6 +15,7 @@
|
||||
|
||||
import sys
|
||||
import os
|
||||
from datetime import date
|
||||
|
||||
has_enchant = False
|
||||
try:
|
||||
@ -76,7 +77,7 @@ master_doc = 'Manual'
|
||||
|
||||
# General information about the project.
|
||||
project = 'LAMMPS'
|
||||
copyright = '2003-2021 Sandia Corporation'
|
||||
copyright = '2003-{} Sandia Corporation'.format(date.today().year)
|
||||
|
||||
def get_lammps_version():
|
||||
import os
|
||||
|
||||
Reference in New Issue
Block a user