This is how Go figures out the location of the git repository
containing the actual code for the package.
Addresses the following error message:
go:
libvirt.org/go/libvirt@v1.7005.0:
unrecognized import path "libvirt.org/go/libvirt":
parse
https://libvirt.org/go/libvirt?go-get=1:
no go-import meta tags ()
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
docs/page.xsl | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/page.xsl b/docs/page.xsl
index 5cb4322fdc..1786feb51f 100644
--- a/docs/page.xsl
+++ b/docs/page.xsl
@@ -105,6 +105,12 @@
<xsl:if test="$pagesrc = 'docs/libvirt-go-xml.rst'">
<meta name="go-import"
content="libvirt.org/libvirt-go-xml
git
https://libvirt.org/git/libvirt-go-xml.git"/>
</xsl:if>
+ <xsl:if test="$pagesrc = 'docs/go/libvirt.rst'">
+ <meta name="go-import"
content="libvirt.org/go/libvirt git
https://libvirt.org/git/libvirt-go-module.git"/>
+ </xsl:if>
+ <xsl:if test="$pagesrc = 'docs/go/libvirtxml.rst'">
+ <meta name="go-import"
content="libvirt.org/go/libvirtxml
git
https://libvirt.org/git/libvirt-go-xml-module.git"/>
We don't want to be using these git repos here. Please see this series