From 46450d541f39450fbca2bfef9f9a071b97497b6d Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 7 Oct 2015 18:15:17 +0200 Subject: [PATCH 1/1] generate readme pages through a plugin --- _config.yml | 12 +++++++++-- _includes/menu-level.html | 2 +- _plugins/menu.rb | 5 +++-- _plugins/readmes.rb | 35 ++++++++++++++++++++++++++++++++ build.sh | 42 --------------------------------------- 5 files changed, 49 insertions(+), 47 deletions(-) create mode 100644 _plugins/readmes.rb delete mode 100755 build.sh diff --git a/_config.yml b/_config.yml index 83ead92..9ec865f 100644 --- a/_config.yml +++ b/_config.yml @@ -5,11 +5,19 @@ blog: title: "Ralf's Ramblings" description: "Ralf rambling on things" +readmes: + src_base: "/home/r/src" + out_base: "projects" + projects: + - name: "lilass" + - name: "dyn-nsupdate" + - name: "schsh" + defaults: - scope: - path: "" # all files in the project + path: "" # all files in the project values: - layout: "default" + layout: "default" # Build settings markdown: kramdown diff --git a/_includes/menu-level.html b/_includes/menu-level.html index 5f5ac46..df0c6ea 100644 --- a/_includes/menu-level.html +++ b/_includes/menu-level.html @@ -1,5 +1,5 @@