Skip to content

Commit 554da2e

Browse files
Niklaus Mosimannubmarco
authored andcommitted
Do not create target directory upon initializing a collection
1 parent 0cd61c2 commit 554da2e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sphinxcontrib/collections/collections.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ def __init__(self, app, name, **kwargs):
8181
os.makedirs(collection_main_folder, exist_ok=True)
8282
target = os.path.join(collection_main_folder, target)
8383

84-
if not os.path.exists(os.path.dirname(target)):
85-
os.makedirs(os.path.dirname(target), exist_ok=True)
86-
8784
self.target = target
8885

8986
clean = kwargs.get("clean")

0 commit comments

Comments
 (0)