Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
*.DS_Store
**/__pycache__/*
*/index.html
_tmp_ngff_spec/
_temp_ngff_spec/
_build
_html_extra
.tox
Expand Down
4 changes: 4 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ def build_served_html(clean_up=True):
for version in displayed_spec_versions:

# find 'pre_build.py' in 'specifications' subdirectories
# skip if submodule hasn't been checked out.
if len(os.listdir(f"specifications/{version}")) == 0:
print(f"⚠️ No files found for version {version}")
Comment thread
jo-mueller marked this conversation as resolved.
Resolved
continue
script = glob.glob(f"specifications/{version}/**/pre_build.py", recursive=True)[
0
]
Expand Down
Loading