Add generated documentations (for use with GitHub pages).

This commit is contained in:
2022-09-03 21:01:24 -05:00
parent a3dbb0bbbc
commit 7d45346bb6
15 changed files with 5909 additions and 23 deletions

View File

@ -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