Re: [PATCH v2] docs: automarkup.py: Allow automatic cross-reference inside C namespace

2020-11-30 Thread Jonathan Corbet
On Tue, 17 Nov 2020 02:12:01 + Nícolas F. R. A. Prado wrote: > Sphinx 3.1 introduced namespaces for C cross-references. With this, > each C domain type/function declaration is put inside the namespace that > was active at the time of its declaration. > > Add support for automatic

Re: [PATCH v2] docs: automarkup.py: Allow automatic cross-reference inside C namespace

2020-11-18 Thread Nícolas F . R . A . Prado
On Wed Nov 18, 2020 at 5:37 PM -03, Jonathan Corbet wrote: > > On Tue, 17 Nov 2020 02:12:01 + > Nícolas F. R. A. Prado wrote: > > > Sphinx 3.1 introduced namespaces for C cross-references. With this, > > each C domain type/function declaration is put inside the namespace that > > was active

Re: [PATCH v2] docs: automarkup.py: Allow automatic cross-reference inside C namespace

2020-11-18 Thread Jonathan Corbet
On Tue, 17 Nov 2020 12:30:13 + Nícolas F. R. A. Prado wrote: > > Hmm... do we still need to skip syscalls? > > Yeah, I see what you mean. Since you moved the syscalls in the docs inside > namespaces, there shouldn't be any syscall definitions in the global scope > anymore and therefore we

Re: [PATCH v2] docs: automarkup.py: Allow automatic cross-reference inside C namespace

2020-11-18 Thread Jonathan Corbet
On Tue, 17 Nov 2020 02:12:01 + Nícolas F. R. A. Prado wrote: > Sphinx 3.1 introduced namespaces for C cross-references. With this, > each C domain type/function declaration is put inside the namespace that > was active at the time of its declaration. > > Add support for automatic

Re: [PATCH v2] docs: automarkup.py: Allow automatic cross-reference inside C namespace

2020-11-17 Thread Nícolas F . R . A . Prado
On Tue Nov 17, 2020 at 2:47 AM -03, Mauro Carvalho Chehab wrote: > > Em Tue, 17 Nov 2020 02:12:01 + > Nícolas F. R. A. Prado escreveu: > > > Sphinx 3.1 introduced namespaces for C cross-references. With this, > > each C domain type/function declaration is put inside the namespace that > > was

Re: [PATCH v2] docs: automarkup.py: Allow automatic cross-reference inside C namespace

2020-11-16 Thread Mauro Carvalho Chehab
Em Tue, 17 Nov 2020 02:12:01 + Nícolas F. R. A. Prado escreveu: > Sphinx 3.1 introduced namespaces for C cross-references. With this, > each C domain type/function declaration is put inside the namespace that > was active at the time of its declaration. > > Add support for automatic

[PATCH v2] docs: automarkup.py: Allow automatic cross-reference inside C namespace

2020-11-16 Thread Nícolas F . R . A . Prado
Sphinx 3.1 introduced namespaces for C cross-references. With this, each C domain type/function declaration is put inside the namespace that was active at the time of its declaration. Add support for automatic cross-referencing inside C namespaces by checking whether the corresponding source file