create links from element back to plugin; add class

Original commit message from CVS:
create links from element back to plugin; add class
parent 28e77847
......@@ -111,6 +111,10 @@ INSPECT_ENVIRONMENT=\
inspect:
mkdir inspect
inspect-update:
rm inspect-build.stamp
make inspect-build.stamp
# FIXME: inspect.timestamp should be written to by gst-xmlinspect.py
# IFF the output changed; see gtkdoc-mktmpl
inspect-build.stamp: inspect
......@@ -128,7 +132,7 @@ inspect.stamp: inspect-build.stamp
### FIXME: make this error out again when docs are fixed for 0.9
# first convert inspect/*.xml to xml
sgml-build.stamp: tmpl.stamp inspect.stamp $(CFILE_GLOB)
sgml-build.stamp: tmpl.stamp inspect.stamp $(CFILE_GLOB) $(top_srcdir)/common/plugins.xsl
@echo '*** Building XML ***'
@-mkdir -p xml
@for a in inspect/*.xml; do \
......@@ -151,7 +155,7 @@ sgml.stamp: sgml-build.stamp
#### html ####
html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(top_srcdir)/common/plugins.xsl
@echo '*** Building HTML ***'
if test -d html; then rm -rf html; fi
mkdir html
......
......@@ -25,12 +25,33 @@
<!-- here we write an element-(name)-details.xml file for the element -->
<exsl:document href="{concat ('xml/element-', $name, '-details.xml')}" method="xml" indent="yes">
<xsl:element name="variablelist">
<!-- plugin name and link -->
<xsl:element name="varlistentry">
<xsl:element name="term">plugin</xsl:element>
<xsl:element name="listitem">
<xsl:element name="simpara">
<xsl:element name="link">
<xsl:attribute name="linkend">plugin-<xsl:value-of select="../../name"/></xsl:attribute>
<xsl:value-of select="../../name" />
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:element>
<xsl:element name="varlistentry">
<xsl:element name="term">author</xsl:element>
<xsl:element name="listitem">
<xsl:element name="simpara"><xsl:value-of select="author" /></xsl:element>
</xsl:element>
</xsl:element>
<xsl:element name="varlistentry">
<xsl:element name="term">class</xsl:element>
<xsl:element name="listitem">
<xsl:element name="simpara"><xsl:value-of select="class" /></xsl:element>
</xsl:element>
</xsl:element>
</xsl:element>
</exsl:document>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment