1.18. External References

Sphinx also includes a number of predefined references for external concepts. Things like PEP’s and RFC’s. You can read more about this in the Sphinx Roles section.

:pep:
:rfc:

For more details, see pep and rfc role.

The example
1
You can learn more about this at :pep:`8` or :rfc:`1984`.
Which gives

You can learn more about this at PEP 8 or RFC 1984.