aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-02-13 13:24:58 +0100
committerUlrich Müller <ulm@gentoo.org>2020-02-13 13:24:58 +0100
commitf6a47cf16af9ff5ef48253d85fdac670a4a64c01 (patch)
tree2cb2e5666e6db6dedfc908e45a27fd8553cade30
parentebuild-writing/eapi: Move EAPI=4 information to other sections. (diff)
downloaddevmanual-f6a47cf16af9ff5ef48253d85fdac670a4a64c01.tar.gz
devmanual-f6a47cf16af9ff5ef48253d85fdac670a4a64c01.tar.bz2
devmanual-f6a47cf16af9ff5ef48253d85fdac670a4a64c01.zip
bin/gen-eclass-html.sh: Relative link to root page.
The absolute link was expanded to file:/// when testing locally. A relative link is also consistent with devbook.xsl output. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rwxr-xr-xbin/gen-eclass-html.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh
index 883c787..10292eb 100755
--- a/bin/gen-eclass-html.sh
+++ b/bin/gen-eclass-html.sh
@@ -44,11 +44,17 @@ IFS='' read -r -d '' HEADER << 'EOF'
<nav class="tyrian-navbar" role="navigation"><div class="container"><div class="row">
<div class="navbar-header"><button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button></div>
<div class="collapse navbar-collapse navbar-main-collapse"><ul class="nav navbar-nav">
-<li><a href="/index.html"><i class="fa fa-home"></i> Home</a></li>
-<li><a href="../index.html"><i class="fa fa-arrow-up"></i> Eclass Reference</a></li>
+<li><a href="../../index.html"><span class="fa fa-home"></span>&nbsp;Home</a></li>
+<li><a href="../index.html"><span class="fa fa-arrow-up"></span>&nbsp;Eclass Reference</a></li>
</ul></div>
</div></div></nav>
-<div class="container"><div class="row"><div class="col-md010"><ol class="breadcrumb"><li><a href="/index.html">Master Index</a></li><li><a href="../index.html">Eclass Reference</a></li></ol></div></div></div></header>
+<div class="container"><div class="row"><div class="col-md010">
+<ol class="breadcrumb">
+<li><a href="../../index.html">Master Index</a></li>
+<li><a href="../index.html">Eclass Reference</a></li>
+</ol>
+</div></div></div>
+</header>
<main><div class="container">
EOF