Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: /
Date: Fri, 28 Feb 2020 07:15:25
Message-Id: 1582873147.71be847bf34a79fb0ac220300edb02b318025ad1.ulm@gentoo
1 commit: 71be847bf34a79fb0ac220300edb02b318025ad1
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 25 16:22:44 2020 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 28 06:59:07 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=71be847b
7
8 devbook.xsl: Don't use @link to construct the home path.
9
10 The root template doesn't even have attributes, so why was this
11 originally added?
12
13 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
14
15 devbook.xsl | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/devbook.xsl b/devbook.xsl
19 index 1fa4233..31c73d4 100644
20 --- a/devbook.xsl
21 +++ b/devbook.xsl
22 @@ -528,7 +528,7 @@
23 </div>
24 <div class="collapse navbar-collapse navbar-main-collapse">
25 <ul class="nav navbar-nav">
26 - <li><a href="{concat($relative_path_depth_recursion, substring-after(substring-before(@link, '##'), '::'), 'index.html', substring-after(@link, '##'))}"><span class="fa fa-home"/>&#160; Home</a></li>
27 + <li><a href="{$relative_path_depth_recursion}index.html"><span class="fa fa-home"/>&#160;Home</a></li>
28 <li class="dropdown">
29 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Index&#160;<span class="caret"></span></a>
30 <xsl:if test="/guide/chapter[1]/section or //contentsTree">