doc: register the `config-doc` rst directive
This was making the build fail because the directive was unknown.
--- 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
--- 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::