🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.hackers
2 messages
2 total messages Started by Olivier Certner Tue, 10 Nov 2026 12:51
Re: Proposal on Code Documentation
#92
Author: Olivier Certner
Date: Tue, 10 Nov 2026 12:51
54 lines
3905 bytes
--nextPart3153989.hHqAuc6tWs
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Olivier Certner <olce@freebsd.org>
To: freebsd-hackers@freebsd.org
Subject: Re: Proposal on Code Documentation
Date: Tue, 10 Nov 2026 13:51:49 +0100
Message-ID: <3100646.slGk94SIus@ravel>
In-Reply-To: <e477ff48dc089498061f9f1fb4f2b3e0@Leidinger.net>
MIME-Version: 1.0

Hi,

[Globally replying to the last mail in the thread.]

I've replied to a connected topic brought up by Minsoo in Phabricator revision D60031 (https://reviews.freebsd.org/D60031#1407094).

TL;DR: As a rule of thumb, I'd continue using section 9 manual pages as the primary documentation for subsystem users, and reserve Doxygen for internal stuff, menial details or fast-moving targets. Curious to know what others think.

Regards.

-- 
Olivier Certner
--nextPart3153989.hHqAuc6tWs
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQIzBAABCQAdFiEEmNCxHjkosai0LYIujKEwQJceJicFAmrzE2YACgkQjKEwQJce
Jid0/hAAsJJIB6LuKhiy/NqCyA7w1CBvEd+IFdBdOLqcGVP5DKCbb3IRcGkRWGP4
OZlJ7wOyEKD/Gqw+rO9BhxY/2ieMP3aBE4k/YJE6mn5IxoG3D9Wed3mk1nHi60R0
iEvU0YB02A6ndE37bxZaMdWzMKVWsvAGWTkfTsbmYsFKskLrRGsM6utz2bz7aU7/
thPPfELIv8qoAtt8IPdExqneDgyAQPuHuSQUJkrZrcvKDo8yPiAh2iIj1vvjlwqC
vAvg04F7RSgd2ig63bXJJ1NBK3nP5Rcps6yXbA7k+m+3/4XB6cXNjexy/tvGUkxh
iN3KpZhcMEj+qBixsJC8sE+GX5t7Ev9cmtCfy8bOFQu6qIj/PEm95S0SC3hws59E
G9N+SeIsuFN6jMpaymFXpCC74rCFsM8SUHXz0f8tlYapLdyhM26wQzycg4/qodM2
hUJ4kquYfsMnKZs3feDnQSf2W45PiVzGblKt2HAtC6oCqkCDfHuKtJ9Puy0oKGMe
O/PZuH2Y3jw3dIDl5UFrqTLSKVQRIrB3lNDn9nTEvVbGxmugFFp4DfCoOxPOaloO
t480qnOQvCjpJahhbJ4twd90G+omxazv90UFWQiHaAbXEdLCxl43T/2KuS2cDJM4
Fb3Hwz2HYwE8kYP3bjN1yLICbHNA0lP5AdttdWd/ktJ/niimcQI=
=Y2vr
-----END PGP SIGNATURE-----

--nextPart3153989.hHqAuc6tWs--





--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Proposal on Code Documentation
#95
Author: Alexander Leidinger
Date: Fri, 13 Nov 2026 13:59
78 lines
6912 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)

--=_438e806617eb93db65631bdd234c469b
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII;
 format=flowed

Am 2026-11-10 13:51, schrieb Olivier Certner:
> Hi,
> 
> [Globally replying to the last mail in the thread.]
> 
> I've replied to a connected topic brought up by Minsoo in Phabricator 
> revision D60031 (https://reviews.freebsd.org/D60031#1407094).
> 
> TL;DR: As a rule of thumb, I'd continue using section 9 manual pages as 
> the primary documentation for subsystem users, and reserve Doxygen for 
> internal stuff, menial details or fast-moving targets. Curious to know 
> what others think.

As the person which started with the subsys doxygen infrastructure 13 
years ago (or so):

Personally I see the section 9 man pages as the public API 
documentation.
The doxygen parts (no matter if markdown files or comments in the 
source) I see as a way to document the internals, including the 
architecture decissions/talk/design and maybe even a bit of history if 
needed for the understanding of the current design or pitfalls in the 
past (this is an useful possibility I see, not something I push for).

Ideally the section 9 man pages could be generated out of "something" in 
the code, be it doxygen comments via excluding parts marked as internal, 
or something else (YMMV regarding the amount of literate programming 
here; we are surely not in a possition where this part is a possibility 
we can use right away and I do not plan to even look into this direction 
as long as we do not have some more of the interal docs in or near the 
code).

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

--=_438e806617eb93db65631bdd234c469b
Content-Type: application/pgp-signature;
 name=signature.asc
Content-Disposition: attachment;
 filename=signature.asc;
 size=870
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQJPBAEBCAA5FiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmr3F7kbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwzAAoJEBINsJsD+NiGxyMP/jKVf8bhRmdOxfokjOEZ
3+SDe/HuznJ2BLHJBryzM3VIDiTrZnybZ44BHfhrMQRyT562Ta2F2hNsn0xnOLVa
UPPnCUDmU3wRtH2eUvFShmzMR1gsGcYadQEc07eTG4al4gm6iZFeMnhvB8nBa6/a
ILD08Gky35sTc9dIPe619SSyR25lSsuBjvJS4OCIasRhgf0alciJPt4Wi4dm1aXE
PyLvQh6Xo69AQ5c15S6v+y8MqD6k4FbIA6viATm7wv15qf2c8awEPB2PmGtClTV5
QYgherUhH/evD2MIiLg2toX9arYzKwkAiRjIUIb5S93ixSb8jtG5v4FgClDLLna4
bN5wWmQZ/zOomWG6W+O1wI155MH7wXjlqRXsbjOfMYSZOYC5jP7bcB6+PyFl3rCo
glvXbHu2YPF11Gn/tJvsAKbcDp4mrSiXGt2jq/N6m5GJkxrk5Vi31VNQZWkWKqKl
//xRxKdCwJCQzxa4c4ZumMrfSLHINTE+ocpIwQ9uLdYut9vsLqoKSLVYDGsarxt9
64pojlNtvc2PHMPd0kz8wrlCvy6ogBPotTeSmfzylMB1KLuZvoWiMjeiKY9kZsSF
CKqJYba3PN+YLdguOlWlJDBt0RLzteHfZdgUElIGQ8l8TMs+lwVP/jwU3Ac10DgO
xvjU5C4qp24D5UlsBBOoUCDo
=YT2c
-----END PGP SIGNATURE-----

--=_438e806617eb93db65631bdd234c469b--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads