diff --git a/atom.xml b/atom.xml index 638682aec4..4608baa81f 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index f5bb41d17b..e08ae29d90 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 7dca68e954..027697166a 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index a06ce378f0..6f10508e22 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index e6394a4dff..f81f060af2 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 1143f44eca..f0bd858087 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index b0f3445b82..9d646ea9c0 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 5c8fbee6fb..15d0041f38 100644 --- a/blog/categories/iot-data/atom.xml +++ b/blog/categories/iot-data/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: IoT-Data | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index dbe2325c7e..82a82cfdfd 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 3da5635dca..da90b9f89e 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index e340d4699f..a0d9d631fb 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 92ff1d7f89..5fb8935979 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 70d8a4e93f..e22b93f55d 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 7278aa1a7f..4b0716bc69 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 589d2235a2..8397897f6f 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 2ca7130f49..e4d578db3c 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 2d14f46eb4..804106d1a1 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 60fdea3c5f..51c9e32d51 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 7ccf2185fb..eaa1e4bb4c 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 137cc17ebe..f1daa99837 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2016-08-22T13:34:33+00:00 + 2016-08-22T17:03:13+00:00 https://home-assistant.io/ diff --git a/developers/website/index.html b/developers/website/index.html index 3b735143ac..d2c713c326 100644 --- a/developers/website/index.html +++ b/developers/website/index.html @@ -93,14 +93,16 @@

home-assistant.io is built using Jekyll. The pages are written in markdown; to add a page you don’t need to know about HTML or the like.

-

The process for working on the website is no different from working on Home Assistant itself. You work on your change and propose it via a pull request.

+

The link “Edit this page on GitHub” allows one to edit pages without creating a fork.

+ +

For larger changes, we suggest that you clone the website repository. This has the advantage that you can review your changes locally. The process for working on the website is no different from working on Home Assistant itself. You work on your change and propose it via a pull request.

To test your changes locally, you need to install the Ruby dependencies (gems):

  • Install Ruby if you don’t have it already.
  • Install bundler, which is a dependency manager for Ruby: gem install bundler
  • -
  • In your home-assistant.io root directory, run bundle to install the gems you need.
  • +
  • In your home-assistant.github.io root directory, run bundle to install the gems you need.

Then you can work on the documentation:

@@ -109,27 +111,63 @@
  • Fork home-assistant.io git repository.
  • Create/edit/update a page in the directory source/_components/ for your platform/component.
  • Test your changes to home-assistant.io locally: run rake preview and navigate to http://127.0.0.1:4000
  • -
  • Create a Pull Request (PR) against the next branch of home-assistant.io if your documentation is for a new feature, platform, or component.
  • -
  • Create a Pull Request (PR) against the current branch of home-assistant.io if you fix stuff, create Cookbook entries, or expand existing documentation.
  • +
  • Create a Pull Request (PR) against the next branch of home-assistant.github.io if your documentation is for a new feature, platform, or component.
  • +
  • Create a Pull Request (PR) against the current branch of home-assistant.github.io if you fix stuff, create Cookbook entries, or expand existing documentation.
  • -

    For a platform page, the fastest way is to make a copy of an existing page and edit it. The component overview is generated automatically, so there is no need to add a link to your page.

    +

    Create a page

    -

    Embedding Code

    +

    For a platform page, the fastest way is to make a copy of an existing page and edit it. The Component overview and the Examples section are generated automatically, so there is no need to add a link to those pages.

    -

    You can use the default markdown syntax to generate syntax highlighted code. For inline code wrap your code in `. For multi line syntax wrap your code like this:

    +

    If you start from scratch with a page, you need to add a header. Different sections of the doumentation may need different headers.

    -
    \`\`\`yaml
    -sensor:
    -  platform: template
    -\`\`\`
    +
    ---
    +layout: page
    +title: "Website home-assistant.io"
    +description: "home-assistant.io web presence"
    +date: 2015-06-17 08:00
    +sidebar: true
    +comments: false
    +sharing: true
    +footer: true
    +---
    +
    +Content...Written in markdown. 
    +
    +### {% linkable_title Linkable Header %}
    +...
     
    -

    Note that you can replace text next to ``` with the language that is within the block.

    +

    There are pre-definied variables available but usually it’s not necessary to use them when writing documentation.

    + +

    Embedding Code

    + +

    You can use the default markdown syntax to generate syntax highlighted code. For inline code wrap your code in `. For multi line syntax wrap your code as shown below.

    + +
     ```yaml
    + sensor:
    +   platform: template
    + ```
    +
    +
    + +

    If you are using templates then those parts needs to be escaped. Otherwise they will be rendered and appear blank on the website.

    + +

    Note that you can replace yaml next to ``` with the language that is within the block.

    When you’re writing code that is to be executed on the terminal, prefix it with $.

    +

    HTML

    + +

    The direct usage of HTML is supported but not recommanded. The note boxes are an exception.

    + +
    <p class='note warning'>
    +  You need to enable telnet on your router. 
    +</p>
    +
    +
    +

    Images, icons, and logos

    The images which are displayed on the pages are stored in various directories according to their purpose.

    diff --git a/sitemap.xml b/sitemap.xml index 0fefd5c52c..836c7f1264 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1855,62 +1855,62 @@ https://home-assistant.io/demo/frontend.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/demo/index.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00 https://home-assistant.io/static/mdi-demo.html -2016-08-22T13:33:42+00:00 +2016-08-22T17:02:27+00:00