Skip to content

Commit

Permalink
doc: update for mkdocs 0.7.13
Browse files Browse the repository at this point in the history
  • Loading branch information
mringwal committed Apr 29, 2018
1 parent e576eb5 commit 63b4e1f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 19 deletions.
5 changes: 3 additions & 2 deletions doc/manual/markdown2mkdocs.py
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions doc/manual/markdown2tex.py
Expand Up @@ -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:
Expand Down
31 changes: 16 additions & 15 deletions doc/manual/mkdocs.yml
@@ -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 63b4e1f

Please sign in to comment.