mirror of
https://github.com/wez/wezterm.git
synced 2024-09-19 02:37:51 +03:00
docs: make color scheme dirs as needed
This commit is contained in:
parent
6cc01251dc
commit
ffe76bae3a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user