@@ -30,20 +30,38 @@ your GitHub account in order to access the Insiders repository programmatically
3030 [ Generate a new token ] : https://github.com/settings/tokens/new
3131 [ scopes ] : https://docs.github.com/en/developers/apps/scopes-for-oauth-apps#available-scopes
3232
33+ Some of the instructions below require that the ` GH_TOKEN ` environment
34+ variable is set to the value of the personal access token you
35+ generated in the previous step. Note that the personal access token
36+ must be kept secret at all times, as it allows the owner to access
37+ your private repositories.
38+
3339## Installation
3440
3541### with pip
3642
37- Material for MkDocs Insiders can be installed with ` pip ` :
43+ Material for MkDocs Insiders can be installed with ` pip ` . You will
44+ normally want to install the latest release but can also install a
45+ specific older release or even the latest development version.
46+ Make sure you have the ` GH_TOKEN ` variable set as instructed above.
3847
39- ``` sh
40- pip install git+https://${GH_TOKEN} @github.com/squidfunk/mkdocs-material-insiders.git
41- ```
48+ === "Specific release"
49+
50+ Pick the corresponding tag from the [list of tags] for the Insiders
51+ repository. In the `pip` command below, replace the tag at the
52+ end of the URL with the one you want.
53+
54+ ``` sh
55+ pip install git+https://${GH_TOKEN}@github.com/squidfunk/[email protected] 56+ ```
4257
43- The ` GH_TOKEN ` environment variable must be set to the value of the personal
44- access token you generated in the previous step. Note that the personal access
45- token must be kept secret at all times, as it allows the owner to access your
46- private repositories.
58+ === "Latest"
59+
60+ ``` sh
61+ pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
62+ ```
63+
64+ [ list of tags ] : https://github.com/squidfunk/mkdocs-material-insiders/tags
4765
4866### with docker
4967
@@ -129,27 +147,6 @@ pip install -e mkdocs-material
129147 [ Pull App ] : https://github.com/apps/pull
130148 [ publish ] : https://github.com/squidfunk/mkdocs-material-insiders/blob/master/.github/workflows/publish.yml
131149
132- ## Upgrading
133-
134- When upgrading Insiders, you should always check the version of Material for
135- MkDocs which makes up the first part of the version qualifier, e.g.Insiders
136- ` 4.x.x ` is currently based on ` 8.x.x ` :
137-
138- ```
139- 8.x.x-insiders-4.x.x
140- ```
141-
142- If the major version increased, it's a good idea to consult the [ upgrade
143- guide] and go through the steps to ensure your configuration is up to date and
144- all necessary changes have been made. If you installed Insiders via ` pip ` , you
145- can upgrade your installation with the following command:
146-
147- ```
148- pip install --upgrade git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
149- ```
150-
151- [ upgrade guide ] : ../upgrade.md
152-
153150## Built-in plugins
154151
155152When you're using built-in plugins that are solely available via Insiders,
0 commit comments