# HG changeset patch # User Raphaël Gomès # Date 1730129123 -3600 # Node ID dc97e8670decc9925c2f570bdca636778184b199 # Parent 63c0075afefa6b20b2bccd0f207213e7f2dac9c5 doc: register the `config-doc` rst directive This was making the build fail because the directive was unknown. diff -r 63c0075afefa -r dc97e8670dec doc/templates/cmdheader.txt --- a/doc/templates/cmdheader.txt Mon Oct 28 15:50:20 2024 +0100 +++ b/doc/templates/cmdheader.txt Mon Oct 28 16:25:23 2024 +0100 @@ -1,5 +1,7 @@ .. _hg-%(cmdname)s.1: +.. role:: config-doc + %(cmdtitle)s %(cmdshortdesc)s diff -r 63c0075afefa -r dc97e8670dec doc/templates/extheader.txt --- a/doc/templates/extheader.txt Mon Oct 28 15:50:20 2024 +0100 +++ b/doc/templates/extheader.txt Mon Oct 28 16:25:23 2024 +0100 @@ -1,5 +1,7 @@ .. _ext-%(extname)s: +.. role:: config-doc + %(exttitle)s .. contents::