From: Jonathan Corbet <corbet@lwn.net>
To: ksummit-discuss@lists.linuxfoundation.org
Subject: [Ksummit-discuss] [CORE TOPIC] Documentation
Date: Sat, 1 Aug 2015 16:41:42 +0200 [thread overview]
Message-ID: <20150801164142.653012af@lwn.net> (raw)
As your relatively new documentation subsystem maintainer, I think there
might be reason to talk about docs for a bit at the summit.
Currently, we have two major branches to our docs. One, the bulk of
Documentation/, is a haphazard collection of text files of varying quality
and applicability to current kernels. The other is a set of more
organized DocBook documents.
Despite their disorganized nature, the plain-text docs get the bulk of the
attention. Anybody can manage to work with a text file. The DocBook
stuff, instead, is kind of a pain. Working in DocBook itself is less
than fun, few people dare to delve into the code that builds the docs,
and the whole thing is rather fragile. Changing a struct to a union in
the wireless subsystem a few months back broke the docs build, for
example; few people test for such things and even fewer seem to know how
to fix them.
We have some interesting proposals for improvements on the DocBook side,
including integrating Markdown support
(http://thread.gmane.org/gmane.linux.documentation/32140) and allowing
embedded DocBook comments within structs
(https://lwn.net/Articles/653194/). I think they both have merit, but I
hesitate to take them for a couple of reasons.
One is that changes in how docs are done would be imposed on everybody who
is interested in keeping up the docs. They also can, in a sense, look like
coding-style changes, which is an area where I fear to tread on my own.
The other is that I wonder if we want to consider a bit of a more sweeping
overhaul.
I am not convinced that DocBook is really the right tool for the job
here. It is complex, finicky, and it's a real pain to have to replace an
entire laptop because you've worn out your shift key. It is, I believe, an
impediment to improvements to our docs in general. If, instead, we used
something more plain-text-like, I think life might get a lot easier; it
could also enable the integration of all of our docs into something a bit
more cohesive.
Markdown in one of its many forms might be a good alternative here. I'm
also somewhat attracted by Sphinx, which is designed for documenting code
already and could probably be made to work well with our existing kerneldoc
comments without a whole lot of trouble. The Sphinx idea, though, is
hobbled by the inconvenient fact that I've not had the time to develop it
far enough to even have a vague idea of whether it would make real-world
sense.
There could, I think, be value in talking about where we would like our
docs subsystem to go. What kind of changes would we like to make to render
our docs more accessible, more current, and easier to contribute to? Being
on the hook for a KS section might also motivate me to actually develop my
ideas a bit...
jon
next reply other threads:[~2015-08-01 14:41 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-01 14:41 Jonathan Corbet [this message]
2015-08-02 7:07 ` Davidlohr Bueso
2015-08-03 13:35 ` Rafael J. Wysocki
2015-08-03 13:27 ` Konstantin Ryabitsev
2015-08-03 14:33 ` Jonathan Corbet
2015-08-03 20:45 ` Dmitry Torokhov
2015-08-04 10:59 ` Daniel Vetter
2015-08-04 0:52 ` Rafael J. Wysocki
2015-08-04 12:50 ` Laurent Pinchart
2015-08-04 13:03 ` Daniel Vetter
2015-08-04 14:28 ` Laurent Pinchart
2015-08-04 14:30 ` Daniel Vetter
2015-08-04 13:50 ` Dan Carpenter
2015-08-04 14:05 ` Geert Uytterhoeven
2015-08-04 14:29 ` Daniel Vetter
2015-08-04 14:30 ` Laurent Pinchart
2015-08-04 17:10 ` Geert Uytterhoeven
2015-08-04 14:42 ` Konstantin Ryabitsev
2015-08-04 18:21 ` Tim Bird
2015-08-04 21:00 ` Laurent Pinchart
2015-08-04 15:35 ` Mark Brown
2015-08-05 17:07 ` Michael Kerrisk (man-pages)
2015-08-04 17:24 ` Jonathan Corbet
2015-08-04 7:12 ` Michael Ellerman
2015-08-04 7:42 ` Marcel Holtmann
2015-08-04 8:33 ` Peter Huewe
2015-08-05 17:08 ` Michael Kerrisk (man-pages)
2015-08-05 17:19 ` josh
2015-08-05 17:21 ` Konstantin Ryabitsev
2015-08-04 12:54 ` Laurent Pinchart
2015-08-04 13:07 ` Daniel Vetter
2015-08-04 11:09 ` Daniel Vetter
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=20150801164142.653012af@lwn.net \
--to=corbet@lwn.net \
--cc=ksummit-discuss@lists.linuxfoundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox