From 05af8988c871e97a4dcd3209e22de4d7901d1e50 Mon Sep 17 00:00:00 2001 From: Alexander Voss Date: Tue, 21 May 2024 17:23:20 +0200 Subject: [PATCH] Added --force-reinstall to insiders upgrade instructions (#7203) --- docs/insiders/upgrade.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/insiders/upgrade.md b/docs/insiders/upgrade.md index d576dd5014a..ec86ad9701a 100644 --- a/docs/insiders/upgrade.md +++ b/docs/insiders/upgrade.md @@ -34,7 +34,12 @@ need to run different commands: latest development version, run: ``` - pip install --upgrade git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git + pip install --upgrade --force-reinstall git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git + ``` + + The `--force-reinstall` option serves to make sure `pip` does, in fact, + install the latest development version, instead of deciding that nothing + is to be done based on the version numbers. ``` === "git upgrade"