Add super hacky rake task to auto-update index and spec files

This commit is contained in:
2017-07-03 21:23:57 +01:00
parent 716eec1a4c
commit 6c978de39e
2 changed files with 100 additions and 0 deletions

View File

@@ -5,9 +5,24 @@ description: >
author: Jim Myhrberg
url: https://commonflow.org
current_version: 1.0.0-draft.10
versions:
- 1.0.0-draft.10
update:
body_tpl: |
---
title: {{title}}
version: {{version}}
---
{{content}}
url_tpl: "https://raw.githubusercontent.com/jimeh/common-flow/{{version}}/{{file}}"
img_tpl: "<img src=\"/spec/{{file}}\" width=\"100%\" />"
output_dir: "spec"
files:
document: common-flow.md
diagram: common-flow.svg
gems:
- jekyll-sitemap
- jekyll-seo-tag