From: Donald Hunter <donald.hunter@gmail.com>
To: "Daniel Müller" <deso@posteo.net>
Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>,
Daniel Borkmann <daniel@iogearbox.net>,
bpf@vger.kernel.org, linux-doc@vger.kernel.org,
Jonathan Corbet <corbet@lwn.net>
Subject: Re: [PATCH bpf-next v3 1/2] Add subdir support to Documentation makefile
Date: Mon, 12 Sep 2022 09:31:55 +0100 [thread overview]
Message-ID: <m235cx2dtw.fsf@gmail.com> (raw)
In-Reply-To: <20220909214914.hdn4rxsj6b2cy3xj@muellerd-fedora-PC2BDTX9> ("Daniel Müller"'s message of "Fri, 9 Sep 2022 21:49:14 +0000")
Daniel Müller <deso@posteo.net> writes:
> On Fri, Sep 09, 2022 at 11:12:22AM +0100, Donald Hunter wrote:
>> Andrii Nakryiko <andrii.nakryiko@gmail.com> writes:
>>
>> > On Tue, Sep 6, 2022 at 3:50 AM Donald Hunter <donald.hunter@gmail.com> wrote:
>> >>
>> >> Daniel Borkmann <daniel@iogearbox.net> writes:
>> >>
>> >> > On 8/29/22 11:14 AM, Donald Hunter wrote:
>> >> >> Run make in list of subdirs to build generated sources and migrate
>> >> >> userspace-api/media to use this instead of being a special case.
>> >> >> Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
>> >> >
>> >> > Jonathan, given this touches Documentation/Makefile, could you ACK if
>> >> > it looks good to you? Noticed both patches don't have doc: $subj prefix,
>> >> > but that's something we could fix up.
>> >> >
>> >> > Maybe one small request, would be nice to build Documentation/bpf/libbpf/
>> >> > also with every BPF CI run to avoid breakage of program_types.csv. Donald
>> >> > could you check if feasible? Follow-up might be ok too, but up to Andrii.
>> >>
>> >> Sure, I can look at what is needed for the BPF CI run.
>> >>
>> >
>> > Daniel (Mueller, not Borkmann), is this something that can be added to BPF CI?
>
> I think as long as all required packages are available in the CI distribution
> (which I believe is currently a Ubuntu image, but may in the future become Arch
> Linux) it should not be a problem to perform checking in CI. It seems as if
> generating the documentation may take a while, so we should likely try to have
> it run in a separate job. I can't tell what hidden dependencies there may be,
> though.
>
>> It looks to me like it can be added to BPF CI if we change docs/conf.py
>> to call a new make target in docs/sphinx/Makefile. Hopefully Daniel can
>> confirm whether this is the case.
>
> I am not familiar with the documentation generation, but my quick search seems
> to suggest that this is done by a 3rd party service and is decoupled from BPF
> CI. Specifically, what you suggest may be reflected in the generated docs at
> https://libbpf.readthedocs.io/, but I believe they are created from the libbpf
> GitHub repository, which is only infrequently synced from bpf tree sources. I
> didn't find any indication that CI triggers documentation creation, but it's
> possible I missed something.
Apologies, I was referring to the libbpf GitHub repository. Anything
committed to the kernel Documentation/bpf/libbpf risks breaking the
documentation generation in the libbpf GitHub repository which, as you
say, uses readthedocs.
next prev parent reply other threads:[~2022-09-12 9:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-29 9:14 [PATCH bpf-next v3 0/2] Add table of BPF program types to docs Donald Hunter
2022-08-29 9:14 ` [PATCH bpf-next v3 1/2] Add subdir support to Documentation makefile Donald Hunter
2022-09-02 15:08 ` Daniel Borkmann
2022-09-06 10:21 ` Donald Hunter
2022-09-08 23:29 ` Andrii Nakryiko
2022-09-09 10:12 ` Donald Hunter
2022-09-09 21:49 ` Daniel Müller
2022-09-12 8:31 ` Donald Hunter [this message]
2022-08-29 9:15 ` [PATCH bpf-next v3 2/2] Add table of BPF program types to libbpf docs Donald Hunter
2022-09-02 15:42 ` Jani Nikula
2022-09-06 10:49 ` Donald Hunter
2022-09-06 12:31 ` Jani Nikula
2022-09-05 16:48 ` Jesper D. Brouer
2022-09-06 12:32 ` Jani Nikula
2022-09-06 17:07 ` Donald Hunter
2022-09-07 8:13 ` Jani Nikula
2022-09-09 22:24 ` [PATCH bpf-next v3 0/2] Add table of BPF program types to docs Andrii Nakryiko
2022-09-12 8:44 ` Donald Hunter
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=m235cx2dtw.fsf@gmail.com \
--to=donald.hunter@gmail.com \
--cc=andrii.nakryiko@gmail.com \
--cc=bpf@vger.kernel.org \
--cc=corbet@lwn.net \
--cc=daniel@iogearbox.net \
--cc=deso@posteo.net \
--cc=linux-doc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.