Permalink
Browse files

doc: update for mkdocs 0.7.13

  • Loading branch information...
mringwal committed Apr 29, 2018
1 parent 4fcabf1 commit bc51ebdd60fdc9313067ed9b35bd9d188399b78d
Showing with 21 additions and 19 deletions.
  1. +3 −2 doc/manual/markdown2mkdocs.py
  2. +2 −2 doc/manual/markdown2tex.py
  3. +16 −15 doc/manual/mkdocs.yml
@@ -76,8 +76,9 @@ def main(argv):
with open(yml_file, 'r') as yin:
doc = yaml.load(yin)
for page in doc["pages"]:
source_file = md_template +"/"+ page[0]
dest_file = md_final +"/"+ page[0]
mk_file = page.values()[0]
source_file = md_template +"/"+ mk_file
dest_file = md_final +"/"+ mk_file
print("Processing %s -> %s" % (source_file, dest_file))
with open(dest_file, 'w') as mdout:
with open(source_file, 'r') as mdin:
@@ -62,8 +62,8 @@ def main(argv):
with open(yml_file, 'r') as yin:
doc = yaml.load(yin)
for page in doc["pages"]:
md_file = page[0]
title = page[1]
title = page.keys()[0]
md_file = page.values()[0]
with open(docs_folder +"/"+ md_file, 'r') as mdin:
aout.write("\n\n#"+ title +"\n\n")
for line in mdin:
View
@@ -1,20 +1,21 @@
site_name: BTstack Manual v1.0
site_dir: btstack
docs_dir: docs_final
extra_css: ['btstack.css']
pages:
- [index.md, Welcome]
- [quick_start.md, Quick Start]
- [architecture.md, BTstack Architecture]
- [how_to.md, How to configure BTstack]
- [protocols.md, Protocols]
- [profiles.md, Profiles]
- [gatt_services.md, Implemented GATT Services]
- [examples/examples.md, Embedded Examples]
- [chipsets.md, Chipsets]
- [porting.md, Porting to Other Platforms]
- [ports/existing_ports.md, Existing Ports]
- [integration.md, Integrating with Existing Systems]
- [appendix/apis.md, APIs]
- [appendix/events_errors.md, Events and Errors]
- [appendix/migration.md, Migration to v1.0]
- 'Welcome': index.md
- 'Quick Start': quick_start.md
- 'BTstack Architecture': architecture.md
- 'How to configure Btstack': how_to.md
- 'Protocols': protocols.md
- 'Profiles': profiles.md
- 'Implemented GATT Services': gatt_services.md
- 'Embedded Examples': examples/examples.md
- 'Chipsets': chipsets.md
- 'Porting to Other Platforms': porting.md
- 'Existing Ports': ports/existing_ports.md
- 'Integrating with Existing Systems': integration.md
- 'APIs': appendix/apis.md
- 'Eventts and Errors': appendix/events_errors.md
- 'Migration to v1.0': appendix/migration.md
theme: readthedocs

0 comments on commit bc51ebd

Please sign in to comment.