Now the patterns are considered as relative paths from the current
directory and converted to absolute paths before matching.

2020年9月12日(土) 7:17 Joshua J. Kugler <jos...@azariah.com>:
>
> I could try that, but the directory isn't at ../test_files. sphinx uses
> fnmatch, so should match *any*path that matches that pattern, not just a
> relative reference, no?
>
> j
>
> On Friday, September 4, 2020 7:37:35 PM AKDT Komiya Takeshi wrote:
> > Hi,
> >
> > It seems your MODULE_PATH starts with "..". How about prepending ".."
> > to the exclude paths?
> >
> > sphinx-apidoc -f -e -M  --implicit-namespaces -o ./modules ../devkit/
> > '../test_files/*'
> >
> > Thanks,
> > Takeshi KOMIYA
> >
> > 2020年8月18日(火) 9:41 Joshua J. Kugler <jos...@azariah.com>:
> > > sphinx-apidoc says:
> > >
> > > """
> > > sphinx-apidoc [OPTIONS] -o <OUTPUT_PATH> <MODULE_PATH> [EXCLUDE_PATTERN …]
> > >
> > > Any EXCLUDE_PATTERNs given are fnmatch-style file and/or directory
> > > patterns
> > > that will be excluded from generation.
> > > """
> > >
> > > My tree looks like this:
> > >
> > > devkit/tests/test_files/<files used for tests>
> > >
> > > My command for apidoc looks like this:
> > >
> > > sphinx-apidoc -f -e -M  --implicit-namespaces -o ./modules ../devkit/
> > > 'test_files/*'
> > >
> > > That doesn't exclude things in test_files/. I tried '*/test_files/*' as
> > > well as *test_files* as well as 'devkit/tests/test_files/*' but an rst
> > > file is still be creating for python files in the test_files tree.
> > >
> > > What am I doing wrong?
> > >
> > > Thanks!
> > >
> > > j
> > >
> > > --
> > > Joshua J. Kugler - Fairbanks, Alaska - jos...@azariah.com
> > > Azariah Enterprises - Programming and Website Design
> > > PGP Key: http://pgp.mit.edu/  ID 0x68108cbb73b13b6a
> > >
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "sphinx-users" group. To unsubscribe from this group and stop receiving
> > > emails from it, send an email to
> > > sphinx-users+unsubscr...@googlegroups.com. To view this discussion on the
> > > web visit
> > > https://groups.google.com/d/msgid/sphinx-users/3490677.efuseTzYfb%40hosan
> > > na.
>
>
> --
> Joshua J. Kugler - Fairbanks, Alaska - jos...@azariah.com
> Azariah Enterprises - Programming and Website Design
> PGP Key: http://pgp.mit.edu/  ID 0x68108cbb73b13b6a
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sphinx-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sphinx-users/3566575.aeNJFYEL58%40hosanna.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/CAFmkQAO1uTC9FwuOYtAbAd0ucKRxH0cQNtp1ca-AX769pEqJpw%40mail.gmail.com.

Reply via email to