RedPitaya / Documentation

https://redpitaya.readthedocs.io/
5 stars 14 forks source link

Duplicate label in .rts files #65

Closed edgar-bonet closed 4 months ago

edgar-bonet commented 4 months ago

Building the documentation with the command

python3 -m sphinx -b dirhtml . $output_dir

Produces the following warning:

…/appsFeatures/applications/vna/appVNA.rst:5:
    WARNING: duplicate label vna_extension, other instance in
    …/appsFeatures/applications/pyrpl/pyrpl.rst

And indeed, both files start with the line:

.. _vna_extension:
Lightsaver7 commented 4 months ago

Thank you for letting me know.

The labels are there for easier interlinking between documentation pages. Here is an explanation https://sublime-and-sphinx-guide.readthedocs.io/en/latest/references.html

I fixed the label by renaming it to .. _pyrpl:: which is how it should have been from the start.