Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs/onboarding-recommender.ipynb #430

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
9 changes: 9 additions & 0 deletions .github/actions/check-links/check-links.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"https://www.pinecone.io",
"https://app.pinecone.io",
]

ignore_links = [
'platform.openai.com', # cloudflare blocks requests sometimes
'nbviewer.org' # nbviewer has a pretty strict rate limit, so we don't want to waste requests
]

known_good_links = set(known_good)
for link in known_good:
known_good_links.add(f"{link}/")
Expand Down Expand Up @@ -46,6 +52,9 @@
if links:
print(f"\nFile: {filename}")
for link in sorted(links):
if any(ignore_link in link for ignore_link in ignore_links):
print(f" ⏭️ {link}")
continue
if link in known_good_links:
good_links.add(link)
print(f" ✅ {link}")
Expand Down
Loading
Loading