[PATCH 2/4] virDomainCheckpointCreateXML: Don't use HTML in function docs and fix link

Peter Krempa pkrempa at redhat.com
Tue Aug 23 11:32:38 UTC 2022


Fix the link target after the conversion of the XML description to RST
which renamed anchors and drop the <a> tag from the C code comment.
Apart from not working properly in the .c file it didn't work in the
generated docs either as the brackets were escaped.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 src/libvirt-domain-checkpoint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libvirt-domain-checkpoint.c b/src/libvirt-domain-checkpoint.c
index f58f1b4f8f..de747aff01 100644
--- a/src/libvirt-domain-checkpoint.c
+++ b/src/libvirt-domain-checkpoint.c
@@ -114,7 +114,7 @@ virDomainCheckpointGetConnect(virDomainCheckpointPtr checkpoint)
  * kicking off a backup job with virDomainBackupBegin(); however, it
  * is also possible to start a checkpoint without a backup.
  *
- * See <a href="formatcheckpoint.html#CheckpointAttributes">Checkpoint XML</a>
+ * See https://www.libvirt.org/formatcheckpoint.html#checkpoint-xml
  * for more details on @xmlDesc. In particular, some hypervisors may require
  * particular disk formats, such as qcow2, in order to support this
  * command; where @xmlDesc can be used to limit the checkpoint to a working
-- 
2.37.1



More information about the libvir-list mailing list