docs: go: Add 'go-import' metadata via rST

The '.. meta::' rST directive allows adding header metadata. Move the
specific metadata from page.xsl into the individual files and pass them
through into the header from page.xsl.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Peter Krempa
2023-05-23 16:52:24 +02:00
parent 54c1f31fda
commit 9f49f60aca
5 changed files with 14 additions and 11 deletions

View File

@@ -1,3 +1,6 @@
.. meta::
:go-import: libvirt.org/go/libvirt git https://gitlab.com/libvirt/libvirt-go-module.git
=========================================
Libvirt Go Language API (with Go modules)
=========================================

View File

@@ -1,3 +1,6 @@
.. meta::
:go-import: libvirt.org/go/libvirtxml git https://gitlab.com/libvirt/libvirt-go-xml-module.git
============================================
Libvirt Go XML parsing API (with Go modules)
============================================