[PATCH 1/6] docs: Fix generated names for ACL objects

Ján Tomko jtomko at redhat.com
Mon Feb 20 11:21:05 UTC 2023


On a Monday in 2023, Peter Krempa wrote:
>Both the object name and permission name in ACL use '-' instead of '_'
>separator when refering to them in the docs or even when used inside of

referring

>polkig. Unfortunately the generators used for generating our docs don't

polkit

>honour this in certain cases which would result in broken names in the
>API docs (once they will be generated).
>
>Rename both object and permission name to use dash and reflect that in
>the anchor names in the documentation.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> scripts/genaclperms.py |  6 +++---
> src/rpc/gendispatch.pl | 13 +++++++++++--
> 2 files changed, 14 insertions(+), 5 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230220/68cf20b6/attachment.sig>


More information about the libvir-list mailing list