* [ptxdist] [PATCH] doc: fix rule file examples regarding suboptions
@ 2026-01-13 8:43 Markus Heidelberg via ptxdist
0 siblings, 0 replies; only message in thread
From: Markus Heidelberg via ptxdist @ 2026-01-13 8:43 UTC (permalink / raw)
To: ptxdist; +Cc: Markus Heidelberg
Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
---
doc/dev_advanced_rule_files.rst | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/doc/dev_advanced_rule_files.rst b/doc/dev_advanced_rule_files.rst
index 26abf214d..55dc0e8f0 100644
--- a/doc/dev_advanced_rule_files.rst
+++ b/doc/dev_advanced_rule_files.rst
@@ -91,15 +91,17 @@ let’s expand our menu. Here is its current content:
FIXME
We’ll add two menu entries, one for each optional parameter we want to
-add on demand to the ``configure`` parameters:
+add on demand to the ``configure`` parameters. The main menu entry will be
+adapted to contain these entries in a submenu, trailing spaces are added to the
+``prompt`` string for proper alignment:
.. code-block:: kconfig
## SECTION=project_specific
- config FOO
+ menuconfig FOO
tristate
- prompt "foo"
+ prompt "foo "
help
FIXME
@@ -230,10 +232,10 @@ file looks like:
## SECTION=project_specific
- config FOO
+ menuconfig FOO
tristate
select ZLIB
- prompt "foo"
+ prompt "foo "
help
FIXME
@@ -269,11 +271,11 @@ enabled. To add these dependencies on demand, the menu file looks like:
## SECTION=project_specific
- config FOO
+ menuconfig FOO
tristate
select ZLIB if FOO_FOO
select LIBXML2 if FOO_BAR
- prompt "foo"
+ prompt "foo "
help
FIXME
@@ -322,12 +324,12 @@ file. With all the additions above it now looks like:
## SECTION=project_specific
- config FOO
+ menuconfig FOO
tristate
select ZLIB if FOO_FOO
select LIBXML2 if FOO_BAR
select LIBC_M
- prompt "foo"
+ prompt "foo "
help
FIXME
--
2.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-01-13 8:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-13 8:43 [ptxdist] [PATCH] doc: fix rule file examples regarding suboptions Markus Heidelberg via ptxdist
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox