[xen master] docs/gen-html-index: Support documents at the toplevel

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen master] docs/gen-html-index: Support documents at the toplevel

patchbot
commit 1e4a834a8f5d970e68cff6d9c16710194bc46537
Author:     Ian Jackson <[hidden email]>
AuthorDate: Fri Apr 6 19:09:16 2018 +0100
Commit:     Ian Jackson <[hidden email]>
CommitDate: Thu Apr 12 16:13:39 2018 +0100

    docs/gen-html-index: Support documents at the toplevel
   
    There are none yet.
   
    Signed-off-by: Ian Jackson <[hidden email]>
    Release-acked-by: Juergen Gross <[hidden email]>
    Acked-by: Lars Kurth <[hidden email]>
---
 docs/gen-html-index | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/gen-html-index b/docs/gen-html-index
index 5b43b42a8c..8258e2bf22 100644
--- a/docs/gen-html-index
+++ b/docs/gen-html-index
@@ -137,6 +137,10 @@ sub dirs($)
     return @dirs;
 }
 
+foreach my $of (grep { !m{/} } @docs) {
+    $top .= make_link($of,'');
+}
+
 foreach my $od (sort { $a cmp $b } uniq map { dirs($_) } @docs) {
     my @d = (grep /^\Q$od\E/, @docs);
     if ( @d == 1 and $d[0] eq "$od/index.html" )
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog