Add display of declaration and definition locations.
svn path=/nixos/trunk/; revision=17254
This commit is contained in:
parent
70a10c1720
commit
cb85c4ed3e
@ -1,4 +1,7 @@
|
|||||||
{ pkgs, options }:
|
{ pkgs, options
|
||||||
|
# revision can have multiple values: local, HEAD or any revision number.
|
||||||
|
, revision ? "HEAD"
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
# To prevent infinite recursion, remove system.path from the
|
# To prevent infinite recursion, remove system.path from the
|
||||||
@ -33,7 +36,7 @@ let
|
|||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
|
|
||||||
ln -s $sources/*.xml .
|
ln -s $sources/*.xml . # */
|
||||||
ln -s ${optionsDocBook} options-db.xml
|
ln -s ${optionsDocBook} options-db.xml
|
||||||
|
|
||||||
dst=$out/share/doc/nixos
|
dst=$out/share/doc/nixos
|
||||||
|
@ -58,6 +58,20 @@
|
|||||||
</literal>
|
</literal>
|
||||||
</para>
|
</para>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="count(attr[@name = 'declarations']/list/*) != 0">
|
||||||
|
<para>
|
||||||
|
<emphasis>Declared by:</emphasis>
|
||||||
|
<xsl:apply-templates select="attr[@name = 'declarations']" />
|
||||||
|
</para>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="count(attr[@name = 'definitions']/list/*) != 0">
|
||||||
|
<para>
|
||||||
|
<emphasis>Defined by:</emphasis>
|
||||||
|
<xsl:apply-templates select="attr[@name = 'definitions']" />
|
||||||
|
</para>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user