Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import sys
import subprocess
import re
import datetime

#sys.path.append(os.path.abspath('_extensions/'))

Expand Down Expand Up @@ -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'
Comment on lines +131 to +133
Copy link
Preview

Copilot AI Sep 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The f-string conversion for project and author variables is unnecessary since they contain only static strings without any interpolation. Consider keeping them as regular strings for clarity: project = 'OpenFAST' and author = 'OpenFAST Team'.

Suggested change
project = f'OpenFAST'
copyright = f'{datetime.date.today().year}, National Renewable Energy Laboratory'
author = f'OpenFAST Team'
project = 'OpenFAST'
copyright = f'{datetime.date.today().year}, National Renewable Energy Laboratory'
author = 'OpenFAST Team'

Copilot uses AI. Check for mistakes.


# 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'
Comment on lines +140 to +142
Copy link
Preview

Copilot AI Sep 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Converting version and release to f-strings is unnecessary since they contain only static strings. Consider keeping them as regular strings: version = '4.1' and release = 'v4.1.2'.

Copilot uses AI. Check for mistakes.


# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -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'
),
]
Expand All @@ -241,7 +242,7 @@ def runDoxygen(sourcfile, doxyfileIn, doxyfileOut):
(
master_doc,
'openfast',
u'OpenFAST Documentation',
f'OpenFAST Documentation',
[author],
1
)
Expand All @@ -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.',
Expand Down
2 changes: 2 additions & 0 deletions modules/nwtc-library/src/NWTC_IO.f90
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down