Skip to content
Myr

Added `make docs`

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 874975d · Browse files · 2 files+25 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+25 added−1 removed

  • other:+25 added−1 removed

2 files+25 added−1 removed

added:docs/index.md
modified:Makefile+25 added-1 removed
12DOCS = docs/index.md3MANPAGES =$(DOCS:.md=.1)4HTMLDOCS =$(DOCS:.md=.html)56test:7 @CONNECT_ENV=test ./support/expresso/bin/expresso -I lib test/*.test.js85.PHONY: test9docs: docs/api.html $(MANPAGES) $(HTMLDOCS)1011docs/api.html:12 dox --title Express \13 --desc "High performance web framework for [node](http://nodejs.org)." \14 $(shell find lib/express/* -type f) > $@1516%.1: %.md17 @echo "... $< -> $@"18 @ronn -r --pipe $< > $@ &1920%.html: %.md21 @echo "... $< -> $@"22 @ronn -5 --pipe --fragment $< \23 | sed 's/NAME/Express.g' \24 > $@ &2526docclean:27 rm -f docs/*.{1,html}2829.PHONY: test docs docclean