From 0f0f584a2bc2a05c2f5db00197b4065b6bcbdb47 Mon Sep 17 00:00:00 2001 From: Villhellm Date: Fri, 25 Oct 2019 01:13:43 -0700 Subject: [PATCH] rearranged instructions in proper order (#338) --- docs/documentation_index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/documentation_index.md b/docs/documentation_index.md index 7316b841..39835fff 100644 --- a/docs/documentation_index.md +++ b/docs/documentation_index.md @@ -16,12 +16,13 @@ To test your changes locally, you need to install **Ruby** and its dependencies - [Install Ruby](https://www.ruby-lang.org/en/documentation/installation/) if you don't have it already. Ruby version 2.5.0 or higher is required. - Install `bundler`, a dependency manager for Ruby: `$ gem install bundler` (You might have to run this command as `sudo`). -- Fork the home-assistant.io [git repository](https://github.com/home-assistant/home-assistant.io). -- In your home-assistant.io root directory, run `$ bundle` to install the gems you need. - Shortcut for Fedora: `$ sudo dnf -y install gcc-c++ ruby ruby-devel rubygem-bundler rubygem-json && bundle` - Shortcut for Debian/Ubuntu: `$ sudo apt-get install ruby ruby-dev ruby-bundler ruby-json g++ zlib1g-dev && bundle` +- Fork the home-assistant.io [git repository](https://github.com/home-assistant/home-assistant.io). +- In your home-assistant.io root directory, run `$ bundle` to install the gems you need. + Then you can work on the documentation: - Run `bundle exec rake generate` to generate the very first preview. This will take a minute.