diff --git a/source/docs/contributing/frc-docs/style-guide.rst b/source/docs/contributing/frc-docs/style-guide.rst index f3e8a187f1..dd062cd2c8 100644 --- a/source/docs/contributing/frc-docs/style-guide.rst +++ b/source/docs/contributing/frc-docs/style-guide.rst @@ -217,6 +217,21 @@ However, in some cases where the same link must be referenced multiple times, th .. _this is a link: https://example.com +Python API Links +^^^^^^^^^^^^^^^^ + +Links to the RobotPY API documentation should use the following sphinx `python syntax `__ (example linking to the DriverStation API docs). + +.. code-block:: ReST + + :external:py:class:`Python ` + +This expands to be equivalent to: + +.. code-block:: ReST + + `Python `__ + Images ------