mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-23 19:20:51 +00:00
doc: fix pdf build
This commit is contained in:
parent
3b261e460e
commit
0db2ac53f3
@ -1,3 +1,4 @@
|
||||
\UseRawInputEncoding
|
||||
\documentclass[a4paper,titlepage,oneside,12pt]{amsart} %amsart
|
||||
\usepackage{graphicx}
|
||||
\usepackage[colorlinks=true]{hyperref}
|
||||
|
@ -1,4 +1,4 @@
|
||||
#
|
||||
#
|
||||
|
||||
## General Tools
|
||||
|
||||
|
@ -65,8 +65,11 @@ def main(argv):
|
||||
title = list(page.keys())[0]
|
||||
md_file = list(page.values())[0]
|
||||
with open(docs_folder +"/"+ md_file, 'r') as mdin:
|
||||
aout.write("\n\n#"+ title +"\n\n")
|
||||
|
||||
for line in mdin:
|
||||
if line == "#\n":
|
||||
aout.write("\n\n#"+ title +"\n\n")
|
||||
continue
|
||||
# remove path from section reference
|
||||
# e.g. [the SPP Counter example](examples/generated/#sec:sppcounterExample)
|
||||
# replace with [the SPP Counter example](#sec:sppcounterExample)
|
||||
|
Loading…
x
Reference in New Issue
Block a user