From d8968ae8990b4e50022c7d76fd37fad708f73814 Mon Sep 17 00:00:00 2001 From: Reinier van der Leer Date: Mon, 1 May 2023 14:01:13 +0200 Subject: [PATCH] Update documentation URLs to docs.agpt.co (#3621) --- CONTRIBUTING.md | 4 ++-- README.md | 18 +++++++++--------- autogpt/llm/llm_utils.py | 4 ++-- docs/index.md | 2 +- mkdocs.yml | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9af38b294787..c410d0761f4f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ This document provides guidelines and best practices to help you contribute effe By participating in this project, you agree to abide by our [Code of Conduct]. Please read it to understand the expectations we have for everyone who contributes to this project. -[Code of Conduct]: https://significant-gravitas.github.io/Auto-GPT/code-of-conduct.md +[Code of Conduct]: https://docs.agpt.co/code-of-conduct/ ## 📢 A Quick Word Right now we will not be accepting any Contributions that add non-essential commands to Auto-GPT. @@ -101,7 +101,7 @@ https://github.com/Significant-Gravitas/Auto-GPT/pulls?q=is%3Apr+is%3Aopen+-labe If you add or change code, make sure the updated code is covered by tests. To increase coverage if necessary, [write tests using pytest]. -For more info on running tests, please refer to ["Running tests"](https://significant-gravitas.github.io/Auto-GPT/testing/). +For more info on running tests, please refer to ["Running tests"](https://docs.agpt.co/testing/). [write tests using pytest]: https://realpython.com/pytest-python-testing/ diff --git a/README.md b/README.md index 8ab51669eb1b..312e4d9fed72 100644 --- a/README.md +++ b/README.md @@ -100,21 +100,21 @@ Your support is greatly appreciated. Development of this free, open-source proje Please see the [documentation][docs] for full setup instructions and configuration options. -[docs]: https://significant-gravitas.github.io/Auto-GPT/ +[docs]: https://docs.agpt.co/ ## 📖 Documentation * [⚙️ Setup][docs/setup] * [💻 Usage][docs/usage] * [🔌 Plugins][docs/plugins] * Configuration - * [🔍 Web Search](https://significant-gravitas.github.io/Auto-GPT/configuration/search/) - * [🧠 Memory](https://significant-gravitas.github.io/Auto-GPT/configuration/memory/) - * [🗣️ Voice (TTS)](https://significant-gravitas.github.io/Auto-GPT/configuration/voice/) - * [🖼️ Image Generation](https://significant-gravitas.github.io/Auto-GPT/configuration/imagegen/) - -[docs/setup]: https://significant-gravitas.github.io/Auto-GPT/setup/ -[docs/usage]: https://significant-gravitas.github.io/Auto-GPT/usage/ -[docs/plugins]: https://significant-gravitas.github.io/Auto-GPT/plugins/ + * [🔍 Web Search](https://docs.agpt.co/configuration/search/) + * [🧠 Memory](https://docs.agpt.co/configuration/memory/) + * [🗣️ Voice (TTS)](https://docs.agpt.co/configuration/voice/) + * [🖼️ Image Generation](https://docs.agpt.co/configuration/imagegen/) + +[docs/setup]: https://docs.agpt.co/setup/ +[docs/usage]: https://docs.agpt.co/usage/ +[docs/plugins]: https://docs.agpt.co/plugins/ ## ⚠️ Limitations diff --git a/autogpt/llm/llm_utils.py b/autogpt/llm/llm_utils.py index cc4048d61e9b..a1654c9fd571 100644 --- a/autogpt/llm/llm_utils.py +++ b/autogpt/llm/llm_utils.py @@ -30,7 +30,7 @@ def retry_openai_api( api_key_error_msg = ( f"Please double check that you have setup a " f"{Fore.CYAN + Style.BRIGHT}PAID{Style.RESET_ALL} OpenAI API Account. You can " - f"read more here: {Fore.CYAN}https://significant-gravitas.github.io/Auto-GPT/setup/#getting-an-api-key{Fore.RESET}" + f"read more here: {Fore.CYAN}https://docs.agpt.co/setup/#getting-an-api-key{Fore.RESET}" ) backoff_msg = ( f"{Fore.RED}Error: API Bad gateway. Waiting {{backoff}} seconds...{Fore.RESET}" @@ -174,7 +174,7 @@ def create_chat_completion( if not warned_user: logger.double_check( f"Please double check that you have setup a {Fore.CYAN + Style.BRIGHT}PAID{Style.RESET_ALL} OpenAI API Account. " - + f"You can read more here: {Fore.CYAN}https://significant-gravitas.github.io/Auto-GPT/setup/#getting-an-api-key{Fore.RESET}" + + f"You can read more here: {Fore.CYAN}https://docs.agpt.co/setup/#getting-an-api-key{Fore.RESET}" ) warned_user = True except (APIError, Timeout) as e: diff --git a/docs/index.md b/docs/index.md index b9487118c827..fb63ea140c73 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,5 +1,5 @@ # Auto-GPT -Welcome to Auto-GPT. Please follow the [Installation](https://significant-gravitas.github.io/Auto-GPT/setup/) guide to get started. +Welcome to Auto-GPT. Please follow the [Installation](/setup/) guide to get started. It is recommended to use a virtual machine for tasks that require high security measures to prevent any potential harm to the main computer's system and data. diff --git a/mkdocs.yml b/mkdocs.yml index 856a9d621201..1294a840683a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,5 +1,5 @@ site_name: Auto-GPT -site_url: https://significantgravitas.github.io/Auto-GPT/ +site_url: https://docs.agpt.co/ repo_url: https://github.com/Significant-Gravitas/Auto-GPT nav: - Home: index.md