diff --git a/external/docs/content/docs/howto/maintain-git.html b/external/docs/content/docs/howto/maintain-git.html index 238722b92f..026c49fca6 100644 --- a/external/docs/content/docs/howto/maintain-git.html +++ b/external/docs/content/docs/howto/maintain-git.html @@ -1,5 +1,5 @@ --- ### DO NOT EDIT! Generated by script/update-docs.rb -redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/maintain-git.txt +redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/maintain-git.adoc --- diff --git a/external/docs/content/docs/howto/revert-a-faulty-merge.html b/external/docs/content/docs/howto/revert-a-faulty-merge.html index f1b18ca7ce..1b69856771 100644 --- a/external/docs/content/docs/howto/revert-a-faulty-merge.html +++ b/external/docs/content/docs/howto/revert-a-faulty-merge.html @@ -1,5 +1,5 @@ --- ### DO NOT EDIT! Generated by script/update-docs.rb -redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/revert-a-faulty-merge.txt +redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/revert-a-faulty-merge.adoc --- diff --git a/external/docs/content/docs/howto/setup-git-server-over-http.html b/external/docs/content/docs/howto/setup-git-server-over-http.html index 5d350ccf26..20bd8351fa 100644 --- a/external/docs/content/docs/howto/setup-git-server-over-http.html +++ b/external/docs/content/docs/howto/setup-git-server-over-http.html @@ -1,5 +1,5 @@ --- ### DO NOT EDIT! Generated by script/update-docs.rb -redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/setup-git-server-over-http.txt +redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/setup-git-server-over-http.adoc --- diff --git a/external/docs/content/docs/howto/update-hook-example.html b/external/docs/content/docs/howto/update-hook-example.html index 0876ac5143..f1400d7e13 100644 --- a/external/docs/content/docs/howto/update-hook-example.html +++ b/external/docs/content/docs/howto/update-hook-example.html @@ -1,5 +1,5 @@ --- ### DO NOT EDIT! Generated by script/update-docs.rb -redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/update-hook-example.txt +redirect_to: https://github.com/git/git/blob/HEAD/Documentation/howto/update-hook-example.adoc --- diff --git a/script/update-docs.rb b/script/update-docs.rb index 919db2b15e..83782c3f98 100644 --- a/script/update-docs.rb +++ b/script/update-docs.rb @@ -605,7 +605,7 @@ def index_doc(filter_tags, doc_list, get_content) type = 'tree' target = 'howto' else - target += '.txt' + target += '.adoc' end front_matter = { "redirect_to" => "https://github.com/git/git/#{type}/HEAD/Documentation/#{target}" } # ltrim `docs/` FileUtils.mkdir_p(File.dirname(doc_path))