Skip to content

Commit eeb26f8

Browse files
szedergitster
authored andcommitted
Documentation/technical/api-config.txt: fix formatting
Asciidoctor versions v1.5.7 or later print the following warning while building the documentation: ASCIIDOC technical/api-config.html asciidoctor: WARNING: api-config.txt: line 232: unterminated listing block This highlight an issue (even with older Asciidoctor versions) where the length of the '----' lines surrounding a code example don't match, and the rest of the document is rendered in monospace. Fix this by making sure that the length of those lines match. The page rendered with AsciiDoc doesn't have this formatting issue. Signed-off-by: SZEDER Gábor <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9822842 commit eeb26f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/technical/api-config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ A `config_set` can be used to construct an in-memory cache for
229229
config-like files that the caller specifies (i.e., files like `.gitmodules`,
230230
`~/.gitconfig` etc.). For example,
231231

232-
---------------------------------------
232+
----------------------------------------
233233
struct config_set gm_config;
234234
git_configset_init(&gm_config);
235235
int b;

0 commit comments

Comments
 (0)