From d79ac0e5bc19ebffaecad994bf44feaa7f6486a6 Mon Sep 17 00:00:00 2001 From: Bama <44502143+ObamaTheLlama114@users.noreply.github.com> Date: Mon, 29 Jul 2024 15:12:37 -0500 Subject: [PATCH] website/scripts/docsmg: switch docsmg from using .env to docsmg.env (#10680) * add docsmg tool * moved to the correct scripts directory * removed test files * added install script and readme draft to docsmg * fix install script * fixed issues * Revert "fixed issues" This reverts commit a51192025fe2f981b641b141a0df10e22e11d42a. * Revert "Revert "fixed issues"" This reverts commit ab68918fea03c0b3ae9641f3e7e4fe75cf0a8542. * added dotenv and updated readme * fixed install script * update readme to ensure that new installers of rust have envs loaded * changed docsmg from using .env to docsmg.env --- website/scripts/docsmg/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/scripts/docsmg/src/main.rs b/website/scripts/docsmg/src/main.rs index 2cd839439d..2a2be11016 100644 --- a/website/scripts/docsmg/src/main.rs +++ b/website/scripts/docsmg/src/main.rs @@ -43,7 +43,7 @@ enum Commands { } fn main() { - let _ = dotenv::dotenv(); + let _ = dotenv::from_filename("./docsmg.env"); let cli = Cli::parse(); match cli.command {