docs: make color scheme dirs as needed
This commit is contained in:
1 parent
6cc01251dc
commit
ffe76bae3a
1 file changed
+1
@@ -188,6 +188,7 @@ class GenColorScheme(object):
|
||||
children = []
|
||||
for scheme_prefix in sorted(by_prefix.keys()):
|
||||
scheme_filename = f"{self.dirname}/{scheme_prefix}/index.md"
|
||||
os.makedirs(os.path.dirname(scheme_filename), exist_ok=True)
|
||||
children.append(Page(scheme_prefix, scheme_filename))
|
||||
|
||||
with open(scheme_filename, "w") as idx:
|
||||
|
||||
Reference in new issue
Block a user