Update getting started
This commit is contained in:
parent
02022912d8
commit
432ee1a169
25 changed files with 691 additions and 540 deletions
40
source/_includes/asides/getting_started_navigation.html
Normal file
40
source/_includes/asides/getting_started_navigation.html
Normal file
|
@ -0,0 +1,40 @@
|
|||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
{% include edit_github.html %}
|
||||
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Getting Started Guide</h1>
|
||||
<ul class='divided sidebar-menu'>
|
||||
<li>
|
||||
{% active_link /getting-started/ Installation %}
|
||||
<ul>
|
||||
<li>{% active_link /getting-started/installation-raspberry-pi/ Raspberry Pi %}</li>
|
||||
<li>{% active_link /getting-started/installation-docker/ Docker %}</li>
|
||||
<li>{% active_link /getting-started/installation-synology/ Synology NAS %}</li>
|
||||
<li>{% active_link /getting-started/installation-virtualenv/ Virtual Environment %}</li>
|
||||
<li>{% active_link /getting-started/troubleshooting/ Troubleshooting %}</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<ul>
|
||||
<li>{% active_link /getting-started/configuration/ Configuration.yaml %}</li>
|
||||
<li>{% active_link /getting-started/devices/ Setting up devices %}</li>
|
||||
<li>{% active_link /getting-started/presence-detection/ Presence Detection %}</li>
|
||||
<li>{% active_link /getting-started/automation/ Automation %}</li>
|
||||
<li>{% active_link /getting-started/troubleshooting-configuration/ Troubleshooting configuration.yaml %}</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Auto-start Home Assistant
|
||||
<ul>
|
||||
<li>{% active_link /getting-started/autostart-systemd/ Linux - SystemD %}</li>
|
||||
<li>{% active_link /getting-started/autostart-upstart/ Linux - Upstart %}</li>
|
||||
<li>{% active_link /getting-started/autostart-macos/ macOS %}</li>
|
||||
<li>{% active_link /getting-started/autostart-synology/ Synology NAS %}</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href='/topics/'>Advanced Topics</a></li>
|
||||
<li>{% active_link /getting-started/android/ Add to Android Homescreen %}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
|
@ -1,15 +1,15 @@
|
|||
<ul class="menu pull-right">
|
||||
<li>
|
||||
<a>Getting started <i class="icon icon-caret-down"></i></a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/'>Installing Home Assistant</a></li>
|
||||
<li><a href='/getting-started/configuration/'>Configuration Basics</a></li>
|
||||
<li><a href='/getting-started/devices/'>Adding devices</a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection</a></li>
|
||||
<li><a href='/getting-started/automation/'>Automation</a></li>
|
||||
<li><a href='/topics/'>Advanced Topics</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{% comment %}
|
||||
Example dropdown menu
|
||||
<li>
|
||||
<a>Getting started <i class="icon icon-caret-down"></i></a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/'>Installing Home Assistant</a></li>
|
||||
<li><a href='/getting-started/configuration/'>Configuration Basics</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{% endcomment %}
|
||||
<li><a href='/getting-started/'>Getting started</a></li>
|
||||
<li><a href='/components/'>Components</a></li>
|
||||
<li><a href='/cookbook/'>Examples</a></li>
|
||||
<li><a href="/developers/">Developers</a></li>
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
{% assign url_parts = page.url | split: '/' %}
|
||||
{% if page.hide_github_edit != true and
|
||||
url_parts[1] != 'components' and
|
||||
url_parts[1] != 'cookbook' and
|
||||
url_parts[1] != 'developers' %}
|
||||
{% if page.hide_github_edit != true %}
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.io/tree/master/source/{{ page.path }}'>Edit this page on GitHub</a></div>
|
||||
{% endif %}
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
{% include asides/cookbook_navigation.html | compact_newlines %}
|
||||
{% elsif url_parts[1] == 'developers' %}
|
||||
{% include asides/developers_navigation.html | compact_newlines %}
|
||||
{% elsif url_parts[1] == 'getting-started' %}
|
||||
{% include asides/getting_started_navigation.html | compact_newlines %}
|
||||
{% else %}
|
||||
{% include asides/about.html %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue