public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Oliver Freyermuth" <o.freyermuth@googlemail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/cglm/
Date: Sun, 30 Oct 2022 14:08:03 +0000 (UTC)	[thread overview]
Message-ID: <1667138862.c435e079dc5bf391ed354710f2ed00c2f2cf97d2.freyermuth@gentoo> (raw)

commit:     c435e079dc5bf391ed354710f2ed00c2f2cf97d2
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sun Oct 30 14:07:42 2022 +0000
Commit:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
CommitDate: Sun Oct 30 14:07:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c435e079

dev-libs/cglm: Add doc dependency on sphinx_rtd_theme.

Closes: https://bugs.gentoo.org/878791
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>

 dev-libs/cglm/cglm-0.8.7.ebuild | 9 ++++++++-
 dev-libs/cglm/cglm-9999.ebuild  | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/dev-libs/cglm/cglm-0.8.7.ebuild b/dev-libs/cglm/cglm-0.8.7.ebuild
index b148db8ed..ddb415056 100644
--- a/dev-libs/cglm/cglm-0.8.7.ebuild
+++ b/dev-libs/cglm/cglm-0.8.7.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 DOCS_BUILDER="sphinx"
-DOCS_AUTODOC=0
+DOCS_AUTODOC=1
+DOCS_DEPEND="dev-python/sphinx_rtd_theme"
 DOCS_DIR="${S}/docs/source"
 
 PYTHON_COMPAT=( python3_{8..11} )
@@ -25,6 +26,12 @@ HOMEPAGE="https://github.com/recp/cglm"
 LICENSE="MIT"
 SLOT="0"
 
+src_prepare() {
+	default
+	# Enable autodoc since themeing plugin is used.
+	sed -i "s#'sphinx.ext.githubpages'#'sphinx.ext.githubpages','sphinx.ext.autodoc'#" docs/source/conf.py || die
+}
+
 src_configure() {
 	local emesonargs=(
 		"-Dwerror=false"

diff --git a/dev-libs/cglm/cglm-9999.ebuild b/dev-libs/cglm/cglm-9999.ebuild
index b148db8ed..ddb415056 100644
--- a/dev-libs/cglm/cglm-9999.ebuild
+++ b/dev-libs/cglm/cglm-9999.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 DOCS_BUILDER="sphinx"
-DOCS_AUTODOC=0
+DOCS_AUTODOC=1
+DOCS_DEPEND="dev-python/sphinx_rtd_theme"
 DOCS_DIR="${S}/docs/source"
 
 PYTHON_COMPAT=( python3_{8..11} )
@@ -25,6 +26,12 @@ HOMEPAGE="https://github.com/recp/cglm"
 LICENSE="MIT"
 SLOT="0"
 
+src_prepare() {
+	default
+	# Enable autodoc since themeing plugin is used.
+	sed -i "s#'sphinx.ext.githubpages'#'sphinx.ext.githubpages','sphinx.ext.autodoc'#" docs/source/conf.py || die
+}
+
 src_configure() {
 	local emesonargs=(
 		"-Dwerror=false"


             reply	other threads:[~2022-10-30 14:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-30 14:08 Oliver Freyermuth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-25  0:02 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/cglm/ Anna Vyalkova
2023-02-04 19:26 Oliver Freyermuth
2023-02-04 19:26 Oliver Freyermuth
2022-12-15 21:24 Oliver Freyermuth
2022-12-15 21:24 Oliver Freyermuth
2022-10-26 20:27 Oliver Freyermuth
2022-10-26 20:27 Oliver Freyermuth
2022-10-23 17:46 Oliver Freyermuth
2022-10-23 17:46 Oliver Freyermuth
2022-06-01  5:03 Anna Vyalkova
2022-03-20 19:37 Oliver Freyermuth
2022-03-20 19:37 Oliver Freyermuth
2021-08-18 15:00 Oliver Freyermuth
2021-05-30 15:04 Oliver Freyermuth
2021-05-30 13:37 Oliver Freyermuth
2021-05-02 13:06 Oliver Freyermuth
2021-05-01 15:35 Oliver Freyermuth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1667138862.c435e079dc5bf391ed354710f2ed00c2f2cf97d2.freyermuth@gentoo \
    --to=o.freyermuth@googlemail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox