diff --git a/docs/conf.py b/docs/conf.py index c63f31292..06a4c7e2f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,6 +20,7 @@ import sys import subprocess import re +import datetime #sys.path.append(os.path.abspath('_extensions/')) @@ -127,18 +128,18 @@ def runDoxygen(sourcfile, doxyfileIn, doxyfileOut): master_doc = 'index' # General information about the project. -project = u'OpenFAST' -copyright = u'2023, National Renewable Energy Laboratory' -author = u'OpenFAST Team' +project = f'OpenFAST' +copyright = f'{datetime.date.today().year}, National Renewable Energy Laboratory' +author = f'OpenFAST Team' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = u'4.1' +version = f'4.1' # The full version, including alpha/beta/rc tags. -release = u'v4.1.2' +release = f'v4.1.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -226,8 +227,8 @@ def runDoxygen(sourcfile, doxyfileIn, doxyfileOut): ( master_doc, 'Openfast.tex', - u'OpenFAST Documentation', - u'National Renewable Energy Laboratory', + f'OpenFAST Documentation', + f'National Renewable Energy Laboratory', 'manual' ), ] @@ -241,7 +242,7 @@ def runDoxygen(sourcfile, doxyfileIn, doxyfileOut): ( master_doc, 'openfast', - u'OpenFAST Documentation', + f'OpenFAST Documentation', [author], 1 ) @@ -257,7 +258,7 @@ def runDoxygen(sourcfile, doxyfileIn, doxyfileOut): ( master_doc, 'OpenFAST', - u'OpenFAST Documentation', + f'OpenFAST Documentation', author, 'OpenFAST', 'One line description of project.', diff --git a/modules/nwtc-library/src/NWTC_IO.f90 b/modules/nwtc-library/src/NWTC_IO.f90 index 67bbe4213..6f5964d27 100644 --- a/modules/nwtc-library/src/NWTC_IO.f90 +++ b/modules/nwtc-library/src/NWTC_IO.f90 @@ -2354,6 +2354,8 @@ SUBROUTINE NWTC_DisplaySyntax( DefaultInputFile, ThisProgName ) //TRIM( DefaultInputFile )//'".' ) END IF CALL WrScr ( NewLine//' Note: values enclosed in square brackets [] are optional. Do not enter the brackets.') + CALL WrScr ( NewLine//' For more information and documentation, visit:' ) + CALL WrScr ( ' https://openfast.readthedocs.io/' ) CALL WrScr ( ' ') END SUBROUTINE NWTC_DisplaySyntax