diff --git a/docs/documentation_index.md b/docs/documentation_index.md index 56fd6e5a..5031bfbd 100644 --- a/docs/documentation_index.md +++ b/docs/documentation_index.md @@ -25,13 +25,13 @@ Then you can work on the documentation: - Fork home-assistant.io [git repository](https://github.com/home-assistant/home-assistant.io). - Create/edit/update a page. The components/platforms documentation is located in `source/_components/`. `source/_docs/` contains the Home Assistant documentation itself. -- Test your changes to home-assistant.io locally: run `rake preview` and navigate to [http://127.0.0.1:4000](http://127.0.0.1:4000) +- Test your changes to home-assistant.io locally: run `bundle exec rake preview` and navigate to [http://127.0.0.1:4000](http://127.0.0.1:4000) - Create a Pull Request (PR) against the **next** branch of home-assistant.io if your documentation is a new feature, platform, or component. - Create a Pull Request (PR) against the **current** branch of home-assistant.io if you fix stuff, create Cookbook entries, or expand existing documentation. -It could be necessary that you run `rake generate` prior to `rake preview` for the very first preview. +It could be necessary that you run `bundle exec rake generate` prior to `bundle exec rake preview` for the very first preview. -Site generated by `rake` is only available locally. If you are developing on a headless machine, use port forwarding: +Site generated by `bundle exec rake` is only available locally. If you are developing on a headless machine, use port forwarding: ```bash $ ssh -L 4000:localhost:4000 user_on_headless_machine@ip_of_headless_machine