0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-11 15:51:19 +00:00

Exclude the "Management API v1" page from docs search

This commit is contained in:
Pēteris Caune 2022-12-20 10:38:10 +02:00
parent 506ffa2278
commit f5f05b0589
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2

View file

@ -25,7 +25,7 @@ class Command(BaseCommand):
for filename in os.listdir(docs_path):
if not filename.endswith(".html"):
continue
if filename == "apiv1.md":
if filename == "apiv1.html":
continue
slug = filename[:-5] # cut ".html"