From nobody Sun Feb 8 22:06:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1588678861; cv=none; d=zohomail.com; s=zohoarc; b=Hs0JbE0J9ZJHJDquQBh+1oulv4bTEWn05HyBHwdeeYsEJuHDQV/XLXV4KizKiMHjwOthU2epjdILE0j71gwtwrLWpFozqu8kSpHz4UieYK9iBjngwjI2KzUbb1JjQljnGtzJ2R3IQ5yWIeCqX/Qcmb8W8ZfZM3PRZcINkwaCmNs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588678861; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=DRB8kv2lJsUn4lnBghReP3qYWpe61cLDnRK3FYBi6Zw=; b=Stj/Bh1SMq/OI3SYJk3zyJcOt1OmLAdwCiwcUr05ddII8U0NpBaKWGH4yvhcQFvo8oWv/u3UZi5KjWMdVJxvjx6ZGnpO1Igw6lC4Ir2MKlcp3Go9A5QQojiUSiuYF4DF+r/yUfLq1J9KhMYZHYlEE+yM9J8TeqKu0ZKjsv/iUN8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1588678861866222.70333099464403; Tue, 5 May 2020 04:41:01 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-100-LA0DX7EpPjOkhQB2yPjs8g-1; Tue, 05 May 2020 07:40:57 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B56C3107B7C8; Tue, 5 May 2020 11:40:47 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8F5265D9DA; Tue, 5 May 2020 11:40:47 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 4D4444CAA8; Tue, 5 May 2020 11:40:47 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 045BeSuu007673 for ; Tue, 5 May 2020 07:40:28 -0400 Received: by smtp.corp.redhat.com (Postfix) id DD7BC5D785; Tue, 5 May 2020 11:40:28 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.36.110.63]) by smtp.corp.redhat.com (Postfix) with ESMTP id 15B8B6249B; Tue, 5 May 2020 11:40:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588678860; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=DRB8kv2lJsUn4lnBghReP3qYWpe61cLDnRK3FYBi6Zw=; b=Ph+ntJrGrIAdo//A2MdwburmLdic1x5SFOR4t2OxN7Rt/ZMJeB8n0B9XrSskt6DQSZ85qf BjfxfiokG7hmm2BbXwokvdhqx+J8ktIdqtXyOMWL33pvBPsSrP+VHWDiXAHYihxMWnL/Xw JpKOf3vp6S1qoR4uTJHp4nUhxRd1WBs= X-MC-Unique: LA0DX7EpPjOkhQB2yPjs8g-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [perl PATCH v4 2/3] gitlab: add a simple job that publishes the API docs as HTML Date: Tue, 5 May 2020 12:40:19 +0100 Message-Id: <20200505114020.929957-3-berrange@redhat.com> In-Reply-To: <20200505114020.929957-1-berrange@redhat.com> References: <20200505114020.929957-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" The Perl modules have inline POD docs. This can be converted to HTML and published as a GitLab artifact. The rendered HTML is kind of ugly but improving this is left as an exercise for the future. Signed-off-by: Daniel P. Berrang=C3=A9 --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 586434e..1099e2b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ stages: - prebuild - containers - builds + - docs =20 .container_job_template: &container_job_definition image: docker:stable @@ -169,3 +170,17 @@ ubuntu-2004-git-build: <<: *git_build_job_definition variables: NAME: ubuntu-2004 + +apiref: + stage: docs + image: perl + script: + - mkdir apiref + - perl -MPod::Simple::HTMLBatch -e Pod::Simple::HTMLBatch::go lib api= ref + artifacts: + expose_as: 'API Reference' + name: 'apiref' + when: on_success + expire_in: 30 days + paths: + - apiref --=20 2.26.2