summaryrefslogtreecommitdiff
path: root/docs/api/settings-spec.xsl
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-11-16 16:46:12 -0500
committerDan Winship <danw@gnome.org>2014-11-16 17:10:57 -0500
commit2b5e85543a93ef921b765da235266041c6743917 (patch)
tree67bfdf96a5a6048a507239e91aeb8efea75f2a46 /docs/api/settings-spec.xsl
parent07bc4b70098a03be3079068e6c473cb04f531802 (diff)
downloadNetworkManager-danw/setting-docs-bgo740224.tar.gz
man, docs: add the secret flags notes non-hackishlydanw/setting-docs-bgo740224
Since libnm-core secret-flags properties are now enum-typed rather than just being uints, we can now actually recognize them when generating docs, rather than just assuming that every property whose name ends in '-flags', but isn't in NMSettingDcb, is a secret-flags property.
Diffstat (limited to 'docs/api/settings-spec.xsl')
-rw-r--r--docs/api/settings-spec.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/settings-spec.xsl b/docs/api/settings-spec.xsl
index 14163e244f..04feb3987f 100644
--- a/docs/api/settings-spec.xsl
+++ b/docs/api/settings-spec.xsl
@@ -42,7 +42,7 @@
<entry><screen><xsl:value-of select="@name"/></screen></entry>
<entry><screen><xsl:value-of select="@type"/></screen></entry>
<entry><screen><xsl:value-of select="@default"/></screen></entry>
- <entry><xsl:value-of select="@description"/><xsl:if test="contains(@name,'-flags') and $setting_name != 'dcb'"> (see <xref linkend="secrets-flags"/> for flag values)</xsl:if></entry>
+ <entry><xsl:value-of select="@description"/><xsl:if test="@type = 'NMSettingSecretFlags'"> (see <xref linkend="secrets-flags"/> for flag values)</xsl:if></entry>
</row>
</xsl:template>