matlabdomain icon indicating copy to clipboard operation
matlabdomain copied to clipboard

Take exclude_patterns into account

Open TobiasHolicki opened this issue 10 months ago • 2 comments

Hi, I have a project with folder structure similar to

├── docs
├── src
└── tests
    ├── src
    └── submodules

Currently, I have set matlab_src_dir to the project's root directory, but then sphinxcontrib-matlabdomain returns several warnings related to functions from the imported submodules over which I have no control at all.

I think it could be nice to take sphinx's exclude_patterns into accound when scanning the matlab_src_dir for relevant files. At least that feels natural to me and seems to be not yet implemented.

TobiasHolicki avatar Jan 05 '25 19:01 TobiasHolicki