summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-11-16 16:46:12 -0500
committerDan Winship <danw@redhat.com>2014-11-19 09:24:10 -0500
commitc7341c982d1cd58c82970781f8d7dde8ed7298e5 (patch)
tree5de25161c0e82b7cee3daf176966712a5f2f8627 /docs
parente43ba45f2fc808b76c12f511390528cf1148a5f3 (diff)
downloadNetworkManager-c7341c982d1cd58c82970781f8d7dde8ed7298e5.tar.gz
man, docs: add the secret flags notes non-hackishly
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')
-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>