site: fix TOC in contributing, manuals
[ci skip]
This commit is contained in:
		
							parent
							
								
									f3e1505b43
								
							
						
					
					
						commit
						2530d9b853
					
				| @ -1,5 +1,5 @@ | |||||||
| <!-- consolidating dev docs from wiki, https://github.com/simonmichael/hledger/issues/920 WIP --> | <!-- consolidating dev docs from wiki, https://github.com/simonmichael/hledger/issues/920 WIP --> | ||||||
| $toc$ | $TOC$ | ||||||
| 
 | 
 | ||||||
| <style> | <style> | ||||||
| /* table styles */ | /* table styles */ | ||||||
|  | |||||||
| @ -30,7 +30,7 @@ This doc is for version **_version_** (dev). | |||||||
| m4_dnl | m4_dnl | ||||||
| m4_dnl Insert a table of contents marker, which doc build scripts will populate. | m4_dnl Insert a table of contents marker, which doc build scripts will populate. | ||||||
| m4_define({{_toc_}},{{ | m4_define({{_toc_}},{{ | ||||||
| \$toc\$ | \$TOC\$ | ||||||
| }})m4_dnl | }})m4_dnl | ||||||
| m4_dnl | m4_dnl | ||||||
| m4_dnl Helpers for generating table markup. | m4_dnl Helpers for generating table markup. | ||||||
|  | |||||||
| @ -10,7 +10,7 @@ $include-before$ | |||||||
| $endfor$ | $endfor$ | ||||||
| --> | --> | ||||||
| 
 | 
 | ||||||
| <!-- $toc$ --> | <!-- $TOC$ --> | ||||||
| 
 | 
 | ||||||
| $body$ | $body$ | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| function Para(p) | function Para(p) | ||||||
|     if not  p.content[1]                  then return p end |     if not  p.content[1]                  then return p end | ||||||
|     if not (p.content[1].t    == "Str")   then return p end |     if not (p.content[1].t    == "Str")   then return p end | ||||||
|     if not (p.content[1].text == "$toc$") then return p end |     if not (p.content[1].text == "$TOC$") then return p end | ||||||
|     return pandoc.Null() |     return pandoc.Null() | ||||||
| end | end | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user