public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 0/2] docs.eclass: allow multiple documentation builders and support initializing git
@ 2022-11-10 11:28 Andrew Ammerlaan
  0 siblings, 0 replies; only message in thread
From: Andrew Ammerlaan @ 2022-11-10 11:28 UTC (permalink / raw
  To: gentoo-dev

Hi all,

This first patch allows for using multiple documentation builders in one 
ebuild. This is a use case I initially hadn't considered, but has now 
already shown up twice (in the form of doxygen + python? ( sphinx )). 
Simply moving where we define default values of some variables is enough 
to make this work. Also in the patch is an example of how this can work 
in net-libs/xrootd.

The second patch adds a helper function to initialize a git repository 
in $S. This is sometimes required for successfully building the 
documentation (mostly required for some mkdocs packages). Also in this 
patch is an example of how this can work in 
dev-python/mkdocs-git-revision-date-localized-plugin (note that here we 
have to manually call this function if USE="test" as well).

Let me know what you think.

Best regards,
Andrew


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-10 11:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-10 11:28 [gentoo-dev] [PATCH 0/2] docs.eclass: allow multiple documentation builders and support initializing git Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox