Go to file
openhab-bot 24d2f53187 Updated external content (Jenkins build 82) 2018-11-17 00:26:51 +00:00
_addons_actions Updated external content (Jenkins build 77) 2018-11-13 03:45:23 +00:00
_addons_bindings Updated external content (Jenkins build 82) 2018-11-17 00:26:51 +00:00
_addons_iconsets/classic Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
_addons_ios Updated external content (Jenkins build 74) 2018-11-10 22:26:07 +00:00
_addons_persistences Updated external content (Jenkins build 31) 2018-09-29 17:06:30 +02:00
_addons_transformations Updated external content (Jenkins build 72) 2018-11-09 21:00:06 +00:00
_addons_uis Updated external content (Jenkins build 51) 2018-10-16 10:39:40 +00:00
_addons_voices Updated external content (Jenkins build 76) 2018-11-12 03:47:32 +00:00
_data Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
_includes Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
_layouts Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
_sample_code/osgi_codings_tasks/bundles Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
_sass Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
addons Fix configuration file path references (#779) 2018-10-01 17:19:56 +02:00
administration Serial configuration section added (#755) 2018-10-12 19:51:17 +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 Updated external content (Jenkins build 34) 2018-10-03 16:20:09 +02:00
configuration minor clarifications to Thing/Items config (#807) 2018-11-09 18:42:46 +01:00
css Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
developers fix: Link to "How to contribute" (#811) 2018-11-16 18:13:44 +01:00
fonts/roboto Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
images [README.md] Refactoring of the README file (#722) 2018-07-08 23:18:20 +02:00
img Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
installation Merge commit '64ef88530291a804e2a36f243aa02138610982f9' into HEAD 2018-11-17 00:24:11 +00:00
js Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
tutorials Updating to reflect changes since OH 2 pre release (#776) 2018-10-03 18:55:30 +02:00
v2.1 Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
v2.2 Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
.editorconfig Add editorconfig file 2016-12-03 14:34:20 +01:00
.gitignore Updated gitignore for usage with vscode (#609) 2018-01-02 19:24:21 -05:00
404.md Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
CNAME Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
CONTRIBUTING.md Update contribution doc to disallow noreply e-mail addresses (#754) 2018-08-09 22:04:54 +02:00
LICENSE Create LICENSE (#796) 2018-10-23 09:45:46 +02:00
README.md Removed old url (#793) 2018-10-22 19:46:49 +02:00
Vagrantfile Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
_config.yml Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
favicon.ico added a round white background to the favicon 2017-10-27 17:59:20 +02:00
imprint.md Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
index.html Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
introduction.md Rename all variants to macOS (#778) 2018-09-18 19:35:39 +02:00
invalidlinks.html Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
package.json Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
pom.xml Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
privacy.md Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
process_addons.groovy Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
search.html Add Google search function (#222) 2017-01-21 23:50:26 +01:00
styleguide.md Add style guide link to style guide 2017-08-30 23:14:52 +02:00
update-code-checks.sh Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00
update-external-resources.sh Revert "Clean up the master branch" 2018-06-14 16:43:24 +02:00

README.md

openHAB 2.x Documentation Project

Introduction

This repository contains the documentation for openHAB.

The result is available at https://www.openhab.org/docs/ and https://www.openhab.org/addons/.

How it works

In this repo you can find and improve all general documentation contents. In fact that is all you can see in the master branch. There are also other read-only branches, which hold external content like the add-ons and concepts documentation. We will read about them later.

So I can't improve an add-on article here?

Correct, this is done in the original repository of the add-on. You may want to know how to find the right file in all of those repos? This is fairly easy: on most of the documentation pages on https://www.openhab.org/, you will find the following link at the bottom, which will point you directly to the file you want to improve.

Contribution link to a specific page

When your improvement has been made and merged, we will get the updated article automatically through our build mechanism. This happens mostly once a day. Afterwards your change is included in the next build of the openHAB website.

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. When editing a page through the "Edit this page on GitHub" link on the website, you will be given the opportunity to create a pull request directly from GitHub. Please read our contribution guidelines and try to follow them as best as you can before submitting a change for review - but don't worry if you don't understand all of them, we will help you to get it right.

So what are the other branches for?

We use them to bring together all relevant articles or to archive versioned content. Mostly those branches will get updated automatically through our continuous integration builds. You can read a bit more below about our external ressources and how we get them.

Automatically Generated Parts

Those parts include all add-on documentation files, no matter if they are from the Eclipse SmartHome repo, the openhab1-addons repo, the openhab2-addons repo or any special binding repo like habmin, zwave or the alexa skill. The "Concepts" articles also come from Eclipse SmartHome and are maintained there.

We are keeping all those files at their original location, because it simply doesn't make sense to keep them here. Imagine you want to do an improvement of the zwave binding and have to update the readme file in a completely different place. That's twice the effort and also we would have to coordinate two Pull Requests. So we are saving time for everyone by keeping those files at their original location along with the code.

How the documentation build works

We have set up our build server to do the magic automatically. There are several triggers (mostly time based), which will then gather the external contents and move them to our final branch. You can find this migrated external content in the final branch under:

  • _addons_*
  • concepts

You can even have a look at how this works in detail. The external content is updated by the following toolchain:

  • update-external-resources.shpom.xmlprocess_addons.groovy

Everything that gets updated in the master branch will be also merged over to the final branch automatically. Afterwards we will redeploy the website with the latest content from the final branch at regular intervals.

Documentation Versioning

Just as openHAB is released in versions, the documentation website provides fixed versions of the documentation articles, e.g., https://www.openhab.org/v2.2/installation/linux.html

Please see this issue for all details regarding the tagging and branching approach. In short, the following has to be considered:

  • Versions like "2.1.0" are marked by git tags.
  • Based on tags branches like "2.1-patch" are created, to include later discovered changes (like fixed links).

When a version is tagged (or updated), a static version of the website has to be generated and copied into the correct sub-folder, this is currently a manual operation described succinctly here: https://github.com/openhab/website/issues/72