Move gendoc.janet script.

This commit is contained in:
Calvin Rose 2018-12-25 17:37:52 -05:00
parent a7933f5f08
commit 017ee2b0d1
3 changed files with 5 additions and 3 deletions

View File

@ -166,8 +166,8 @@ build/janet-%.tar.gz: $(JANET_TARGET) src/include/janet/janet.h \
docs: build/doc.html
build/doc.html: $(JANET_TARGET) doc/gendoc.janet
$(JANET_TARGET) doc/gendoc.janet > build/doc.html
build/doc.html: $(JANET_TARGET) tools/gendoc.janet
$(JANET_TARGET) tools/gendoc.janet > build/doc.html
#################
##### Other #####

View File

@ -93,7 +93,7 @@ exit /b 0
@rem Build a dist directory
:DIST
mkdir dist
janet.exe doc\gendoc.janet > dist\doc.html
janet.exe tools\gendoc.janet > dist\doc.html
copy janet.exe dist\janet.exe
copy LICENSE dist\LICENSE
copy README.md dist\README.md

View File

@ -1,5 +1,7 @@
# Generate documentation
# TODO - make tool reusable
(def- prelude
```
<!doctype html>