• [gentoo-dev] [PATCH 0/2] docs.eclass: allow multiple documentation buil

    From Andrew Ammerlaan@21:1/5 to All on Thu Nov 10 12:30:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)