dylanowen / mdbook-graphviz

Mozilla Public License 2.0
44 stars 9 forks source link

Subchapters are not processed #56

Closed igordejanovic closed 1 year ago

igordejanovic commented 1 year ago

My SUMMARY.md has nested chapters:

# Summary

- [Introduction](introduction.md)
- [Tutorials]()
  - [Calculator](./tutorials/calculator.md)

calculator.md is not processed. I think the issue is on this line where chapter sub_items are not processed.

Could be related to #52

igordejanovic commented 1 year ago

I figured out that the problem is the check on the line above which doesn't process the chapter if there is no file defined (Tutorials in my case is just a grouping chapter without content).

The workaround is simple to define a dummy file for the parent. Not sure if this is something that shouldn't be done with mdBook summary but other renderers are working fine.

igordejanovic commented 1 year ago

Ah, just now saw that this is already reported in #43. Sorry for the noise.