Skip to content

Commit fd1dd7d

Browse files
committed
Skip merge_search script on local previews
File was getting too big
1 parent 2e2d1bb commit fd1dd7d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

merge_docs_search.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@
66
import pathlib
77
import argparse
88
import json
9-
9+
import os
1010
import requests
1111

12+
if not os.getenv("QUARTO_PROJECT_RENDER_ALL"):
13+
print("Quarto not fully rendering, skipping")
14+
exit(0)
15+
1216

1317
DOCS_JSON_URL = "https://mc-stan.org/docs/search.json"
1418

0 commit comments

Comments
 (0)