Re: [PATCH v5 01/15] docs: conf.py: properly handle include and exclude patterns
Donald Hunter <[email protected]>
| Newsgroups | dev.linux.lists.lkmm,dev.linux.lists.linux-kernel-mentees,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
Mauro Carvalho Chehab <[email protected]> writes: > When one does: > make SPHINXDIRS="foo" htmldocs > > All patterns would be relative to Documentation/foo, which > causes the include/exclude patterns like: > > include_patterns = [ > ... > f'foo/*.{ext}', > ] > > to break. This is not what it is expected. Address it by > adding a logic to dynamically adjust the pattern when > SPHINXDIRS is used. > > That allows adding parsers for other file types. > > Signed-off-by: Mauro Carvalho Chehab <[email protected]> Reviewed-by: Donald Hunter <[email protected]>