chuckhoupt / jekyll-apple-help

Easily create Apple Help-Books for your Mac OS X app using this Jekyll template and build system.
MIT License
188 stars 17 forks source link

Tree of groups #14

Open rpoelstra opened 7 years ago

rpoelstra commented 7 years ago

Hi,

I would like to structure my topics in a few additional levels. I'm new to both Jekyll and Apple Help so I've no clue on where to start. How do I create groups in groups?

Thanks in advance.

Kind regards,

Remco Poelstra

chuckhoupt commented 7 years ago

Hi,

At the moment, only one level of grouping is implemented, but I do agree it would be nice to have more levels. At the time I coded it (Yosemite era), Apple's apps (Safari, Mail, etc) only ever had one level of grouping, so I emulated that and baked it into the code. Here are the areas that would need modifying:

rpoelstra commented 7 years ago

Hi,

I investigated what I needed to change, but mostly due to a lack of understanding of Ruby code, I decided to re-structure my help file so it’s only 1 level deep.

Op 22 mrt. 2017, om 22:19 heeft Chuck Houpt notifications@github.com het volgende geschreven:

Hi,

At the moment, only one level of grouping is implemented, but I do agree it would be nice to have more levels. At the time I coded it (Yosemite era), Apple's apps (Safari, Mail, etc) only ever had one level of grouping, so I emulated that and baked it into the code. Here are the areas that would need modifying:

Adjust nav.js <x-msg://31/chuckhoupt/jekyll-apple-help/blob/master/JekyllHelp/nav.js> (and related CSS) to support multi-level collapse/expand. Adjust help-filter.rb <x-msg://31/chuckhoupt/jekyll-apple-help/blob/master/JekyllHelp/_plugins/help-filters.rb> plugins to create a deeper topic trees. Adjust header.html <x-msg://31/chuckhoupt/jekyll-apple-help/blob/master/JekyllHelp/_includes/header.html> to implement recursive lists. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chuckhoupt/jekyll-apple-help/issues/14#issuecomment-288543215, or mute the thread https://github.com/notifications/unsubscribe-auth/AZXMIgAGsFsmZwoW_jDok9Y5JNl-x0m3ks5roZBzgaJpZM4Mk4b_.

xyzajacf commented 6 years ago

Hi Chuck,

I have come across the same issue. However, I am not able to change the structure. I was thinking that it might be done by standard navigation syntax group: FirstLevelGroup/SecondLevelGroup or group: FirstlevelGroup /group: SecondLevelGroup What do you think? I am not a programmer so any feasible solution would take me probably weeks...

Anyway: Thank you for providing this project so far.