Skip to content

Commit ea0e16d

Browse files
committed
docs: include SubmittingPatches
SubmittingPatches was recently changed upstream to be formatted in AsciiDoc. However, it isn't included in the built documentation because it doesn't end in .txt. Update the index tasks to be aware of its special nature and include it when building the documentation.
1 parent 87e5084 commit ea0e16d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/tasks/index.rake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ def index_doc(filter_tags, doc_list, get_content)
2626
tag_files = doc_list.call(tree_sha)
2727
doc_files = tag_files.select { |ent| ent.first =~
2828
/^Documentation\/(
29+
SubmittingPatches |
30+
(
2931
git.* |
3032
everyday |
3133
howto-index |
@@ -37,7 +39,7 @@ def index_doc(filter_tags, doc_list, get_content)
3739
pretty.* |
3840
pull.* |
3941
technical\/.*
40-
)\.txt/x }
42+
)\.txt)/x }
4143

4244
puts "Found #{doc_files.size} entries"
4345
doc_limit = ENV['ONLY_BUILD_DOC']

0 commit comments

Comments
 (0)