Closed MaxJPRey closed 10 months ago
I think that this if condition is not needed as we are testing it few line below.
if
Or you could remove the second part of the condition statement below or not uri.
or not uri
I might be missing a point though. The purpose of this issue is to make sure that it is intended.
https://github.com/ansys/ansys-sphinx-theme/blob/d9fe77c8e71f480109ad0eed630e86289091d2a1/src/ansys_sphinx_theme/extension/linkcode.py#L237
I think that this
if
condition is not needed as we are testing it few line below.Or you could remove the second part of the condition statement below
or not uri
.I might be missing a point though. The purpose of this issue is to make sure that it is intended.
https://github.com/ansys/ansys-sphinx-theme/blob/d9fe77c8e71f480109ad0eed630e86289091d2a1/src/ansys_sphinx_theme/extension/linkcode.py#L237