Site updated at 2016-08-22 17:04:31 UTC
This commit is contained in:
parent
c9dd16150c
commit
1bdfe070e1
22 changed files with 85 additions and 47 deletions
2
atom.xml
2
atom.xml
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Home Assistant]]></title>
|
<title><![CDATA[Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Community | Home Assistant]]></title>
|
<title><![CDATA[Category: Community | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/community/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/community/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Device-Tracking | Home Assistant]]></title>
|
<title><![CDATA[Category: Device-Tracking | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/device-tracking/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/device-tracking/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: ESP8266 | Home Assistant]]></title>
|
<title><![CDATA[Category: ESP8266 | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/esp8266/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/esp8266/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: How-To | Home Assistant]]></title>
|
<title><![CDATA[Category: How-To | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/how-to/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/how-to/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: iBeacons | Home Assistant]]></title>
|
<title><![CDATA[Category: iBeacons | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/ibeacons/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/ibeacons/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Internet-of-Things | Home Assistant]]></title>
|
<title><![CDATA[Category: Internet-of-Things | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/internet-of-things/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/internet-of-things/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: IoT-Data | Home Assistant]]></title>
|
<title><![CDATA[Category: IoT-Data | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/iot-data/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/iot-data/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: MQTT | Home Assistant]]></title>
|
<title><![CDATA[Category: MQTT | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/mqtt/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/mqtt/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Organisation | Home Assistant]]></title>
|
<title><![CDATA[Category: Organisation | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/organisation/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/organisation/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: OwnTracks | Home Assistant]]></title>
|
<title><![CDATA[Category: OwnTracks | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/owntracks/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/owntracks/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Presence-Detection | Home Assistant]]></title>
|
<title><![CDATA[Category: Presence-Detection | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/presence-detection/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/presence-detection/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Public-Service-Announcement | Home Assistant]]></title>
|
<title><![CDATA[Category: Public-Service-Announcement | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/public-service-announcement/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/public-service-announcement/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Release-Notes | Home Assistant]]></title>
|
<title><![CDATA[Category: Release-Notes | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/release-notes/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/release-notes/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Survey | Home Assistant]]></title>
|
<title><![CDATA[Category: Survey | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/survey/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/survey/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Talks | Home Assistant]]></title>
|
<title><![CDATA[Category: Talks | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/talks/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/talks/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Technology | Home Assistant]]></title>
|
<title><![CDATA[Category: Technology | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/technology/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/technology/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: User-Stories | Home Assistant]]></title>
|
<title><![CDATA[Category: User-Stories | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/user-stories/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/user-stories/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Video | Home Assistant]]></title>
|
<title><![CDATA[Category: Video | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/video/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/video/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Website | Home Assistant]]></title>
|
<title><![CDATA[Category: Website | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/website/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/website/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2016-08-22T13:34:33+00:00</updated>
|
<updated>2016-08-22T17:03:13+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -93,14 +93,16 @@
|
||||||
|
|
||||||
<p>home-assistant.io is built using <a href="http://github.com/mojombo/jekyll">Jekyll</a>. The pages are written in <a href="http://daringfireball.net/projects/markdown/">markdown</a>; to add a page you don’t need to know about HTML or the like.</p>
|
<p>home-assistant.io is built using <a href="http://github.com/mojombo/jekyll">Jekyll</a>. The pages are written in <a href="http://daringfireball.net/projects/markdown/">markdown</a>; to add a page you don’t need to know about HTML or the like.</p>
|
||||||
|
|
||||||
<p>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.</p>
|
<p>The link “<strong>Edit this page on GitHub</strong>” allows one to edit pages without creating a fork.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
<p>To test your changes locally, you need to install the <strong>Ruby</strong> dependencies (gems):</p>
|
<p>To test your changes locally, you need to install the <strong>Ruby</strong> dependencies (gems):</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://www.ruby-lang.org/en/documentation/installation/">Install Ruby</a> if you don’t have it already.</li>
|
<li><a href="https://www.ruby-lang.org/en/documentation/installation/">Install Ruby</a> if you don’t have it already.</li>
|
||||||
<li>Install <code class="highlighter-rouge">bundler</code>, which is a dependency manager for Ruby: <code class="highlighter-rouge">gem install bundler</code></li>
|
<li>Install <code class="highlighter-rouge">bundler</code>, which is a dependency manager for Ruby: <code class="highlighter-rouge">gem install bundler</code></li>
|
||||||
<li>In your home-assistant.io root directory, run <code class="highlighter-rouge">bundle</code> to install the gems you need.</li>
|
<li>In your home-assistant.github.io root directory, run <code class="highlighter-rouge">bundle</code> to install the gems you need.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>Then you can work on the documentation:</p>
|
<p>Then you can work on the documentation:</p>
|
||||||
|
@ -109,27 +111,63 @@
|
||||||
<li>Fork home-assistant.io <a href="https://github.com/home-assistant/home-assistant.github.io">git repository</a>.</li>
|
<li>Fork home-assistant.io <a href="https://github.com/home-assistant/home-assistant.github.io">git repository</a>.</li>
|
||||||
<li>Create/edit/update a page in the directory <code class="highlighter-rouge">source/_components/</code> for your platform/component.</li>
|
<li>Create/edit/update a page in the directory <code class="highlighter-rouge">source/_components/</code> for your platform/component.</li>
|
||||||
<li>Test your changes to home-assistant.io locally: run <code class="highlighter-rouge">rake preview</code> and navigate to <a href="http://127.0.0.1:4000">http://127.0.0.1:4000</a></li>
|
<li>Test your changes to home-assistant.io locally: run <code class="highlighter-rouge">rake preview</code> and navigate to <a href="http://127.0.0.1:4000">http://127.0.0.1:4000</a></li>
|
||||||
<li>Create a Pull Request (PR) against the <strong>next</strong> branch of home-assistant.io if your documentation is for a new feature, platform, or component.</li>
|
<li>Create a Pull Request (PR) against the <strong>next</strong> branch of home-assistant.github.io if your documentation is for a new feature, platform, or component.</li>
|
||||||
<li>Create a Pull Request (PR) against the <strong>current</strong> branch of home-assistant.io if you fix stuff, create Cookbook entries, or expand existing documentation.</li>
|
<li>Create a Pull Request (PR) against the <strong>current</strong> branch of home-assistant.github.io if you fix stuff, create Cookbook entries, or expand existing documentation.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>For a platform page, the fastest way is to make a copy of an existing page and edit it. The <a href="/components/">component overview</a> is generated automatically, so there is no need to add a link to your page.</p>
|
<h3><a class="title-link" name="create-a-page" href="#create-a-page"></a> Create a page</h3>
|
||||||
|
|
||||||
<h3><a class="title-link" name="embedding-code" href="#embedding-code"></a> Embedding Code</h3>
|
<p>For a platform page, the fastest way is to make a copy of an existing page and edit it. The <a href="/components/">Component overview</a> and the <a href="/cookbook/">Examples section</a> are generated automatically, so there is no need to add a link to those pages.</p>
|
||||||
|
|
||||||
<p>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:</p>
|
<p>If you start from scratch with a page, you need to add a header. Different sections of the doumentation may need different headers.</p>
|
||||||
|
|
||||||
<div class="language-text highlighter-rouge"><pre class="highlight"><code>\`\`\`yaml
|
<div class="language-text highlighter-rouge"><pre class="highlight"><code>---
|
||||||
sensor:
|
layout: page
|
||||||
platform: template
|
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 %}
|
||||||
|
...
|
||||||
</code></pre>
|
</code></pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>Note that you can replace <code class="highlighter-rouge">text</code> next to ``` with the language that is within the block.</p>
|
<p>There are <a href="https://jekyllrb.com/docs/variables/">pre-definied variables</a> available but usually it’s not necessary to use them when writing documentation.</p>
|
||||||
|
|
||||||
|
<h3><a class="title-link" name="embedding-code" href="#embedding-code"></a> Embedding Code</h3>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<div class="language-text highlighter-rouge"><pre class="highlight"><code> ```yaml
|
||||||
|
sensor:
|
||||||
|
platform: template
|
||||||
|
```
|
||||||
|
</code></pre>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p>If you are using templates then those parts needs to be <a href="http://stackoverflow.com/a/24102537">escaped</a>. Otherwise they will be rendered and appear blank on the website.</p>
|
||||||
|
|
||||||
|
<p>Note that you can replace <code class="highlighter-rouge">yaml</code> next to ``` with the language that is within the block.</p>
|
||||||
|
|
||||||
<p>When you’re writing code that is to be executed on the terminal, prefix it with <code class="highlighter-rouge">$</code>.</p>
|
<p>When you’re writing code that is to be executed on the terminal, prefix it with <code class="highlighter-rouge">$</code>.</p>
|
||||||
|
|
||||||
|
<h3><a class="title-link" name="html" href="#html"></a> HTML</h3>
|
||||||
|
|
||||||
|
<p>The direct usage of HTML is supported but not recommanded. The note boxes are an exception.</p>
|
||||||
|
|
||||||
|
<div class="language-html highlighter-rouge"><pre class="highlight"><code><span class="nt"><p</span> <span class="na">class=</span><span class="s">'note warning'</span><span class="nt">></span>
|
||||||
|
You need to enable telnet on your router.
|
||||||
|
<span class="nt"></p></span>
|
||||||
|
</code></pre>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h3><a class="title-link" name="images-icons-and-logos" href="#images-icons-and-logos"></a> Images, icons, and logos</h3>
|
<h3><a class="title-link" name="images-icons-and-logos" href="#images-icons-and-logos"></a> Images, icons, and logos</h3>
|
||||||
|
|
||||||
<p>The images which are displayed on the pages are stored in various directories according to their purpose.</p>
|
<p>The images which are displayed on the pages are stored in various directories according to their purpose.</p>
|
||||||
|
|
30
sitemap.xml
30
sitemap.xml
|
@ -1855,62 +1855,62 @@
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/frontend.html</loc>
|
<loc>https://home-assistant.io/demo/frontend.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/index.html</loc>
|
<loc>https://home-assistant.io/demo/index.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-event.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-event.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-info.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-info.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-service.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-service.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-state.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-state.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-template.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-template.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-history.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-history.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-iframe.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-iframe.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-logbook.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-logbook.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-map.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-map.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc>
|
<loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc>
|
<loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc>
|
<loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/static/mdi-demo.html</loc>
|
<loc>https://home-assistant.io/static/mdi-demo.html</loc>
|
||||||
<lastmod>2016-08-22T13:33:42+00:00</lastmod>
|
<lastmod>2016-08-22T17:02:27+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
</urlset>
|
</urlset>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue