Documentation .rst files, first line

I’m trying to somewhat familiarize myself with the .rst source for the documentation. Some files have a first line starting with .. — e.g.: https://raw.githubusercontent.com/vyos/vyos-documentation/master/docs/configuration/system/default-route.rst

.. _default_gateway:

What is the purpose of this line? Is it some internal referance?

It looks like this is comments.
I recommend looking at the answers here:
https://stackoverflow.com/a/4783854
Reference:
https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#comments

1 Like

These are section labels for cross-referencing: Roles — Sphinx documentation

2 Likes

Thanks, that cleared up my confusion regarding cross-references as well :slight_smile: