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

Many links in the source code are broken (404) #635

Closed
ellnix opened this issue Jan 21, 2025 · 0 comments · Fixed by #636
Closed

Many links in the source code are broken (404) #635

ellnix opened this issue Jan 21, 2025 · 0 comments · Fixed by #636

Comments

@ellnix
Copy link
Contributor

ellnix commented Jan 21, 2025

Noticed some old links that 404 while working on #634 . Wrote this quick (bad) script to try to find more of them, and there were quite a few:

for line in $(rg https://\[\^\\s\)\"\]+\\.com\[\^\\s\>\)\"\]+ src -n -o); do    
  link="$(echo $line | cut -d':' -f3-)"
  curl -o /dev/null --silent --head --write-out "%{http_code} $line\n" "$link"
done | rg 404
404 src/key.rs:659:https://www.meilisearch.com/docs/reference/api/search.md#search-in-an-index-with-post-route
404 src/key.rs:659:https://www.meilisearch.com/docs/reference/api/search.md#search-in-an-index-with-get-route
404 src/key.rs:662:https://www.meilisearch.com/docs/reference/api/documents.md#add-or-replace-documents
404 src/key.rs:662:https://www.meilisearch.com/docs/reference/api/documents.md#add-or-update-documents
404 src/key.rs:665:https://www.meilisearch.com/docs/reference/api/documents.md#get-one-document
404 src/key.rs:665:https://www.meilisearch.com/docs/reference/api/documents.md#get-documents
404 src/key.rs:668:https://www.meilisearch.com/docs/reference/api/documents.md#delete-one-document
404 src/key.rs:668:https://www.meilisearch.com/docs/reference/api/documents.md#delete-all-documents
404 src/key.rs:668:https://www.meilisearch.com/docs/reference/api/documents.md#delete-documents-by-batch
404 src/key.rs:671:https://www.meilisearch.com/docs/reference/api/indexes.md#create-an-index
404 src/key.rs:674:https://www.meilisearch.com/docs/reference/api/indexes.md#get-one-index
404 src/key.rs:674:https://www.meilisearch.com/docs/reference/api/indexes.md#list-all-indexes
404 src/key.rs:677:https://www.meilisearch.com/docs/reference/api/indexes.md#update-an-index
404 src/key.rs:680:https://www.meilisearch.com/docs/reference/api/indexes.md#delete-an-index
404 src/key.rs:683:https://www.meilisearch.com/docs/reference/api/tasks.md#get-task
404 src/key.rs:683:https://www.meilisearch.com/docs/reference/api/tasks.md#get-all-tasks
404 src/key.rs:683:https://www.meilisearch.com/docs/reference/api/tasks.md#get-task-by-index
404 src/key.rs:683:https://www.meilisearch.com/docs/reference/api/tasks.md#get-all-tasks-by-index
404 src/key.rs:686:https://www.meilisearch.com/docs/reference/api/settings.md#get-settings
404 src/key.rs:689:https://www.meilisearch.com/docs/reference/api/settings.md#update-settings
404 src/key.rs:689:https://www.meilisearch.com/docs/reference/api/settings.md#reset-settings
404 src/key.rs:692:https://www.meilisearch.com/docs/reference/api/stats.md#get-stats-of-an-index
404 src/key.rs:692:https://www.meilisearch.com/docs/reference/api/stats.md#get-stats-of-all-indexes
404 src/key.rs:695:https://www.meilisearch.com/docs/reference/api/dump.md#create-a-dump
404 src/key.rs:698:https://www.meilisearch.com/docs/reference/api/dump.md#get-dump-status
404 src/key.rs:701:https://www.meilisearch.com/docs/reference/api/version.md#get-version-of-meilisearch
404 src/settings.rs:798:https://www.meilisearch.com/docs/learn/configuration/typo_tolerance#typo-tolerance
404 src/settings.rs:1465:https://www.meilisearch.com/docs/learn/configuration/typo_tolerance#typo-tolerance
404 src/settings.rs:1593:https://www.meilisearch.com/docs/learn/configuration/proximity-precision
404 src/settings.rs:1976:https://www.meilisearch.com/docs/learn/configuration/displayed_searchable_attributes#searchable-fields
404 src/settings.rs:2109:https://www.meilisearch.com/docs/learn/configuration/typo_tolerance#typo-tolerance
404 src/settings.rs:2142:https://www.meilisearch.com/docs/learn/configuration/typo_tolerance#typo-tolerance
404 src/errors.rs:11:https://github.com/meilisearch/Meilisearch/blob/main/meilisearch-error/src/lib.rs
@meili-bors meili-bors bot closed this as completed in 52b71ff Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant