Fix spelling

This commit is contained in:
Otto Winter 2019-01-10 08:31:03 +01:00
parent 5923b01ba8
commit 8aca21953a
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
2 changed files with 4 additions and 1 deletions

View File

@ -55,7 +55,7 @@ of time to find+fix some final bugs.
First, make sure you run at least Home Assistant 0.85.0 (currently a `beta release <https://www.home-assistant.io/docs/installation/updating/#run-the-beta-version>`__). Then, go through the
:ref:`migration guide here <api-mqtt_to_native>`.
Python 3 Compatability
Python 3 Compatibility
----------------------
PlatformIO has finally implemented `python 3 support <https://github.com/platformio/platformio-core/issues/895>`__

View File

@ -9,6 +9,9 @@ def create_nojekyll(app, env):
with open(path, 'wt') as f:
f.write(app.env.config.cname)
if 'beta' in app.env.config.cname:
with open(os.path.join(app.builder.outdir, 'robots.txt'), 'wt') as f:
f.write('User-agent: *\nDisallow: /\n')
def setup(app):
app.add_config_value('cname', 'esphomelib.com', 'html')