* Replace quotes with tip boxes
The use of quotes was making important content less clear than the body. Docusaurus now has native tip boxes use remark-admonitions so use these instead.
* Replace json5 codeblock language with json
json5 doesn't have native syntax colouring. Rather than handle with custom css just flip block to have `json` set as language to create same result. All blocks were standard JSON anyway
* Updated the Fork instruction and shell command
Im not sure but i believe since the name change into core and the other homeassistant version the fork instruction is faulty. So i changed it and added a small little note, which might be a little overkill.
* ✏️ Tweaks
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Use f-strings instead of .format()
* Code block language marker fixes
* Make example code blocks syntactically valid Python
* Run all python code blocks through black
https://github.com/scop/misc/blob/master/black_markdown.py
* Add some missing code block language markers
* Use shell language consistently to mark shell code blocks
* Undo folding of some example dicts
* Remove outdated OrderedDict comments per Python 3.7, replace with plain dict
I was following the instructions, but they don't work at all for Windows. Issues fixed:
* The old command would use python3.6, but home assistant requires 3.7
* Picks up the change in https://github.com/home-assistant/developers.home-assistant/pull/335 for the Windows section.
* Explicitly use 3.7 when setting up the venv, since on some systems `python3` points to 3.6, not 3.7
* Dev 0.89 needs some extra tox dependencies to run
This is based on an issue as seen here https://github.com/home-assistant/home-assistant/issues/22068.
* Update development-environment.md based on C.R.
Included the changes needed to run on Windows and Mac. The extra command for OS X is not tested (I am not able to work with OS X).
* Update development_environment.md
* Config folder location clarification
While this was documented elsewhere in the docs, this is the first thing I was looking for after invoking the dev environment and spent an inordinate amount of time tracking it down.
* link to user docs for clarification
link to user docs to clarify location of config files
When running `tox` on OSX as instructed at https://developers.home-assistant.io/docs/en/development_testing.html an error is received stating `error: [Errno 2] No such file or directory: 'autoconf': 'autoconf'`.
By installing `autoconf` via `homebrew`, this error goes away, and the `tox` tests pass. Telling OSX developers to install `autoconf` at this point in the development environment setup procedure (rather than calling it out on the testing page) seemed to make sense to me.