Skip to content

Docs - Strive for a clean build log #85

@echedey-ls

Description

@echedey-ls

Running:

solposx\docs> sphinx-build -b linkcheck --nitpicky source build  
Running Sphinx v8.2.3

Relevant warnings and errors:

Unused footnotes in a docstring

\solposx\src\solposx\solarposition\skyfield.py:docstring of solposx.solarposition.skyfield.skyfield:30: WARNING: Footnote [1] is not referenced. [ref.footnote]
\solposx\src\solposx\solarposition\skyfield.py:docstring of solposx.solarposition.skyfield.skyfield:32: WARNING: Footnote [2] is not referenced. [ref.footnote]
\solposx\venv\Lib\site-packages\pvlib\solarposition.py:docstring of pvlib.solarposition.spa_python:55: WARNING: Footnote [2] is not referenced. [ref.footnote]

Inexistent objects linked:

\solposx\src\solposx\solarposition\michalsky.py:docstring of solposx.solarposition.michalsky.michalsky:50: WARNING: py:func reference target not found: pandas.DatetimeIndex.to_julian_date 
[ref.func]

Upstream fix is pending via pandas-dev/pandas#62090

\solposx\src\solposx\solarposition\nasa_horizons.py:docstring of solposx.solarposition.nasa_horizons.nasa_horizons:25: WARNING: py:const reference target not found: URL

I propose making this docstring a formatted f-string (excuse the redundancy) and just show it. I.e.:
in src\solposx\solarposition\nasa_horizons.py,
url : str, optional API endpoint. The default is ``{URL}``.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions