From 2a01df8dfb9ded546c8c8b9efa5da3e55d5fee04 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Thu, 18 Aug 2011 21:50:12 -0700 Subject: [PATCH] nicer 'spartan'-based restdown docs --- Makefile | 4 ++-- docs/guide.md | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 72ff041..de0d3f3 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,8 @@ HAVE_GJSLINT := $(shell which gjslint >/dev/null && echo yes || echo no) NPM := npm_config_tar=$(TAR) npm RESTDOWN = ./node_modules/.restdown/bin/restdown -RESTDOWN_VERSION=1.2.11 +#RESTDOWN = restdown +RESTDOWN_VERSION=1.2.13 DOCPKGDIR = ./docs/pkg .PHONY: dep lint test doc clean all @@ -54,7 +55,6 @@ doc: dep ${RESTDOWN} -m ${DOCPKGDIR} -D mediaroot=media ./docs/guide.md rm docs/*.json mv docs/*.html ${DOCPKGDIR} - sed -i '' -e 's|docs/public/media|media|g' ${DOCPKGDIR}/*.html (cd ${DOCPKGDIR} && $(TAR) -czf ${SRC}/${NAME}-docs-`git log -1 --pretty='format:%h'`.tar.gz *) diff --git a/docs/guide.md b/docs/guide.md index 00b88cd..9427b11 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -1,7 +1,10 @@ --- title: ldapjs -mediaroot: /docs/public/media +brand: spartan markdown2extras: wiki-tables +logo-color: green +logo-font-family: google:Aldrich, Verdana, sans-serif +header-font-family: google:Aldrich, Verdana, sans-serif --- # This guide