Go to file
Jerome Luckenbach 675936b512
Revert "Reword first paragragh and fix snapshot link (#851)" (#853)
This reverts commit 34d1a2f9d7.
2019-01-06 23:07:08 +01:00
_actions added a few logos 2017-06-22 22:04:31 +02:00
_bindings updated generated content 2017-06-27 18:43:49 +02:00
_iconsets/classic updated generated content 2017-06-27 18:43:49 +02:00
_includes Switch to simpler naming scheme 2018-01-07 18:53:13 +01:00
_io updated generated content 2017-06-07 13:49:25 +02:00
_layouts Add versioning layout, fix further links 2017-11-11 15:12:46 +01:00
_persistence [Add-ons] Fix #358 (#359) 2017-03-15 16:19:31 +01:00
_repos updated generated content 2017-06-27 18:43:49 +02:00
_sample_code/osgi_codings_tasks/bundles [Developers] Improve prerequisites section (#407) 2017-06-27 13:53:39 +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
_transformations updated generated content 2017-03-17 19:56:07 +01:00
_uis updated generated content 2017-06-07 13:49:25 +02:00
_voice updated generated content 2017-03-17 19:56:07 +01:00
addons Update addons articles links 2017-11-11 15:26:09 +01:00
administration Add prerequisite to stop openHAB before changing JsonDB files manually (#391) 2017-06-06 20:19:49 +02:00
appendix Replace openHAB 2.0 by openHAB 2 2016-12-14 19:05:17 +01:00
community Remove redundant/outdated content (#271) 2017-01-25 15:11:56 +01:00
concepts added a few logos and regenerated code 2017-06-09 22:40:17 +02:00
configuration Add documentation about Eclipse IoT Marketplace integration (#415) 2017-06-27 18:35:06 +02:00
css Update frameworks and fix highlighting (#417) 2017-06-29 18:54:19 +02:00
developers [Developers] Improve prerequisites section (#407) 2017-06-27 13:53:39 +02:00
features Remove redundant/outdated content (#271) 2017-01-25 15:11:56 +01:00
fonts/roboto Update frameworks and fix highlighting (#417) 2017-06-29 18:54:19 +02:00
images Add documentation about Eclipse IoT Marketplace integration (#415) 2017-06-27 18:35:06 +02:00
installation Revert "Reword first paragragh and fix snapshot link (#851)" (#853) 2019-01-06 23:07:08 +01:00
js Update frameworks and fix highlighting (#417) 2017-06-29 18:54:19 +02:00
tutorials Update frameworks and fix highlighting (#417) 2017-06-29 18:54:19 +02:00
.editorconfig Add editorconfig file 2016-12-03 14:34:20 +01:00
.gitignore Add remark-lint configuration (#418) 2017-06-29 18:53:55 +02:00
.gitmodules [Add-ons] Generate as Jekyll Collections instead of Jekyll Pages (#355) 2017-03-02 01:08:44 +01:00
404.md Add option to generate a sitemap.xml file for Google (#178) 2017-01-22 14:23:51 +01: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
LICENSE Create LICENSE 2018-11-03 19:43:23 +01:00
README.md Add Vagrant machine (#57) 2016-08-04 22:09:26 +02:00
Vagrantfile Enhance Vagrantfile to use polling 2016-12-14 19:05:17 +01:00
_config.yml Switch to simpler naming scheme 2018-01-07 18:53:13 +01: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
imprint.md Update frameworks and fix highlighting (#417) 2017-06-29 18:54:19 +02:00
index.html Add versioning layout, fix further links 2017-11-11 15:12:46 +01: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
package.json Update remark-lint config, add usage description (#423) 2017-07-01 22:42:19 +02:00
pom.xml [Add-ons] Add transformation docs (#357) 2017-03-02 16:13:47 +01:00
privacy.md [Imprint,Privacy] Fix some smaller defects (#290) 2017-02-04 20:32:39 +01:00
process_addons.groovy [Add-ons] Fix #358 (#359) 2017-03-15 16:19:31 +01:00
redirect-test.md Add redirection example 2016-12-03 14:34:20 +01:00
search.html Add Google search function (#222) 2017-01-21 23:50:26 +01:00
update.sh updated generated content 2017-06-22 21:11:12 +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