Skip to content

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

Closed
@ellnix

Description

@ellnix

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions