Skip to content

Commit

Permalink
Merge pull request #35 from ndw/master
Browse files Browse the repository at this point in the history
Make index.html do the right thing
  • Loading branch information
ndw authored Apr 24, 2017
2 parents 2dca9c4 + cc7b334 commit ce31893
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion en/defguide5/src/book5.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<book xmlns='http://docbook.org/ns/docbook'
xmlns:xi='http://www.w3.org/2001/XInclude'
xml:id="docbook">
<?dbhtml filename="docbook.html" navigation="false"?>
<?dbhtml filename="index.html" navigation="false"?>
<xi:include href="../build/bookinfo.xml"/>

<xi:include href="ch00-online.xml"/>
Expand Down
3 changes: 3 additions & 0 deletions en/stylesheets/refentry.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
<xsl:processing-instruction name="dbhtml">
<xsl:text>filename="</xsl:text>
<xsl:choose>
<xsl:when test="$pattern = 'db.index'">
<xsl:value-of select="'index-db'"/>
</xsl:when>
<xsl:when test="starts-with($pattern, 'db.')">
<xsl:value-of select="substring-after($pattern, 'db.')"/>
</xsl:when>
Expand Down

0 comments on commit ce31893

Please sign in to comment.