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>
This commit is contained in:

committed by
Junio C Hamano

parent
757161efcc
commit
89cdbffa86
4
Documentation/.gitignore
vendored
4
Documentation/.gitignore
vendored
@ -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
|
||||
|
1
Documentation/technical/.gitignore
vendored
1
Documentation/technical/.gitignore
vendored
@ -1 +1,2 @@
|
||||
api-index.txt
|
||||
api-index.adoc
|
||||
|
Reference in New Issue
Block a user