]> git.ipfire.org Git - thirdparty/git.git/commit
doc: update gitignore for .adoc extension
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 20 Jan 2025 01:55:59 +0000 (01:55 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Jan 2025 20:56:05 +0000 (12:56 -0800)
commit89cdbffa8619b0f5e87bacf12dfa400259511b1e
tree2997347ed9347ec46bc8daa861d3493ee666e66a
parent757161efcca150a9a96b312d9e780a071e601a03
doc: update gitignore for .adoc extension

We presently use the ".txt" extension for our AsciiDoc files.  While not
wrong, most editors do not associate this extension with AsciiDoc,
meaning that contributors don't get automatic editor functionality that
could be useful, such as syntax highlighting and prose linting.

Instead, in a future commit, we're going to move to using the more
common ".adoc" extension for these files, which many editors
intrinsically recognize as an AsciiDoc file.  To avoid contributors
accidentally checking in generated files, ignore the new extension for
generated files in the documentation .gitignore files.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/.gitignore
Documentation/technical/.gitignore