6 Commits

Author SHA1 Message Date
Tom Brien
d6e06a716d
Replace quotes with tip boxes (#458)
* 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
2020-04-04 14:32:57 -07:00
Tom Brien
974b29ebac
Migrate to Docusaurus V2 🐱🐉 (#412)
* Migrate to Docusaurus V2

* Add redirects

Only covers most recent version

* Add omitted scripts folder

* Include working yarn.lock
2020-02-19 19:36:13 +00:00
Ville Skyttä
770185004b
Code block improvements (#382)
* 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
2020-01-13 21:55:41 +02:00
Dave T
71799579e5 Grammar/typo corrections in dev docs (#379)
* Improve grammar

* Improve grammar

* Improve grammar

* Improve grammar
2020-01-04 16:00:17 +01:00
Paulus Schoutsen
1b40e7d369 Fix hass.io sidebar 2018-04-25 18:29:23 -04:00
Paulus Schoutsen
57cae784a3 Fix sidebar order 2018-04-25 16:52:12 -04:00