]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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

index 9f4bb3c4bf9e9e84f740b3210c570ec25e15e4fe..abce806398fff45bb7db31021ca974d8c56f9c28 100644 (file)
@@ -7,10 +7,14 @@
 git.info
 gitman.info
 howto-index.txt
+howto-index.adoc
 doc.dep
 cmds-*.txt
+cmds-*.adoc
 mergetools-*.txt
+mergetools-*.adoc
 SubmittingPatches.txt
+SubmittingPatches.adoc
 tmp-doc-diff/
 tmp-meson-diff/
 GIT-ASCIIDOCFLAGS
index 8aa891daee050f03cf265a6ea991ff9ebb60815e..3caef14a9383dfbc0133534742a7e357a914f338 100644 (file)
@@ -1 +1,2 @@
 api-index.txt
+api-index.adoc