Situation
Automatically-generated heading targets referenced by the ref role don't render as links with the literalref role.
I suspect this is the role's fault, but we should determine if it's something in Kitbash first.
Steps to reproduce
On any of our apps, try:
.. _test-page:
Test page
=========
.. kitbash-field:: craft_application.models.Project name
The :ref:`test-page-name` key.
The :literalref:`test-page-name` key.
Result:
Test page
name
...
The name key.
The test-page-name key.
Environment
I tested using the current Rockcraft stack and the standalone sphinx-roles extension, too.