-
Notifications
You must be signed in to change notification settings - Fork 386
Migrating LoopBack Docs to Markdown for use with Jekyll
Rand McKinney edited this page Aug 5, 2016
·
16 revisions
To create an open-source site similar to Express docs:
- Export content of APIC space to HTML. (This space now contains the source documentation for LoopBack, which is duplicated in pages with the same title in the LB space.)
- Convert/strip HTML to markdown using script.
- Get image content from Confluence.
Every markdown file must start with some Jekyll front-matter that looks like this:
---
title: LoopBack core concepts
layout: stub
keywords: LoopBack
tags: [getting_started]
sidebar: lb2_sidebar
permalink: /doc/lb2/LoopBack-core-concepts.html
summary:
---
NOTE: The three dashes are required.
I'm assuming we can convert the HTML to markdown without too much trouble, but I'm keeping this here for reference in case we need it.
In case it's easier to export to Word and then convert the Word files to markdown. See How can doc/docx files be converted to markdown or structured text?.
Other references:
- https://domchristie.github.io/to-markdown/ Online HTML to MD converter.
- http://pandoc.org/
References: