Skip to content

Commit

Permalink
ci: investigations
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgepiloto committed Feb 6, 2024
1 parent 9ea74ce commit a5ece63
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,3 +313,12 @@ def reset_servers(gallery_conf, fname, when):

# A list of files that should not be packed into the epub file.
epub_exclude_files = ["search.html"]


def verify_meilisearch_is_active(app):
MEILISEARCH_PUBLIC_API_KEY = os.getenv("MEILISEARCH_PUBLIC_API_KEY", None)
if not MEILISEARCH_PUBLIC_API_KEY:
raise ValueError("Could not find MEILISEARCH_PUBLIC_API_KEY")

def setup(app):
app.connect("builder-inited", verify_meilisearch_is_active)

0 comments on commit a5ece63

Please sign in to comment.