Ein Roboter mit bürstenlosem Antrieb, differenzial und NRF24L01 Funk. Großflächig gebaut um ein großes Solarpanel aufzunehmen. https://gitlab.informatik.hs-fulda.de/fdai5253/roboter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
2.0 KiB

  1. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  2. <xsl:output method="text" standalone="yes" />
  3. <xsl:template match="/">
  4. <xsl:apply-templates select="//sectiondef[@kind='public-func']/memberdef[@kind='function']" />
  5. </xsl:template>
  6. <xsl:template match="memberdef">
  7. <!-- xsl:text>&#xA;=== </xsl:text><xsl:value-of select="definition"/> <xsl:value-of select="argsstring"/><xsl:text> ===&#xA;</xsl:text -->
  8. <xsl:text>&#xA;=== </xsl:text><xsl:value-of select="name"/><xsl:text> ===&#xA;&#xA;</xsl:text>
  9. <xsl:apply-templates select="briefdescription"/>
  10. <xsl:if test="count(detaileddescription/para[not(./*)]) &lt; 1"><xsl:text>&#xA;</xsl:text></xsl:if>
  11. <xsl:apply-templates select="detaileddescription"/>
  12. </xsl:template>
  13. <xsl:template match="briefdescription/para">''<xsl:value-of select="."/>'' </xsl:template>
  14. <xsl:template match="detaileddescription/para/parameterlist">
  15. Parameters:
  16. <xsl:apply-templates select="parameteritem"/>
  17. </xsl:template>
  18. <xsl:template match="parameteritem">* ''<xsl:value-of select="parameternamelist/parametername"/>'': <xsl:value-of select="parameterdescription/para"/><xsl:text>&#xA;</xsl:text>
  19. </xsl:template>
  20. <xsl:template match="detaileddescription/para[not(./*)]">
  21. <xsl:value-of select="."/><xsl:text>&#xA;</xsl:text>
  22. </xsl:template>
  23. <xsl:template match="detaileddescription/para/simplesect[@kind='return']/para">
  24. Returns:
  25. * <xsl:value-of select="."/><xsl:text>&#xA;</xsl:text>
  26. </xsl:template>
  27. <xsl:template match="detaileddescription/para/simplesect[@kind='warning']/para">
  28. Warning: <xsl:value-of select="."/><xsl:text>&#xa;</xsl:text>
  29. </xsl:template>
  30. <xsl:template match="detaileddescription/para/programlisting">
  31. <xsl:text>&#xa;&lt;pre&gt;&#xa;</xsl:text><xsl:apply-templates select="codeline"/><xsl:text>&lt;/pre&gt;&#xa;</xsl:text>
  32. </xsl:template>
  33. <xsl:template match="codeline">
  34. <xsl:value-of select="."/><xsl:text>&#xa;</xsl:text>
  35. </xsl:template>
  36. <xsl:template match="text()"/>
  37. </xsl:stylesheet>