From feaf25a95d1aeafa410a99ac13fa8fb73b33136f Mon Sep 17 00:00:00 2001 From: TATHAGATA ROY <98920199+roy9495@users.noreply.github.com> Date: Fri, 28 Apr 2023 20:52:03 +0000 Subject: [PATCH] Updated messages pointing to the docs website --- download-latest.sh | 2 +- meilisearch-types/src/versioning.rs | 4 ++-- meilisearch/src/main.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/download-latest.sh b/download-latest.sh index aa0b6e4d7..c533d6616 100644 --- a/download-latest.sh +++ b/download-latest.sh @@ -103,7 +103,7 @@ not_available_failure_usage() { printf "$RED%s\n$DEFAULT" 'ERROR: Meilisearch binary is not available for your OS distribution or your architecture yet.' echo '' echo 'However, you can easily compile the binary from the source files.' - echo 'Follow the steps at the page ("Source" tab): https://docs.meilisearch.com/learn/getting_started/installation.html' + echo 'Follow the steps at the page ("Source" tab): https://www.meilisearch.com/docs/learn/getting_started/installation' } fetch_release_failure_usage() { diff --git a/meilisearch-types/src/versioning.rs b/meilisearch-types/src/versioning.rs index f429a6128..3c4726403 100644 --- a/meilisearch-types/src/versioning.rs +++ b/meilisearch-types/src/versioning.rs @@ -46,7 +46,7 @@ pub fn check_version_file(db_path: &Path) -> anyhow::Result<()> { pub enum VersionFileError { #[error( "Meilisearch (v{}) failed to infer the version of the database. - To update Meilisearch please follow our guide on https://docs.meilisearch.com/learn/update_and_migration/updating.html.", + To update Meilisearch please follow our guide on https://www.meilisearch.com/docs/learn/update_and_migration/updating.", env!("CARGO_PKG_VERSION").to_string() )] MissingVersionFile, @@ -54,7 +54,7 @@ pub enum VersionFileError { MalformedVersionFile, #[error( "Your database version ({major}.{minor}.{patch}) is incompatible with your current engine version ({}).\n\ - To migrate data between Meilisearch versions, please follow our guide on https://docs.meilisearch.com/learn/update_and_migration/updating.html.", + To migrate data between Meilisearch versions, please follow our guide on https://www.meilisearch.com/docs/learn/update_and_migration/updating.", env!("CARGO_PKG_VERSION").to_string() )] VersionMismatch { major: String, minor: String, patch: String }, diff --git a/meilisearch/src/main.rs b/meilisearch/src/main.rs index c80245c7e..1b95291fd 100644 --- a/meilisearch/src/main.rs +++ b/meilisearch/src/main.rs @@ -149,7 +149,7 @@ pub fn print_launch_resume( " Thank you for using Meilisearch! -\nWe collect anonymized analytics to improve our product and your experience. To learn more, including how to turn off analytics, visit our dedicated documentation page: https://docs.meilisearch.com/learn/what_is_meilisearch/telemetry.html +\nWe collect anonymized analytics to improve our product and your experience. To learn more, including how to turn off analytics, visit our dedicated documentation page: https://www.meilisearch.com/docs/learn/what_is_meilisearch/telemetry Anonymous telemetry:\t\"Enabled\"" );