|
| 1 | +--- |
| 2 | +layout: page |
| 3 | +title: "Presenting your add-on" |
| 4 | +description: "Details on how to present your Hass.io add-on." |
| 5 | +date: 2018-01-24 22:15 |
| 6 | +sidebar: true |
| 7 | +comments: false |
| 8 | +sharing: true |
| 9 | +footer: true |
| 10 | +--- |
| 11 | + |
| 12 | +If you decide to share your add-on to the public, paying attention to details is recommended. Of course, your add-on should have a proper name and description, but Hass.io also gives you some other tools to present your add-on even nicer. |
| 13 | + |
| 14 | +## {% linkable_title Adding documentation %} |
| 15 | + |
| 16 | +Good documentation helps the consumer of your add-on to understand its usage, explains configuration options, points users in the right direction in the case they have questions or issues, and contains the license under which the add-on was published. |
| 17 | + |
| 18 | +This file containing the documentation is usually referred to as the "README", which is generally published as the `README.md` file. |
| 19 | + |
| 20 | +Take a look at other projects for inspiration. For example, see the `README.md` of the [Community Hass.io Add-ons: Homebridge](https://github.com/hassio-addons/addon-homebridge/blob/master/README.md) add-on. |
| 21 | + |
| 22 | +In future versions of Hass.io, the `README.md` file will be displayed in the Home Assistant frontend. |
| 23 | + |
| 24 | +## {% linkable_title Add-on icon & logo %} |
| 25 | + |
| 26 | +A picture is worth a thousand words. Therefore, your add-on can be improved by adding a proper image icon and logo. Those images are used when showing your add-on in the Home Assistant Hass.io panel and which will significantly improve the visual representation of your add-on. |
| 27 | + |
| 28 | +Requirements for the logo of your add-on: |
| 29 | + |
| 30 | +- The logo must be in the Portable Network Graphics format (`.png`). |
| 31 | +- The filename must be `logo.png`. |
| 32 | +- It is recommended to keep the logo size around 250x100px. You may choose to use a different size or aspect ratio as you seem fit for your add-on. |
| 33 | + |
| 34 | +Requirements for the icon of your add-on: |
| 35 | + |
| 36 | +- The icon must be in the Portable Network Graphics format (`.png`). |
| 37 | +- The filename must be `icon.png`. |
| 38 | +- The aspect ratio of the icon must be 1x1 (square). |
| 39 | +- It is recommended to use an icon size of 128x128px. |
| 40 | + |
| 41 | +## {% linkable_title Keeping a changelog %} |
| 42 | + |
| 43 | +It is likely you are going to release newer versions of your add-on in the future. In case that happens, the users of your add-on would see an upgrade notice and probably want to know what changes were made in the latest version. |
| 44 | + |
| 45 | +A changelog is a file which contains a curated, chronologically ordered list of notable changes for each version of your add-on and is generally published as the `CHANGELOG.md` file. |
| 46 | + |
| 47 | +If you are in need of a guide on keeping a changelog, we would recommend checking the [keep a changelog](http://keepachangelog.com) website. They have developed a standard that is used by many opensource projects around the world. |
| 48 | + |
| 49 | +In future versions of Hass.io, the `CHANGELOG.md` file will be displayed in the Home Assistant frontend. |
0 commit comments