Add generated documentations (for use with GitHub pages).

This commit is contained in:
jdb committed 2022-09-03 21:32:22 -05:00
1 parent a3dbb0bbbc
commit 7d45346bb6
15 files changed
+5909 -23

No files matched your search

+7 -4
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