Merge pull request #1 from trentm/master
nicer 'spartan'-based restdown docs
This commit is contained in:
commit
3e423e5b1e
4
Makefile
4
Makefile
|
@ -16,7 +16,8 @@ HAVE_GJSLINT := $(shell which gjslint >/dev/null && echo yes || echo no)
|
||||||
NPM := npm_config_tar=$(TAR) npm
|
NPM := npm_config_tar=$(TAR) npm
|
||||||
|
|
||||||
RESTDOWN = ./node_modules/.restdown/bin/restdown
|
RESTDOWN = ./node_modules/.restdown/bin/restdown
|
||||||
RESTDOWN_VERSION=1.2.11
|
#RESTDOWN = restdown
|
||||||
|
RESTDOWN_VERSION=1.2.13
|
||||||
DOCPKGDIR = ./docs/pkg
|
DOCPKGDIR = ./docs/pkg
|
||||||
|
|
||||||
.PHONY: dep lint test doc clean all
|
.PHONY: dep lint test doc clean all
|
||||||
|
@ -54,7 +55,6 @@ doc: dep
|
||||||
${RESTDOWN} -m ${DOCPKGDIR} -D mediaroot=media ./docs/guide.md
|
${RESTDOWN} -m ${DOCPKGDIR} -D mediaroot=media ./docs/guide.md
|
||||||
rm docs/*.json
|
rm docs/*.json
|
||||||
mv docs/*.html ${DOCPKGDIR}
|
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 *)
|
(cd ${DOCPKGDIR} && $(TAR) -czf ${SRC}/${NAME}-docs-`git log -1 --pretty='format:%h'`.tar.gz *)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
---
|
---
|
||||||
title: ldapjs
|
title: ldapjs
|
||||||
mediaroot: /docs/public/media
|
brand: spartan
|
||||||
markdown2extras: wiki-tables
|
markdown2extras: wiki-tables
|
||||||
|
logo-color: green
|
||||||
|
logo-font-family: google:Aldrich, Verdana, sans-serif
|
||||||
|
header-font-family: google:Aldrich, Verdana, sans-serif
|
||||||
---
|
---
|
||||||
|
|
||||||
# This guide
|
# This guide
|
||||||
|
|
Loading…
Reference in New Issue