Go to file
Patrick Fink 52d7927563 [Sitemaps] Add 'Default' element type (#159)
Signed-off-by: Patrick Fink <mail@pfink.de>
2017-01-15 16:51:35 +01:00
_data updated generated content 2017-01-11 11:58:13 +01:00
_includes moved GA script to head section and added ip anonymization 2017-01-07 22:22:00 +01:00
_layouts Add redirection example 2016-12-03 14:34:20 +01:00
_repos updated generated content 2017-01-11 11:58:13 +01:00
_sample_code/osgi_codings_tasks/bundles [OSGi tasks] Add sample solutions (#142) 2017-01-15 15:36:36 +01:00
_sass
addons updated generated content 2017-01-11 11:58:13 +01:00
administration Update menu entry names, many small changes 2016-12-14 19:05:17 +01:00
appendix Replace openHAB 2.0 by openHAB 2 2016-12-14 19:05:17 +01:00
community Revert: Remove redundant/outdated content 2016-12-14 19:05:17 +01:00
concepts updated generated content 2016-12-10 23:52:50 +01:00
configuration [Sitemaps] Add 'Default' element type (#159) 2017-01-15 16:51:35 +01:00
css Fix card-action hover color 2016-12-14 19:05:17 +01:00
developers Fix and improve smaller typo and format fus 2016-12-14 19:05:17 +01:00
features Revert: Remove redundant/outdated content 2016-12-14 19:05:17 +01:00
font/material-design-icons
images
installation [Linux] Remove references to online and offline distro (#182) 2017-01-11 19:06:43 +01:00
js
tutorials Replace openHAB 2.0 by openHAB 2 2016-12-14 19:05:17 +01:00
.editorconfig Add editorconfig file 2016-12-03 14:34:20 +01:00
.gitignore updated generated content 2016-10-07 10:44:39 +02:00
.gitmodules
404.md Add basic 404 error page (#116) 2016-10-18 16:42:02 +02:00
CNAME
CONTRIBUTING.md
README.md
Vagrantfile Enhance Vagrantfile to use polling 2016-12-14 19:05:17 +01:00
_config.yml Replace openHAB 2.0 by openHAB 2 2016-12-14 19:05:17 +01:00
favicon.ico
index.html Add basic 404 error page (#116) 2016-10-18 16:42:02 +02:00
introduction.md Update menu entry names, many small changes 2016-12-14 19:05:17 +01:00
overview.md Add redirect files 2016-12-14 19:05:17 +01:00
pom.xml fixed escaping of quotes and voice service menu 2016-11-13 22:46:34 +01:00
redirect-test.md Add redirection example 2016-12-03 14:34:20 +01:00
update.sh

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