Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1490358
| From | Mauro Carvalho Chehab <mchehab@s-opensource.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH v3] docs-rst: user: add MAINTAINERS |
| Date | 2016-09-23 20:00 +0200 |
| Message-ID | <skCVs-6UQ-9@gated-at.bofh.it> (permalink) |
| References | <skAgW-5sZ-39@gated-at.bofh.it> <skBwl-6cz-3@gated-at.bofh.it> |
| Organization | Samsung |
Em Fri, 23 Sep 2016 09:26:34 -0700 Joe Perches <joe@perches.com> escreveu: > On Fri, 2016-09-23 at 12:07 -0300, Mauro Carvalho Chehab wrote: > > So, let's use an unusual approach: manually convert the > > text at the MAINTAINERS file head, adding it at a new > > Documentation/user/MAINTAINERS.rst, and include, as a code > > block, the rest of MAINTAINERS contents, with only the > > contents of the maintainers entries. > > > > There's a side effect of this approach: now, if the > > explanation text at the MAINTAINERS file is touched, it should be > > modified also at the Documentation/user/MAINTAINERS.rst file. > > Yet, as the number of changes there are small, this > > should be manageable. > > couldn't this be a generated file from some awk script instead > of being duplicated content with a plea to be kept in sync? Yes, using a script (awk/perl/bash/python/....) is another alternative. In such case, we would need to either generate it via Makefile or to have a Sphinx extension that would tell what script to run. I actually think that a generic include-like Sphinx extension that would run a script and use its result as an included text could be interesting, as it would be a way to get rid of the Documentation/media Makefile. Thanks, Mauro
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC PATCH v3] docs-rst: user: add MAINTAINERS Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2016-09-23 17:10 +0200
Re: [RFC PATCH v3] docs-rst: user: add MAINTAINERS Jonathan Corbet <corbet@lwn.net> - 2016-09-23 17:20 +0200
Re: [RFC PATCH v3] docs-rst: user: add MAINTAINERS Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2016-09-23 17:40 +0200
Re: [RFC PATCH v3] docs-rst: user: add MAINTAINERS Markus Heiser <markus.heiser@darmarit.de> - 2016-09-23 18:30 +0200
Re: [RFC PATCH v3] docs-rst: user: add MAINTAINERS Joe Perches <joe@perches.com> - 2016-09-23 18:30 +0200
Re: [RFC PATCH v3] docs-rst: user: add MAINTAINERS Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2016-09-23 20:00 +0200
csiph-web