playgroundbooks / playgroundbook

Tool for Swift Playground books
https://ashfurrow.com/blog/swift-playground-books/
MIT License
259 stars 17 forks source link

Make Page manifest customisable through YAML #41

Closed pietbrauer closed 8 years ago

pietbrauer commented 8 years ago

As discussed in #36 I am proposing a new layout for the chapters sections of the YAML:

Before:

chapters:
  - "Chapter 1"
  - "Chapter 2"

After:_

chapters:
  - name: "Chapter 1"
     EdgeToEdgeLiveView: true
  - name: "Chapter 2"
     EdgeToEdgeLiveView: false

A proposed implementation can be viewed in #42

orta commented 8 years ago

Aye, I think we'll end up needing more settings per chapter, imo though they should be lower snake case, so EdgeToEdgeLiveView = edge_to_edge_live_view

pietbrauer commented 8 years ago

@orta makes sense, will update #42

pietbrauer commented 8 years ago

Fixed via #42