typegen: add module tag to modules
This commit is contained in:
		
							parent
							
								
									2ad0f62947
								
							
						
					
					
						commit
						fb88536039
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,12 @@
 | 
			
		|||
{{- $modulename := .Get "module" -}}
 | 
			
		||||
{{- $module := index .Site.Data.modules $modulename -}}
 | 
			
		||||
 | 
			
		||||
<h1>{{ $modulename }}<span class="qmlprops typegray" style="font-weight: normal">[module]</span></h1>
 | 
			
		||||
 | 
			
		||||
{{- $module.index.description | $.Page.RenderString (dict "display" "block") -}}
 | 
			
		||||
 | 
			
		||||
<h3>Types</h3>
 | 
			
		||||
 | 
			
		||||
<table>
 | 
			
		||||
	{{- range $name, $type := $module -}}
 | 
			
		||||
		{{- if ne $name "index" -}}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue