diff options
| author | John Finlay <finlay@src.gnome.org> | 2006-07-19 09:49:56 +0000 |
|---|---|---|
| committer | John Finlay <finlay@src.gnome.org> | 2006-07-19 09:49:56 +0000 |
| commit | 8976c90f8565b70b6f6ecfebdf3f04e7e812e698 (patch) | |
| tree | ce1727a0536a45fd50f514c117eceee92838e4ff /docs/xsl/html.xsl | |
| parent | c5a6e6aa7f3a398aeb70b1be354c957b45f870b4 (diff) | |
| download | pygobject-8976c90f8565b70b6f6ecfebdf3f04e7e812e698.tar.gz pygobject-8976c90f8565b70b6f6ecfebdf3f04e7e812e698.tar.xz pygobject-8976c90f8565b70b6f6ecfebdf3f04e7e812e698.zip | |
Output xref links for unknown links.
* docs/xsl/html.xsl: Output xref links for unknown links.
* docs/xsl/ref-html-style.xsl: Include refsect1 and refsect2 in
indexed items but only ig they have ids.
* configure.ac (AC_CONFIG_FILES) : Add docs/reference/version.xml
* docs/reference/pygobject-ref.xml: Add pygobject-introduction.xml
and version and builddate entities. Remove commented out items.
* docs/Makefile.am: Add reference/pygobject-introduction.xml and
reference/version.xml.in
Diffstat (limited to 'docs/xsl/html.xsl')
| -rw-r--r-- | docs/xsl/html.xsl | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/xsl/html.xsl b/docs/xsl/html.xsl index 350f183..3bb5638 100644 --- a/docs/xsl/html.xsl +++ b/docs/xsl/html.xsl @@ -1,4 +1,4 @@ -<?xml version='1.0'?> <!--*- mode: xml -*--> +<?xml version='1.0'?> <!DOCTYPE xsl:stylesheet [ <!ENTITY RE " "> <!ENTITY nbsp " "> @@ -262,6 +262,22 @@ <xsl:apply-templates select="."/> </xsl:template> + <!-- ========================================================= --> + <!-- template to output gtkdoclink elements for the unknown targets --> + + <xsl:template match="link"> + <xsl:choose> + <xsl:when test="id(@linkend)"> + <xsl:apply-imports/> + </xsl:when> + <xsl:otherwise> + <PYGTKDOCLINK HREF="{@linkend}"> + <xsl:apply-templates/> + </PYGTKDOCLINK> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + <xsl:template match="parameter" mode="python"> <span class="{name(.)}"> <xsl:choose> |
