Article View: muc.lists.freebsd.hackers
Article #95Re: Proposal on Code Documentation
From: Alexander Leidinger
Date: Fri, 13 Nov 2026 13:59
Date: Fri, 13 Nov 2026 13:59
78 lines
6912 bytes
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
Technical Details
Message-ID:
<f5eacaeed1d4616af735517be71be3b4@Leidinger.net>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<3100646.slGk94SIus@ravel> <>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Alexander Leidinger <Alexander@Leidinger.net> Newsgroups: muc.lists.freebsd.hackers Subject: Re: Proposal on Code Documentation Date: Fri, 13 Nov 2026 14:59:10 +0100 Organization: No organization, this is a private message. Approved: news-admin@muc.de Distribution: world Message-ID: <f5eacaeed1d4616af735517be71be3b4@Leidinger.net> References: <3100646.slGk94SIus@ravel> <> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_438e806617eb93db65631bdd234c469b"; micalg=pgp-sha256 Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="68216"; mail-complaints-to="news-admin@muc.de" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794578402; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=HLFyIHu3MpE8CnxtmXq+Xklnpj5nLCiQbG32RbysMaQ=; b=T6JdsbgYx5fHkISXJW0gHQgrCUHu8Io/km8/0zV5ZrBeUoDZ18bZVG/T3Rpi8lZrG9c2rP YLT5AKkvGK9/Si9UsSRrx/fE2ER2Kz54Lt+QRzk0SbzyrzsGYhKud2yyz+USgxyrxMEoVq utlwfAirDCav5GYY0MrXPCqywH5JGnnhpiGsANDqPAFAnuvHjKM06xKeGlxZISjtcLj5gd 9mccH7bdqt7tPQIeLC6pgnF10R/sO8Og3g5ustT+Cu4DBA805Q+N/wTRRaNESCfMU9+l34 5/mhtHuYLQd2ZmZj4El1srJiQeioreMuQXjCIWp0GzbzfORErMz2KClDWuaVIw== X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b=iKkUpM5H; spf=pass (mx1.freebsd.org: domain of Alexander@Leidinger.net designates 2a00:1828:2000:313::1:5 as permitted sender) smtp.mailfrom=Alexander@Leidinger.net; dmarc=pass (policy=quarantine) header.from=leidinger.net Precedence: list DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1794578394; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HLFyIHu3MpE8CnxtmXq+Xklnpj5nLCiQbG32RbysMaQ=; b=iKkUpM5HBsN6NFY+Iq1G/u+m5Q3yMlzsaCw6tO6fHMMvrKNw3AXKn41k8YYzlwbxcBCl5g 8Fe83dim8iXj7TI11MR+VPifo4R78/upJhdbqIEDp6qtBxwEWztB3q84ggo5sPgir0WI6g EiHAGfoivUzwuhQ3kyp6+GfkopGtC6G1fW3I2J+BVxtZVPZis7jJ4CGOSL4tTiO3G8hNE5 ziVWQVg2z6WbeBAYW9q/n9/21MtpyxrPveA5fOQQUQ5rhsaBrOiFZQGB3f9kmGHkpfKgMj TEcGKwxf+wgVnybfA8kB31FhrrRZt6OX/eiS1Ik+61PGfrzGMb9pVNsTQG2yPg== In-Reply-To: <3100646.slGk94SIus@ravel> X-Rspamd-Queue-Id: 4jQzR366cxz4jHS X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.10 / 15.00]; SIGNED_PGP(-2.00)[]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; R_SPF_ALLOW(-0.20)[+mx]; ARC_NA(0.00)[]; ASN(0.00)[asn:34240, ipnet:2a00:1828::/32, country:DE]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[leidinger.net:+]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; DNSWL_BLOCKED(0.00)[2a00:1828:2000:313::1:5:from]; HAS_ATTACHMENT(0.00)[] X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes