mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-21 13:34:06 +03:00
syntax-check: Suggest ways to fix internal references
The rule catches incorrect attempts to use internal references, but doesn't guide the developer hitting a failure towards the not exactly obvious acceptable alternatives. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
b3a4b049c4
commit
fde04774db
@ -1135,7 +1135,7 @@ sc_prohibit_backup_files:
|
|||||||
sc_avoid_remote_reference_to_local_file:
|
sc_avoid_remote_reference_to_local_file:
|
||||||
@prohibit='<#' \
|
@prohibit='<#' \
|
||||||
in_vc_files='\.rst$$' \
|
in_vc_files='\.rst$$' \
|
||||||
halt='use local reference within a file' \
|
halt='use `section`_ or `here <section_>`__ instead of `here <#section>`__' \
|
||||||
$(_sc_search_regexp)
|
$(_sc_search_regexp)
|
||||||
|
|
||||||
# This Perl code is slightly obfuscated. Not only is each "$" doubled
|
# This Perl code is slightly obfuscated. Not only is each "$" doubled
|
||||||
|
Loading…
Reference in New Issue
Block a user