mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-23 19:38:07 +01:00
doc: improve config item labels in info output
Commit 306b7028d
added the nmconfig role / directive. Unfortunately
the default of using the directive name in texinfo output is pretty
ugly, so attempt to make it more human readable by passing `objname`
to add_object_type invocation.
This commit is contained in:
parent
5e17495ab7
commit
7925481997
1 changed files with 2 additions and 1 deletions
|
@ -218,4 +218,5 @@ def setup(app):
|
||||||
# define nmconfig role and directive for config items.
|
# define nmconfig role and directive for config items.
|
||||||
app.add_object_type('nmconfig','nmconfig',
|
app.add_object_type('nmconfig','nmconfig',
|
||||||
indextemplate='pair: configuration item; %s',
|
indextemplate='pair: configuration item; %s',
|
||||||
ref_nodeclass=docutils.nodes.generated)
|
ref_nodeclass=docutils.nodes.generated,
|
||||||
|
objname='config item' )
|
||||||
|
|
Loading…
Reference in a new issue