Updated Insiders changelog

This commit is contained in:
squidfunk 2021-11-30 19:33:13 +01:00
parent f9044530e6
commit ff4cf19f8d
4 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,7 @@
mkdocs-material-8.0.2+insiders-4.1.0 (2021-11-30)
* Added support for passing page title to feedback forms
mkdocs-material-8.0.2 (2021-11-30)
* Fixed #3275: Code annotations always disappear on click

View File

@ -173,7 +173,7 @@ Then, e.g. to override the site title, add the following lines to `main.html`:
The following template blocks are provided by the theme:
| Block name | Purpose |
|:------------------|:------------------------------------------------|
| :---------------- | :---------------------------------------------- |
| `analytics` | Wraps the Google Analytics integration |
| `announce` | Wraps the announcement bar |
| `config` | Wraps the JavaScript application config |

View File

@ -6,6 +6,10 @@ template: overrides/main.html
## Material for MkDocs Insiders
### 4.1.0 <small>_ November 30, 2021</small> { id="4.0.0" }
- Added support for passing page title to feedback forms
### 4.0.0 <small>_ November 28, 2021</small> { id="4.0.0" }
- Removed deprecated content tabs legacy implementation

View File

@ -168,11 +168,14 @@ The following properties must be set for each rating:
The value of this property is shown after the user selected the rating.
It may contain arbitrary HTML tags, which is especially useful to ask the
user to provide more detailed feedback for the current page through a form.
It's also possible to pre-fill forms with the path to the current page by
using the `{}` placeholder, e.g.:
It's also possible to pre-fill forms with the URL and title of the current
page by using the following placeholders:
``` url
https://github.com/<username>/<repository>/issues/new/?title=[Feedback]+{}
- `{url}` Page URL
- `{title}` Page title
```
https://github.com/.../issues/new/?title=[Feedback]+{title}+-+{url}
```
In this example, when clicking the link, the user is redirected to the "new
@ -180,7 +183,7 @@ The following properties must be set for each rating:
of the current document, e.g.:
```
[Feedback] /setup/setting-up-site-analytics/
[Feedback] Setting up site analytics /setup/setting-up-site-analytics/
```
An alternative to GitHub issues is [Google Forms].