commerce-docs / zendesk-to-jekyll

Convert JSON file returned by ZenDesk API to Jekyll format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This simple Ruby script converts a JSON response returned by Magento Help Center ZenDesk API to Jekyll format using kramdown library.

You'll need the kramdown gem to use this:

gem install kramdown

Now, if you want to generate Jekyll topics from a JSON file how-to.json that contains ZenDesk API response with several topics, try this:

ruby zendesk_jekyllizer.rb how-to.json

Find the converted content in the output directory.

config.yml configures directories for output.

About

Convert JSON file returned by ZenDesk API to Jekyll format


Languages

Language:Ruby 100.0%