I'm generating documentation with Sphinx for project with structure like this :
+ project
|
+- docs
|
+- tests
|
+- workflow -+- definitions -+- <some folders>
|
+- <rest of the project>
I want to exclude tests, and workflow/definition from documentation.
I tried exclude pattern in docs/conf.py
exclude_patterns = ['**/workflow/definitions', 'workflow/definitions', '*workflow/definitions', 'workflow/definitions*', 'workflow/definitions/*', 'workflow/definitions/*.*']
But even though workflow/definitions are still automatically generated.
Could someone show me correct exclude pattern how to ignore 'definitions' folder ?