Go to file
Svilen 8a288d04e4 Added article about target platform. (#79)
Topics:
- what is target platform;
- target definition file;
- Eclipse IDE target platform editor.

Signed-off-by: Svilen Valkanov <svilen.valkanov@musala.com>
2016-08-17 20:33:37 +02:00
_data Add IRTrans and Souliss as supported 1.x bindings (#64) 2016-08-07 18:56:30 +02:00
_includes Added article about target platform. (#79) 2016-08-17 20:33:37 +02:00
_layouts reverted _source folder again as it does not seem to be supported by Github Pages 2016-05-30 14:50:02 +02:00
_repos updated remote repos 2016-08-05 19:24:24 +02:00
_sass reverted _source folder again as it does not seem to be supported by Github Pages 2016-05-30 14:50:02 +02:00
addons updated remote repos 2016-08-05 19:24:24 +02:00
administration Add title to most pages, fixes (#60) 2016-08-05 12:10:20 +02:00
appendix Added troubleshooting feature repos (#10) 2016-06-02 22:05:34 +02:00
community Add title to most pages, fixes (#60) 2016-08-05 12:10:20 +02:00
concepts updated remote repos 2016-08-05 19:24:24 +02:00
configuration Add title to most pages, fixes (#60) 2016-08-05 12:10:20 +02:00
css Fix scrollbar bug, Add responsive images (#56) 2016-08-05 10:05:26 +02:00
developers Added article about target platform. (#79) 2016-08-17 20:33:37 +02:00
features Update color code preview (#74) 2016-08-16 12:03:35 +02:00
font/material-design-icons reverted _source folder again as it does not seem to be supported by Github Pages 2016-05-30 14:50:02 +02:00
images reverted _source folder again as it does not seem to be supported by Github Pages 2016-05-30 14:50:02 +02:00
installation Update missing Linux installation details (#75) 2016-08-15 00:24:41 +02:00
js reverted _source folder again as it does not seem to be supported by Github Pages 2016-05-30 14:50:02 +02:00
tutorials added explanation of Things (#51) 2016-08-01 16:59:21 +02:00
.gitignore Add Vagrant machine (#57) 2016-08-04 22:09:26 +02:00
.gitmodules updated structure 2016-05-30 10:30:54 +02:00
CNAME Initial version of openHAB 2 documentation website 2016-05-14 21:18:31 +02:00
CONTRIBUTING.md added infos to README.md 2016-05-30 11:26:24 +02:00
README.md Add Vagrant machine (#57) 2016-08-04 22:09:26 +02:00
Vagrantfile Add Vagrant machine (#57) 2016-08-04 22:09:26 +02:00
_config.yml reverted _source folder again as it does not seem to be supported by Github Pages 2016-05-30 14:50:02 +02:00
favicon.ico reverted _source folder again as it does not seem to be supported by Github Pages 2016-05-30 14:50:02 +02:00
index.html grammar (#25) 2016-06-17 16:37:32 +02:00
overview.md improved welcome page 2016-05-31 11:22:23 +02:00
pom.xml added missing pngs 2016-06-03 09:50:57 +02:00
update.sh updated to latest master or submodules and fixed pom.xml 2016-06-03 09:47:21 +02:00

README.md

Introduction

This repository contains the documentation for openHAB.

The result is available at http://docs.openhab.org/

Contributing to the Documentation

The documentation is a community effort, so everyone is welcome to suggest changes, add new sections and fix bugs. This is done exactly the same way as for the code repositories, simply through pull requests against this repo. Please read the contribution guidelines for details.

Prerequisites

Our documentation is built with Jekyll and served through Github Pages.

In order to run Jekyll locally, you also need Ruby being installed. Please see the Jekyll installation instructions for details.

An alternative for a local setup is a virtual machine provided by Vagrant.

Serving the Documentation locally

Once you have Jekyll installed and the repository checked out, simply run

jekyll serve

from within the repository root folder and point your browser to http://localhost:4000. This will give you a preview of the documentation in the same way as it will appear on docs.openhab.org once your PR is merged. Changes to the markdown files will automatically be taken into account as Jekyll re-generates the pages on the fly.

Alternative: Vagrant VM

You can also have a virtual machine serving a Jekyll and webserver instance for you, without changing your base system or being limited by it. The virtual machine will run in the background, process your changes to the source and presenting the results on your hosts http://localhost:4000. A Vagrant machine configured by a Vagrantfile file is provided for that purpose.

You need to have VirtualBox and Vagrant installed. After that, it's as easy as:

/path-to/openhab-docs$ vagrant up

Automatically Generated Parts

Please note that a few parts MUST NOT BE MANUALLY EDITED! These are copied from the source code repositories and some files are generated from them. These files/folders are:

_source/_data
_source/concepts
_source/addons/bindings
_source/addons/iconsets
_source/addons/io
_source/addons/uis

The generation/update of these files can be triggered through mvn clean package in the repo root. Please note that this repository works with sub-modules, so if you want to run this Maven generation, you should check out the repository recursively:

git clone --recursive https://github.com/openhab/openhab-docs