Developers website for Home Assistant.
Go to file
Erik Montnemery ae90de7f12
Rename CoverDevice to CoverEntity
2020-04-25 09:06:11 +02:00
.github Enable move bot (#9) 2018-05-04 10:38:36 +02:00
blog Update translations docs + add blog (#471) 2020-04-23 15:54:48 -07:00
docs Rename CoverDevice to CoverEntity 2020-04-25 09:06:11 +02:00
script Fix permissions for scripts in script directory (#425) 2020-03-07 23:02:57 +01:00
src Remove discourse scrollbar (#415) 2020-02-19 22:09:53 +00:00
static Blog: S6 Overlay (#462) 2020-04-12 14:49:56 -07:00
.gitignore Migrate to Docusaurus V2 🐱🐉 (#412) 2020-02-19 19:36:13 +00:00
.nvmrc Migrate to Docusaurus V2 🐱🐉 (#412) 2020-02-19 19:36:13 +00:00
LICENSE.md Add LICENSE 2018-05-04 10:26:40 +02:00
README.md Clarifies the order of steps for documentation changes (#136) 2018-10-30 11:49:16 +01:00
docusaurus.config.js Re-enable RSS/Atom feed for the blog (#431) 2020-03-09 12:11:17 +01:00
netlify.toml Re enable search 🔎 (#417) 2020-02-20 09:25:11 +00:00
package.json Bump @docusaurus/preset-classic from 2.0.0-alpha.49 to 2.0.0-alp… (#454) 2020-04-03 00:34:09 +02:00
sidebars.js Migrate to Docusaurus V2 🐱🐉 (#412) 2020-02-19 19:36:13 +00:00
yarn.lock Bump @docusaurus/preset-classic from 2.0.0-alpha.49 to 2.0.0-alp… (#454) 2020-04-03 00:34:09 +02:00

README.md

License: CC BY-NC-SA 4.0

Home Assistant Development Documentation

This is the source for the Home Assistant Development documentation.

Updating the docs

Documentation is build using Docusaurus.

Preparing environment

Running the documentation locally requires NodeJS and Yarn to be installed. Inside a cloned fork of this repository, run:

$ script/setup

This will install docusaurus amongst other things.

Running docs locally

$ script/server

It will start a server at localhost:3000. You will need to navigate to the next version of the docs to see your changes applied. To do so click on the version number in the header and select next -> Documentation.

Adding a page

  • Create new page in docs/
  • Add new doc to website/sidebars.json

You will need to restart the server when creating a new file or make changes to sidebars.json. If you're updating a document, you will only need to refresh your browser to get the latest changes.