Good point Nathan! That convinces me to +1 here :-)

Still before any change we need to see the working proof-of-concept
both for documentation and testing :-)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

On Tue, Dec 1, 2026 at 3:33 PM Nathan Hartman <[email protected]> wrote:
>
> On Tue, Dec 1, 2026 at 9:12 AM Karel Kočí <[email protected]> wrote:
>
> > Hi,
> >
> > On Tue 01 Dec 2026 02:50:40 PM , [email protected] wrote:
> > > On 2026-11-29 19:38, Michal Lenc wrote:
> > > > Hi,
> > > >
> > > >> 1. Move the applications documentation to nuttx-apps
> > > >
> > > > I am not sure if I like the fact we would have the documentation split
> > > > between two repositories. Maybe we could have a completely separate
> > > > repository for the documentation? This is how RTEMS does it for
> > > > example. I know it doesn't solve the issue you mentioned, it actually
> > > > makes it a bit worse as every change in core or apps that needs
> > > > documentation update would also require another merge request. But we
> > > > would have the documentation separately and wouldn't pollute kernel
> > and
> > > > apps with commits changing docs only.
> > >
> > > Having documentation in completely separate repository is IMO worse than
> > > both current state and the proposal. It would invite mistakes that cause
> > > desync between the codebase and its documentation. And it would also
> > > make keeping documentation up-to-date with the changes to kernel/apps
> > > more of a hassle - increasing the likelihood of people trying to skip
> > > it.
> > >
> > > The proposal seems reasonable to me - documentation belongs (again, IMO)
> > > to the codebase which it documents. (Making commits that change the
> > > documentation legitimate part of project's git history.) Since
> > > nuttx-apps is a separate codebase, its documentation should be in that
> > > codebase.
> >
> > I wouldn't be so strict. We have to recognize that NuttX documentation
> > actually
> > contains multiple different types of content. Every type suggest a
> > different
> > approach and a different layout fits it better. Just what types I see:
> >
> > * Guides
> > * Concepts
> > * API
> > * Boards
> > * Applications
> >
> > It is true that API documentatation is to be best kept in the same project
> > as is
> > the source code. Thus for most it is NuttX. The same can be said about
> > boards
> > and applications. But on the other hand guides are overarching articles
> > that do
> > not have one appropriate repository. Concepts are mixed. Sometimes it is
> > clearly
> > documentation of the NuttX, such as concept of driver, but it might as
> > well be
> > concept in apps or overarching one.
> >
> > With that it might make sense to have top level; overarching documentation
> > repository and pull in nuttx and nuttx-apps as only part of the
> > documentation
> > that is closely associated with that specific repository.
> >
> > It is just a quick idea. I just wanted to point out that having dedicated
> > documentation repository, doesn't mean that there must be no documentation
> > in
> > nuttx and nuttx-apps.
> >
> > With regards
> > Karel Kočí
> >
>
> nuttx-apps is optional and developers are free to create their own custom
> apps, either based on ours or from scratch.
>
> This is one reason why Documentation that pertains to nuttx-apps should be
> in the nuttx-apps repository. Otherwise, someone who creates their own apps
> (without using ours) will have Documentation that describes code they don't
> have, leading to confusion.
>
> Guides, Concepts, OS APIs, in-tree arch, and boards should continue to be
> documented in nuttx repo IMHO.
>
> Nathan

Reply via email to