refentry.version.profile.enabled.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <refentry xmlns="http://docbook.org/ns/docbook"
  2. xmlns:xlink="http://www.w3.org/1999/xlink"
  3. xmlns:xi="http://www.w3.org/2001/XInclude"
  4. xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
  5. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  6. version="5.0" xml:id="refentry.version.profile.enabled">
  7. <refmeta>
  8. <refentrytitle>refentry.version.profile.enabled</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>refentry.version.profile.enabled</refname>
  13. <refpurpose>Enable refentry "version" profiling?</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="refentry.version.profile.enabled.frag">
  17. <xsl:param name="refentry.version.profile.enabled">0</xsl:param></src:fragment>
  18. </refsynopsisdiv>
  19. <refsection><info><title>Description</title></info>
  20. <para>If the value of
  21. <parameter>refentry.version.profile.enabled</parameter> is
  22. non-zero, then during <tag>refentry</tag> metadata gathering, the info
  23. profile specified by the customizable
  24. <parameter>refentry.version.profile</parameter> parameter is
  25. used.</para>
  26. <para>If instead the value of
  27. <parameter>refentry.version.profile.enabled</parameter> is zero (the
  28. default), then "hard coded" logic within the DocBook XSL stylesheets
  29. is used for gathering <tag>refentry</tag> "version" data.</para>
  30. <para>If you find that the default <tag>refentry</tag>
  31. metadata-gathering behavior is causing incorrect "version" data to show
  32. up in your output, then consider setting a non-zero value for
  33. <parameter>refentry.version.profile.enabled</parameter> and adjusting
  34. the value of <parameter>refentry.version.profile</parameter> to cause
  35. correct data to be gathered. </para>
  36. <para>Note that the terms "source" and "version" have special
  37. meanings in this context. For details, see the documentation for the
  38. <parameter>refentry.version.profile</parameter> parameter.</para>
  39. </refsection>
  40. </refentry>