From 8abd6c4d723c2918f779b8e09ee1a2c3d68709f5 Mon Sep 17 00:00:00 2001 From: rubo77 Date: Thu, 22 Mar 2018 09:57:44 +0100 Subject: [PATCH] Docs: Enhance GLUON_FEATURES section --- docs/user/site.rst | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/docs/user/site.rst b/docs/user/site.rst index bfceb83e..7459a719 100644 --- a/docs/user/site.rst +++ b/docs/user/site.rst @@ -476,29 +476,17 @@ GLUON_WLAN_MESH Features ^^^^^^^^ -Most feature flags enable only a single package that is derived from the flag -name; for example, the flag *mesh-batman-adv-15* will include the package -*gluon-mesh-batman-adv-15*. +Each package starting with "gluon-" can be included as a feature _flag_ by +omitting the prefix "gluon-"; for example, the flag *mesh-batman-adv-15* will +include only the package *gluon-mesh-batman-adv-15*. -The following flags will add multiple packages: +Some flags are specially treated (for example `web-wizard` and `web-advanced`) +and can contain more than one package. Those are defined in the config file +`package/features`. Please read that file for more details. -* *web-wizard* - - - *gluon-config-mode-hostname* - - *gluon-config-mode-geo-location* - - *gluon-config-mode-contact-info* - - *gluon-config-mode-autoupdater* (if the *autoupdater* feature is enabled) - - *gluon-config-mode-mesh-vpn* (if the *mesh-vpn-fastd* or *mesh-vpn-tunneldigger* feature is enabled) - -* *web-advanced* - - - *gluon-web-admin* - - *gluon-web-network* - - *gluon-web-wifi-config* - - *gluon-web-autoupdater* (if the *autoupdater* feature is enabled) - - *gluon-web-mesh-vpn-fastd* (if the *mesh-vpn-fastd* feature is enabled) - -Site-provided package feeds can define additional feature flags. +Site-provided package feeds can define additional feature flags. To use own +package feeds to define your own features, add a file `gluon/features` to your +site folder. .. _site-config-mode-texts: