Convert subpages to folders

This commit is contained in:
Paulus Schoutsen 2015-10-26 23:24:55 -07:00
parent aaa837c3e7
commit e59252a39b
81 changed files with 184 additions and 184 deletions

View file

@ -11,7 +11,7 @@
{% assign is_platform = true %}
{% assign imp_name = file_parts[1] %}
{% assign parent_name = file_parts[0] %}
{% assign parent_url = parent_name | prepend: '/components/' | append: '.html' %}
{% assign parent_url = parent_name | prepend: '/components/' | append: '/' %}
{% assign parent_component = components | where: 'url', parent_url | first %}
{% else %}
{% assign is_platform = false %}

View file

@ -2,46 +2,46 @@
<hr>
<p>Home Assistant will track the state of all the devices in your home, so you don't have to.</p>
<div class='supported-brands clearfix'>
<a href='/components/thermostat.nest.html'>
<a href='/components/thermostat.nest/'>
<img src='/images/supported_brands/nest_thermostat.png' />
</a>
<a href='/components/light.hue.html'>
<a href='/components/light.hue/'>
<img src='/images/supported_brands/philips_hue.png' />
</a>
<a href='/components/mqtt.html'>
<a href='/components/mqtt/'>
<img src='/images/supported_brands/mqtt.png' />
</a>
<a href='/components/media_player.cast.html'>
<a href='/components/media_player.cast/'>
<img src='/images/supported_brands/google_cast.png' />
</a>
<a href='/components/switch.wemo.html'>
<a href='/components/switch.wemo/'>
<img src='/images/supported_brands/belkin_wemo.png' />
</a>
<a href='/components/notify.pushbullet.html'>
<a href='/components/notify.pushbullet/'>
<img src='/images/supported_brands/pushbullet.png' />
</a>
<a href='/components/ifttt.html'>
<a href='/components/ifttt/'>
<img src='/images/supported_brands/ifttt.png' />
</a>
<a href='/components/wink.html'>
<a href='/components/wink/'>
<img src='/images/supported_brands/wink.png' />
</a>
<a href='/components/arduino.html'>
<a href='/components/arduino/'>
<img src='/images/supported_brands/arduino.png' />
</a>
<a href='/components/device_tracker.netgear.html'>
<a href='/components/device_tracker.netgear/'>
<img src='/images/supported_brands/netgear.png' />
</a>
<a href='/components/media_player.kodi.html'>
<a href='/components/media_player.kodi/'>
<img src='/images/supported_brands/kodi.png' />
</a>
<a href='/components/media_player.plex.html'>
<a href='/components/media_player.plex/'>
<img src='/images/supported_brands/plex.png' />
</a>
<a href='/components/device_tracker.luci.html'>
<a href='/components/device_tracker.luci/'>
<img src='/images/supported_brands/openwrt.png' />
</a>
<a href='/components/vera.html'>
<a href='/components/vera/'>
<img src='/images/supported_brands/vera.png' />
</a>
</div>

View file

@ -3,10 +3,10 @@
<a href="{{ root_url }}/getting-started/">Getting started</a>
<ul>
<li><a href='/getting-started/'>Installing Home Assistant</a></li>
<li><a href='/getting-started/configuration.html'>Configuration basics</a></li>
<li><a href='/getting-started/devices.html'>Adding devices</a></li>
<li><a href='/getting-started/presence-detection.html'>Presence detection</a></li>
<li><a href='/getting-started/automation.html'>Automation</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='/cookbook'>Configuration cookbook</a></li>
</ul>
</li>
@ -14,16 +14,16 @@
<li>
<a href="{{ root_url }}/developers/">Developers</a>
<ul>
<li><a href="{{ root_url }}/developers/architecture.html">Architecture</a></li>
<li><a href="{{ root_url}}/developers/frontend.html">Frontend development</a></li>
<li><a href="{{ root_url}}/developers/creating_components.html">
<li><a href="{{ root_url }}/developers/architecture/">Architecture</a></li>
<li><a href="{{ root_url}}/developers/frontend/">Frontend development</a></li>
<li><a href="{{ root_url}}/developers/creating_components/">
Creating components
</a></li>
<li><a href="{{ root_url}}/developers/add_new_platform.html">
<li><a href="{{ root_url}}/developers/add_new_platform/">
Adding platform support
</a></li>
<li><a href="{{ root_url }}/developers/api.html">API</a></li>
<li><a href="{{ root_url }}/developers/credits.html">Credits</a></li>
<li><a href="{{ root_url }}/developers/api/">API</a></li>
<li><a href="{{ root_url }}/developers/credits/">Credits</a></li>
</ul>
</li>
<li><a href="{{ root_url }}/blog/">Blog</a></li>