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%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/CAFmkQAMvXr%2B%3D3w%2BK3gj5eZTfRXQY1d2dp3VY6ozP6MguFKDfXg%40mail.gmail.com.