mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 01:10:58 +01:00
Switched off auto-hiding on Insiders
This commit is contained in:
parent
0bd567b28d
commit
d1a6f592fd
@ -31,11 +31,7 @@ theme:
|
|||||||
- header.autohide
|
- header.autohide
|
||||||
```
|
```
|
||||||
|
|
||||||
_Give this feature a try on [the official documentation][4] built with Material
|
|
||||||
for MkDocs Insiders!_
|
|
||||||
|
|
||||||
[3]: ../insiders.md
|
[3]: ../insiders.md
|
||||||
[4]: https://squidfunk.github.io/mkdocs-material-insiders/
|
|
||||||
|
|
||||||
## Customization
|
## Customization
|
||||||
|
|
||||||
@ -44,8 +40,8 @@ for MkDocs Insiders!_
|
|||||||
Material for MkDocs includes an announcement bar, which is the perfect place to
|
Material for MkDocs includes an announcement bar, which is the perfect place to
|
||||||
display project news or other important information to the user. When the user
|
display project news or other important information to the user. When the user
|
||||||
scrolls past the header, the bar will automatically disappear. In order to add
|
scrolls past the header, the bar will automatically disappear. In order to add
|
||||||
an announcement bar, [extend the theme][5] and [override the `announce`
|
an announcement bar, [extend the theme][4] and [override the `announce`
|
||||||
block][6], which is empty by default:
|
block][5], which is empty by default:
|
||||||
|
|
||||||
``` html
|
``` html
|
||||||
{% block announce %}
|
{% block announce %}
|
||||||
@ -53,5 +49,5 @@ block][6], which is empty by default:
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
```
|
```
|
||||||
|
|
||||||
[5]: ../customization.md#extending-the-theme
|
[4]: ../customization.md#extending-the-theme
|
||||||
[6]: ../customization.md#overriding-blocks
|
[5]: ../customization.md#overriding-blocks
|
||||||
|
Loading…
Reference in New Issue
Block a user