-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
migrate coqdoc to gh-pages branch
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
Makefile.coq | ||
Makefile.coq.conf | ||
_build | ||
docs | ||
*~ | ||
*.d | ||
*.aux | ||
*.glob | ||
*.vo | ||
*.vos | ||
*.vok | ||
result |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
GLOBFILES = $(VFILES:.v=.glob) | ||
CSSFILES = resources/coqdoc.css resources/coqdocjs.css | ||
JSFILES = resources/config.js resources/coqdocjs.js | ||
HTMLFILES = resources/header.html resources/footer.html resources/index.html | ||
HTMLFILES = resources/header.html resources/footer.html | ||
COQDOCDIR = docs/coqdoc | ||
|
||
COQDOCHTMLFLAGS = --toc --toc-depth 2 --index indexpage --html \ | ||
--interpolate --no-lib-name --parse-comments \ | ||
--with-header resources/header.html --with-footer resources/footer.html | ||
|
||
coqdoc: $(GLOBFILES) $(VFILES) $(CSSFILES) $(JSFILES) $(HTMLFILES) | ||
$(SHOW)'COQDOC -d $(COQDOCDIR)' | ||
$(HIDE)mkdir -p $(COQDOCDIR) | ||
$(HIDE)$(COQDOC) $(COQDOCHTMLFLAGS) $(COQDOCLIBS) -d $(COQDOCDIR) $(VFILES) | ||
$(SHOW)'COPY resources' | ||
$(HIDE)cp $(CSSFILES) $(JSFILES) $(COQDOCDIR) | ||
.PHONY: coqdoc | ||
|
||
resources/index.html: resources/index.md | ||
pandoc -s -o $@ $< | ||
|
||
docs: $(GLOBFILES) $(VFILES) $(CSSFILES) $(JSFILES) $(HTMLFILES) | ||
$(SHOW)'COQDOC -d docs' | ||
$(HIDE)mkdir -p docs | ||
$(HIDE)$(COQDOC) $(COQDOCHTMLFLAGS) $(COQDOCLIBS) -d docs $(VFILES) | ||
$(SHOW)'COPY resources' | ||
$(HIDE)cp $(CSSFILES) $(JSFILES) resources/index.html docs | ||
.PHONY: docs |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.