Compare commits
	
		
			3 Commits
		
	
	
		
			init_templ
			...
			leftbound-
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 4f46e6b742 | |||
| 48ec7ae8cb | |||
| ff8a96ad1a | 
@ -1,3 +1,3 @@
 | 
				
			|||||||
# docs-templates
 | 
					# Helpcenter PDF Templates
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This repo hosts templates for helpcenter pdf creation
 | 
					This repo hosts templates for helpcenter PDF creation.
 | 
				
			||||||
@ -40,7 +40,7 @@
 | 
				
			|||||||
<% set total_width = table.colwidths|sum %>
 | 
					<% set total_width = table.colwidths|sum %>
 | 
				
			||||||
<% set colspec_parts = [] %>
 | 
					<% set colspec_parts = [] %>
 | 
				
			||||||
<% for width in table.colwidths %>
 | 
					<% for width in table.colwidths %>
 | 
				
			||||||
  <% set part = 'p{{{:.4f}\\textwidth}}'.format((width * 0.92) / total_width) %>
 | 
					  <% set part = '>{{\\raggedright\\arraybackslash}}p{{{:.4f}\\textwidth}}'.format((width * 0.92) / total_width) %>
 | 
				
			||||||
  <% set colspec_parts = colspec_parts.append(part) %>
 | 
					  <% set colspec_parts = colspec_parts.append(part) %>
 | 
				
			||||||
<% endfor  %>
 | 
					<% endfor  %>
 | 
				
			||||||
<% set colspec_string = ''.join(colspec_parts) %>
 | 
					<% set colspec_string = ''.join(colspec_parts) %>
 | 
				
			||||||
 | 
				
			|||||||
@ -40,7 +40,7 @@
 | 
				
			|||||||
<% set total_width = table.colwidths|sum %>
 | 
					<% set total_width = table.colwidths|sum %>
 | 
				
			||||||
<% set colspec_parts = [] %>
 | 
					<% set colspec_parts = [] %>
 | 
				
			||||||
<% for width in table.colwidths %>
 | 
					<% for width in table.colwidths %>
 | 
				
			||||||
  <% set part = 'p{{{:.4f}\\textwidth}}'.format((width * 0.92) / total_width) %>
 | 
					  <% set part = '>{{\\raggedright\\arraybackslash}}p{{{:.4f}\\textwidth}}'.format((width * 0.92) / total_width) %>
 | 
				
			||||||
  <% set colspec_parts = colspec_parts.append(part) %>
 | 
					  <% set colspec_parts = colspec_parts.append(part) %>
 | 
				
			||||||
<% endfor  %>
 | 
					<% endfor  %>
 | 
				
			||||||
<% set colspec_string = ''.join(colspec_parts) %>
 | 
					<% set colspec_string = ''.join(colspec_parts) %>
 | 
				
			||||||
 | 
				
			|||||||
@ -40,7 +40,7 @@
 | 
				
			|||||||
<% set total_width = table.colwidths|sum %>
 | 
					<% set total_width = table.colwidths|sum %>
 | 
				
			||||||
<% set colspec_parts = [] %>
 | 
					<% set colspec_parts = [] %>
 | 
				
			||||||
<% for width in table.colwidths %>
 | 
					<% for width in table.colwidths %>
 | 
				
			||||||
  <% set part = 'p{{{:.4f}\\textwidth}}'.format((width * 0.92) / total_width) %>
 | 
					  <% set part = '>{{\\raggedright\\arraybackslash}}p{{{:.4f}\\textwidth}}'.format((width * 0.92) / total_width) %>
 | 
				
			||||||
  <% set colspec_parts = colspec_parts.append(part) %>
 | 
					  <% set colspec_parts = colspec_parts.append(part) %>
 | 
				
			||||||
<% endfor  %>
 | 
					<% endfor  %>
 | 
				
			||||||
<% set colspec_string = ''.join(colspec_parts) %>
 | 
					<% set colspec_string = ''.join(colspec_parts) %>
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user