Skip to content

Commit d6f49c9

Browse files
authored
Merge pull request #2008 from Botato300/patch-1
fix broken links: change from .txt to .adoc
2 parents 4b1d7c4 + 617f491 commit d6f49c9

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
### DO NOT EDIT! Generated by script/update-docs.rb
33

4-
redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/maintain-git.txt
4+
redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/maintain-git.adoc
55
---
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
### DO NOT EDIT! Generated by script/update-docs.rb
33

4-
redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/revert-a-faulty-merge.txt
4+
redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/revert-a-faulty-merge.adoc
55
---
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
### DO NOT EDIT! Generated by script/update-docs.rb
33

4-
redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/setup-git-server-over-http.txt
4+
redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/setup-git-server-over-http.adoc
55
---
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
### DO NOT EDIT! Generated by script/update-docs.rb
33

4-
redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/update-hook-example.txt
4+
redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/update-hook-example.adoc
55
---

script/update-docs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ def index_doc(filter_tags, doc_list, get_content)
605605
type = 'tree'
606606
target = 'howto'
607607
else
608-
target += '.txt'
608+
target += '.adoc'
609609
end
610610
front_matter = { "redirect_to" => "https://github.com/git/git/#{type}/HEAD/Documentation/#{target}" } # ltrim `docs/`
611611
FileUtils.mkdir_p(File.dirname(doc_path))

0 commit comments

Comments
 (0)