VirtualBox

Ignore:
Timestamp:
Apr 21, 2023 9:59:02 PM (20 months ago)
Author:
vboxsync
Message:

manual,VBoxManage,isomaker/viso: Require all refsect1 and refsect2 elements to have @id attributes in manpages (refentry) to make these predictable and the split up topic files easier to handle for the docs team. Also requires these @id values to start with the refentry @id + '-'. Corrected a few bogus ones. Because 'controlvm' has too many sub-commands, HELP_SCOPE_ IDs will not be generated for 'See Also' and 'Examples' sections. bugref:10302

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/docbook-refentry-to-H-help.xsl

    r98103 r99513  
    9999        <xsl:for-each select=".//refsect1[@id] | .//refsect2[@id]">
    100100          <xsl:variable name="sThisId" select="@id"/>
    101           <xsl:if test="not($RefEntry[@id = $sThisId]) and not($RefEntry/refsynopsisdiv/cmdsynopsis[@id = concat('synopsis-', $sThisId)])">
     101          <xsl:if test="    not($RefEntry[@id = $sThisId])
     102                        and not($RefEntry/refsynopsisdiv/cmdsynopsis[@id = concat('synopsis-', $sThisId)])
     103                        and not(contains($sThisId, '-see-also'))
     104                        and not(contains($sThisId, '-examples')) "> <!-- controlvm is too big, so skip these two -->
    102105            <xsl:variable name="sSubNm">
    103106              <xsl:text>HELP_SCOPE_</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette