NetworkManager/tools
Íñigo Huguet f4fbc59a16 man nm-setting-*: proper format for gtkdoc constants
Gtkdoc comments are used, among other things, to generate the various
nm-setting-* manual pages. When a constant is referenced in a gtkdoc
comment (i.e. `%NM_IP_TUNNEL_MODE_IPIP`) it is expanded to show the C name
and the value (i.e. `NM_IP_TUNNEL_MODE_IPIP (1)`). To generate the
nm-setting-* manual pages, we don't use gtkdoc, but we process this data
with the custom script tools/generate-docs-nm-settings-docs-gir.py.
This script was expanding the constants in the same way than gtkdoc.

Showing the constants in that way in nm-setting-* manual pages makes
little sense, because users are not going to use the C identifiers.
Let's show them with a more appropriate format.

Additionally, the different nm-setting-* pages might require different
formats than the other. For example, for nm-setting-nmcli a format like
`"ipip" (1)` is prefered, but for nm-setting-dbus it's better
`1 (ipip)`. Let's generate different nm-settings-docs-gir-*.xml files for
nmcli, dbus, keyfile and ifcfg-rh, using the right format for each one.
2023-09-21 15:57:35 +02:00
..
nm-guest-data tools: nm-in-vm: fix motd 2023-09-21 15:53:03 +02:00
check-compare-generated.sh build: pass both filenames to "tools/check-compare-generated.sh" script 2022-10-31 09:11:30 +01:00
check-config-options.sh all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
check-docs.sh all: avoid "==" bashism in scripts 2023-05-18 09:16:41 +02:00
check-exports.sh
check-gitlab-ci.sh tools: improve detection of "ci-fairy" command in "tools/check-gitlab-ci.sh" 2020-12-11 16:08:47 +01:00
check-nm-autoptr.sh build: add test for checking consistency of "nm-autoptr.h" 2023-02-28 16:33:07 +01:00
check-tree.sh build: move "clients/common/" to "src/libnmc-{base,setting}/" 2021-03-02 08:38:25 +01:00
check-vapi.sh vapi: add test for consistency of "vapi/NM-1.0.metadata" 2023-02-28 13:05:47 +01:00
create-exports-NetworkManager.sh build: fix pretty() sed invocation portability in .ver script 2023-03-07 08:02:22 +01:00
debug-helper.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
enums-to-docbook.pl all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
generate-docs-nm-property-infos.py man nm-setting-*: add "expand enumvals" capability to property-infos 2023-09-21 15:57:35 +02:00
generate-docs-nm-settings-docs-gir.py man nm-setting-*: proper format for gtkdoc constants 2023-09-21 15:57:35 +02:00
generate-docs-nm-settings-docs-merge.py man nm-settings-nmcli: add "Special values" field 2023-09-21 15:57:35 +02:00
generate-docs-settings-docs.py doc: preserve paraghraphs in nmcli man pages 2022-07-15 17:25:15 +02:00
meson-post-install.sh cloud-setup: add pre-up event to prevent reaching network-online.target 2023-06-09 09:18:20 -04:00
nm-in-container tools: nm-in-vm: fix motd 2023-09-21 15:53:03 +02:00
nm-in-vm tools: nm-in-vm: fix error if pool folder doesn't exist yet 2023-09-21 15:53:03 +02:00
run-nm-test.sh tests: propagate 77 exit code from "tools/run-nm-test.sh" 2022-02-19 13:43:14 +01:00
test-build.sh core: rework IP configuration in NetworkManager using layer 3 configuration 2021-11-18 16:21:29 +01:00
test-cloud-meta-mock.py tests: avoid Python3 f-string in "test-cloud-meta-mock.py" 2023-06-28 12:14:21 +02:00
test-networkmanager-service.py nmcli: warn if daemon version mismatch 2023-08-03 10:09:06 +02:00
test-sudo-wrapper.sh