libnm/docs: don't document NM_SETTING_NAME property
NM_SETTING_NAME is a special property that only has relevance to libnm. It is inherited by all NMSetting instances. It is read-only, and it has no corresponding value on D-Bus or nmcli. Skip it during generate-setting-docs.py. This also drops it from `man nm-settings`, where it doesn't belong.
This commit is contained in:
@@ -228,7 +228,7 @@ for settingxml in settings:
|
||||
raise Exception("%s needs a gtk-doc block with one-line description" % setting.props.name)
|
||||
outfile.write(" <setting name=\"%s\" description=\"%s\" name_upper=\"%s\" >\n" % (setting.props.name, class_desc, get_setting_name_define (settingxml)))
|
||||
|
||||
setting_properties = { prop.name: prop for prop in GObject.list_properties(setting) }
|
||||
setting_properties = { prop.name: prop for prop in GObject.list_properties(setting) if prop.name != 'name' }
|
||||
if args.overrides is None:
|
||||
setting_overrides = {}
|
||||
else:
|
||||
|
Reference in New Issue
Block a user