mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 14:26:51 +00:00
Add link to Hosting documentation from Picture Element docs (#13403)
This commit is contained in:
parent
3b4d0a471d
commit
ee7abbbef9
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -45,4 +45,4 @@
|
|||||||
- I made a change that is related to an upcoming version of Home Assistant and used the `next` branch.
|
- I made a change that is related to an upcoming version of Home Assistant and used the `next` branch.
|
||||||
- [ ] The documentation follows the Home Assistant documentation [standards][].
|
- [ ] The documentation follows the Home Assistant documentation [standards][].
|
||||||
|
|
||||||
[standards]: https://developers.home-assistant.io/docs/documentation_standards.html
|
[standards]: https://developers.home-assistant.io/docs/documenting/standards
|
||||||
|
@ -9,11 +9,13 @@ This is the source for the [Home-Assistant.io website](https://home-assistant.io
|
|||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
Setting up to contribute to documentation and the process for submitting pull requests is explained in the [developer documentation](https://developers.home-assistant.io/docs/documentation_index.html).
|
Setting up to contribute to documentation and the process for submitting pull requests is explained in the [developer documentation](https://developers.home-assistant.io/docs/documenting).
|
||||||
|
|
||||||
## Site preview
|
## Site preview
|
||||||
|
|
||||||
In order to make the preview available on [http://127.0.0.1:4000](http://127.0.0.1:4000), use the command as follows:
|
In order to make the preview available on [http://127.0.0.1:4000](http://127.0.0.1:4000), use the following [bundler](
|
||||||
|
https://bundler.io/
|
||||||
|
) command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bundle exec rake preview
|
bundle exec rake preview
|
||||||
|
@ -6,7 +6,7 @@ description: "The Picture Elements card is one of the most versatile types of ca
|
|||||||
|
|
||||||
The Picture Elements card is one of the most versatile types of cards.
|
The Picture Elements card is one of the most versatile types of cards.
|
||||||
|
|
||||||
The cards allow you to position icons or text and even services! On an image based on coordinates. Imagine floor plan, imagine [picture-glance](/lovelace/picture-glance/) with no restrictions!
|
The cards allow you to position icons or text and even services on an image based on coordinates. Imagine floor plan, imagine [picture-glance](/lovelace/picture-glance/) with no restrictions!
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
<img src='/images/lovelace/lovelace_picture_elements.gif' alt='A functional floorplan powered by picture elements'>
|
<img src='/images/lovelace/lovelace_picture_elements.gif' alt='A functional floorplan powered by picture elements'>
|
||||||
@ -20,7 +20,7 @@ type:
|
|||||||
type: string
|
type: string
|
||||||
image:
|
image:
|
||||||
required: true
|
required: true
|
||||||
description: The URL of an image.
|
description: The URL of an image.<br/>To use a locally hosted image, see [Hosting](/integrations/http#hosting-files).
|
||||||
type: string
|
type: string
|
||||||
elements:
|
elements:
|
||||||
required: true
|
required: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user