This commit is contained in:
Gode, Sebastian 2024-06-21 12:28:20 +00:00
parent f1505b01f3
commit ec7e0f0eab

View File

@ -12,7 +12,6 @@ def main():
data = otc_metadata.services.Services() data = otc_metadata.services.Services()
data._sort_data() data._sort_data()
docs = data.docs_html_by_category("internal") docs = data.docs_html_by_category("internal")
# Filter out documents with "disable_import": True # Filter out documents with "disable_import": True
@ -21,7 +20,7 @@ def main():
filtered_docs = [] filtered_docs = []
for doc in service['docs']: for doc in service['docs']:
# Check if the document does not have 'disable_import' set to True # Check if the document doesnt have 'disable_import' on True
if not doc.get('disable_import'): if not doc.get('disable_import'):
filtered_docs.append(doc) filtered_docs.append(doc)