Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #69 from docascode/yitian/wrap-toc-with-project-name
Browse files Browse the repository at this point in the history
Yitian/wrap toc with project name
  • Loading branch information
killa1218 committed Jul 2, 2018
2 parents ca8ccad + 935a47c commit 62476cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docfx_yaml/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,11 @@ def convert_module_to_package_if_needed(obj):
with open(toc_file, 'w') as writable:
writable.write(
dump(
toc_yaml,
[{
'uid': app.config.project,
'name': app.config.project,
'items': toc_yaml
}],
default_flow_style=False,
)
)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name='sphinx-docfx-yaml',
version='1.2.33',
version='1.2.34',
author='Eric Holscher',
author_email='eric@ericholscher.com',
url='https://github.com/ericholscher/sphinx-docfx-yaml',
Expand Down

0 comments on commit 62476cb

Please sign in to comment.