agdsn / hades

AG DSN Authentication and Authorization Infrastructure
MIT License
8 stars 3 forks source link

`:hades:option:` role does not produce reference #112

Open lukasjuhrich opened 2 years ago

lukasjuhrich commented 2 years ago

image As witnessed in the above image, an option XRef like :hades:option:`HADES_SITE_NAME`​ is not passed correctly, even though said option exists and is autodocumented properly

When this issue is fixed, we should instantiate the XRefRole with warn_dangling=True in the role definition: https://github.com/agdsn/hades/blob/78782831b840188b14e37c0673a6d6e9712f64ce/src/hades/config/sphinx.py#L55-L57

Enabling this currently would lead to a lot of warnings (one per invocation).