mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-11-04 07:12:33 +01:00 
			
		
		
		
	Update Studio Integration XML transform files to add top-level descriptions for each transform. Update module transform to remove spacing between modules in the generated document and to remove the unused doxygen-entry-point nodes once they have been converted into online and offline documentation nodes.
This commit is contained in:
		
							parent
							
								
									340b2dc0bc
								
							
						
					
					
						commit
						5386a5a7ff
					
				@ -8,6 +8,9 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<!-- Atmel Studio framework Extension XML transform file -->
 | 
					<!-- Atmel Studio framework Extension XML transform file -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!-- Creates an extension.xml document from a given manifest list of XML files,
 | 
				
			||||||
 | 
					     and adds appropriate documentation base URI entries and version
 | 
				
			||||||
 | 
					     information. -->
 | 
				
			||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 | 
					<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 | 
				
			||||||
	<xsl:output method="xml" omit-xml-declaration="yes"/>
 | 
						<xsl:output method="xml" omit-xml-declaration="yes"/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -8,6 +8,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<!-- Atmel Studio framework Module XML transform file -->
 | 
					<!-- Atmel Studio framework Module XML transform file -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!-- Outputs a flat file list of all source files referenced in all modules of
 | 
				
			||||||
 | 
					     the input manifest XML file, so that they can be checked for existence. -->
 | 
				
			||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 | 
					<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 | 
				
			||||||
	<xsl:output method="xml" omit-xml-declaration="yes"/>
 | 
						<xsl:output method="xml" omit-xml-declaration="yes"/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -8,6 +8,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<!-- Atmel Studio framework Module XML transform file -->
 | 
					<!-- Atmel Studio framework Module XML transform file -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!-- Indents a given XML document to match the node hierarchy. -->
 | 
				
			||||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 | 
					<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 | 
				
			||||||
	<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
 | 
						<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -8,6 +8,9 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<!-- Atmel Studio framework Module XML transform file -->
 | 
					<!-- Atmel Studio framework Module XML transform file -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!-- Creates an asf.xml module document from a given manifest list of XML files,
 | 
				
			||||||
 | 
					     and adds appropriate documentation links by cross-referencing the Doxygen
 | 
				
			||||||
 | 
					     tag output file to map Doxygen group names to generated filenames. -->
 | 
				
			||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 | 
					<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 | 
				
			||||||
	<xsl:output method="xml" omit-xml-declaration="yes"/>
 | 
						<xsl:output method="xml" omit-xml-declaration="yes"/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -21,17 +24,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		<asf xmlversion="1.0">
 | 
							<asf xmlversion="1.0">
 | 
				
			||||||
			<xsl:for-each select="xml-source">
 | 
								<xsl:for-each select="xml-source">
 | 
				
			||||||
 | 
					 | 
				
			||||||
				<xsl:text>

</xsl:text>
 | 
					 | 
				
			||||||
				<xsl:comment>Sourced from <xsl:value-of select="@filename"/></xsl:comment>
 | 
									<xsl:comment>Sourced from <xsl:value-of select="@filename"/></xsl:comment>
 | 
				
			||||||
				<xsl:text>
</xsl:text>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
				<xsl:apply-templates select="document(@filename)/lufa/asf/*"/>
 | 
									<xsl:apply-templates select="document(@filename)/lufa/asf/*"/>
 | 
				
			||||||
 | 
					 | 
				
			||||||
				<xsl:if test="position()=last()">
 | 
					 | 
				
			||||||
					<xsl:text>

</xsl:text>
 | 
					 | 
				
			||||||
				</xsl:if>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
			</xsl:for-each>
 | 
								</xsl:for-each>
 | 
				
			||||||
		</asf>
 | 
							</asf>
 | 
				
			||||||
	</xsl:template>
 | 
						</xsl:template>
 | 
				
			||||||
@ -43,11 +37,9 @@
 | 
				
			|||||||
		</xsl:copy>
 | 
							</xsl:copy>
 | 
				
			||||||
	</xsl:template>
 | 
						</xsl:template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	<!-- For Doxygen entry point nodes we need to convert them to add additional
 | 
						<!-- For Doxygen entry point nodes we need to convert them into help link
 | 
				
			||||||
		help link nodes so that they show up as links in Studio correctly -->
 | 
						     nodes instead, so that they show up as links in Studio correctly -->
 | 
				
			||||||
	<xsl:template match="build[@type='doxygen-entry-point']">
 | 
						<xsl:template match="build[@type='doxygen-entry-point']">
 | 
				
			||||||
		<xsl:copy-of select="current()"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		<xsl:call-template name="add_help_nodes">
 | 
							<xsl:call-template name="add_help_nodes">
 | 
				
			||||||
		    <xsl:with-param name="filename" select="document($lufa-doxygen-tagfile)//compound[name=current()/@value]/filename"/>
 | 
							    <xsl:with-param name="filename" select="document($lufa-doxygen-tagfile)//compound[name=current()/@value]/filename"/>
 | 
				
			||||||
		</xsl:call-template>
 | 
							</xsl:call-template>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user