Document how to set default UI

Introduce the documentation on how to define the
Gerrit's default UI for users that have no cookies set
or have not clicked the New UI (or OLD UI) on the
bottom link of the page.

Change-Id: If769b85d3ef6947bcb9a7373da8b970d472f700c
This commit is contained in:
Luca Milanesio
2017-06-01 06:37:15 +01:00
committed by David Pursehouse
parent 4ab75823ce
commit 9e6bc940f1

View File

@@ -2086,6 +2086,20 @@ By default false.
+
Path prefix for PolyGerrit's static resources if using a CDN.
[[gerrit.ui]]gerrit.ui::
+
Default UI when the user does not request a different preference via argument
or cookie.
+
* `GWT` for the old-style Google Web Toolkit-based interface.
* `POLYGERRIT` for the new Polymer-based HTML5 Web interface.
+
A sanity check during startup is performed that the value of
gerrit.ui is an enabled UI.
+
Defaults to GWT (if GWT is enabled) or POLYGERRIT (if POLYGERRIT is
enabled and GWT is disabled)
[[gitweb]]
=== Section gitweb