Re: [PATCH] docs: pt_BR: Reorganize process/index.rst to follow english structure
Jonathan Corbet <[email protected]>
| Newsgroups | org.kernel.vger.linux-doc |
|---|---|
| Message-ID | <[email protected]> |
Daniel Pereira <[email protected]> writes: > The main index.rst file for the pt_BR translation was grouping all > translated process documents directly in its toctree, which frequently > caused patch collisions among contributors. > > Following Jonathan Corbet's suggestion, this patch introduces a new > pt_BR/process/index.rst that mirrors the subsection structure of the > English Documentation/process/index.rst. The translated documents are > now organized into their respective categories, rather than a single > flat list. > > The root pt_BR/index.rst now simply references process/index. > > This matches the upstream categorization and significantly reduces > merge conflicts for future pt_BR translations. > > Signed-off-by: Daniel Pereira <[email protected]> > --- > Documentation/translations/pt_BR/index.rst | 27 +---- > .../translations/pt_BR/process/index.rst | 104 ++++++++++++++++++ > 2 files changed, 105 insertions(+), 26 deletions(-) > create mode 100644 Documentation/translations/pt_BR/process/index.rst OK, this is what I wanted to see. One complaint: [...] > diff --git a/Documentation/translations/pt_BR/process/index.rst b/Documentation/translations/pt_BR/process/index.rst > new file mode 100644 > index 000000000..5cecc0300 > --- /dev/null > +++ b/Documentation/translations/pt_BR/process/index.rst > @@ -0,0 +1,104 @@ > +.. SPDX-License-Identifier: GPL-2.0 > + > +.. raw:: latex > + > + \renewcommand\thesection* > + \renewcommand\thesubsection* > + > +.. _process_index_pt_BR: I continue my hopeless quest of trying to convince people not to add these useless top-of-file labels; all they do is add clutter to the text. I have gone ahead and applied the patch so that people working on translations have the new base to work on for 7.4. But I took out that label. (I have doubts about the LaTeX boilerplate too, but left it there). Thanks, jon