Programmatically reuse Jekyll Pages for parent application


We are using Jekyll to build documentation for our application. We do so by having a docs folder, similarly like jekyll does itself. However, inside our application, it would be awesome, if we could reuse some of the content we write and expose it in (instead of “solely” publishing a static site).

Can anyone give me any pointers as to how I could accomplish such feat? I assume I should somehow be able to hook into existing code that

  1. lists all pages per the configuration
  2. converts a specific page into HTML

Thanks for your help!


You can create an API endpoint so that your Jekyll content is available for other apps.

Here are some examples to get you started: