aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-10-22 01:18:09 +0200
committerUlrich Müller <ulm@gentoo.org>2023-10-22 01:18:09 +0200
commit2957b24ceea553281746f6b4528f757f4f5d6b54 (patch)
treeebdfb7f0141ea56c1d3c1687a2327c87f6be838a
parentfunction-reference/install-functions: Mention dosym -r option (diff)
downloaddevmanual-2957b24ceea553281746f6b4528f757f4f5d6b54.tar.gz
devmanual-2957b24ceea553281746f6b4528f757f4f5d6b54.tar.bz2
devmanual-2957b24ceea553281746f6b4528f757f4f5d6b54.zip
devbook.xsl: Force end tag for empty li elements
In order to make "tidy" happy. For some reason, xsltproc omits the end tag if the element is empty. Apparently, an empty comment is enough to make it think differently. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rwxr-xr-xbin/gen-eclass-html.sh4
-rw-r--r--devbook.xsl4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh
index 74e25dc..d3e8480 100755
--- a/bin/gen-eclass-html.sh
+++ b/bin/gen-eclass-html.sh
@@ -30,11 +30,11 @@ IFS='' read -r -d '' HEADER << 'EOF'
<li><a href="https://bugs.gentoo.org/" title="Report issues and find common issues"><span class="fa fa-bug fa-fw"></span> Bugs</a></li>
<li><a href="https://forums.gentoo.org/" title="Discuss with the community"><span class="fa fa-comments-o fa-fw"></span> Forums</a></li>
<li><a href="https://packages.gentoo.org/" title="Find software for your Gentoo"><span class="fa fa-hdd-o fa-fw"></span> Packages</a></li>
-<li class="divider">
+<li class="divider"></li>
<li><a href="https://planet.gentoo.org/" title="Find out what's going on in the developer community"><span class="fa fa-rss fa-fw"></span> Planet</a></li>
<li><a href="https://archives.gentoo.org/" title="Read up on past discussions"><span class="fa fa-archive fa-fw"></span> Archives</a></li>
<li><a href="https://sources.gentoo.org/" title="Browse our source code"><span class="fa fa-code fa-fw"></span> Sources</a></li>
-<li class="divider">
+<li class="divider"></li>
<li><a href="https://infra-status.gentoo.org/" title="Get updates on the services provided by Gentoo"><span class="fa fa-server fa-fw"></span> Infra Status</a></li>
</ul>
</div>
diff --git a/devbook.xsl b/devbook.xsl
index e06d6e0..9289eab 100644
--- a/devbook.xsl
+++ b/devbook.xsl
@@ -518,11 +518,11 @@
<li><a href="https://bugs.gentoo.org/" title="Report issues and find common issues"><span class="fa fa-bug fa-fw"></span> Bugs</a></li>
<li><a href="https://forums.gentoo.org/" title="Discuss with the community"><span class="fa fa-comments-o fa-fw"></span> Forums</a></li>
<li><a href="https://packages.gentoo.org/" title="Find software for your Gentoo"><span class="fa fa-hdd-o fa-fw"></span> Packages</a></li>
- <li class="divider"></li>
+ <li class="divider"><xsl:comment/></li>
<li><a href="https://planet.gentoo.org/" title="Find out what's going on in the developer community"><span class="fa fa-rss fa-fw"></span> Planet</a></li>
<li><a href="https://archives.gentoo.org/" title="Read up on past discussions"><span class="fa fa-archive fa-fw"></span> Archives</a></li>
<li><a href="https://sources.gentoo.org/" title="Browse our source code"><span class="fa fa-code fa-fw"></span> Sources</a></li>
- <li class="divider"></li>
+ <li class="divider"><xsl:comment/></li>
<li><a href="https://infra-status.gentoo.org/" title="Get updates on the services provided by Gentoo"><span class="fa fa-server fa-fw"></span> Infra Status</a></li>
</ul>
</div>