Add generated documentations (for use with GitHub pages).
This commit is contained in:
11
Makefile
11
Makefile
@ -1,7 +1,10 @@
|
||||
SOURCES=$(shell find src -type f)
|
||||
|
||||
doc: $(shell find src -type f)
|
||||
nim doc --project --index:on --git.url:https://github.com/jdbernard/fiber-orm --outdir:htmdocs src/fiber_orm
|
||||
nim rst2html --outdir:htmdocs README.rst
|
||||
build: $(shell find src -type f)
|
||||
nimble build
|
||||
|
||||
.PHONY: doc
|
||||
docs: $(shell find src -type f)
|
||||
nim doc --project --index:on --git.url:https://github.com/jdbernard/fiber-orm --outdir:docs src/fiber_orm
|
||||
nim rst2html --outdir:docs README.rst
|
||||
cp docs/fiber_orm.html docs/index.html
|
||||
.PHONY: docs
|
||||
|
Reference in New Issue
Block a user