mirror of
https://github.com/janet-lang/janet
synced 2025-01-12 16:40:27 +00:00
Move gendoc.janet script.
This commit is contained in:
parent
a7933f5f08
commit
017ee2b0d1
4
Makefile
4
Makefile
@ -166,8 +166,8 @@ build/janet-%.tar.gz: $(JANET_TARGET) src/include/janet/janet.h \
|
|||||||
|
|
||||||
docs: build/doc.html
|
docs: build/doc.html
|
||||||
|
|
||||||
build/doc.html: $(JANET_TARGET) doc/gendoc.janet
|
build/doc.html: $(JANET_TARGET) tools/gendoc.janet
|
||||||
$(JANET_TARGET) doc/gendoc.janet > build/doc.html
|
$(JANET_TARGET) tools/gendoc.janet > build/doc.html
|
||||||
|
|
||||||
#################
|
#################
|
||||||
##### Other #####
|
##### Other #####
|
||||||
|
@ -93,7 +93,7 @@ exit /b 0
|
|||||||
@rem Build a dist directory
|
@rem Build a dist directory
|
||||||
:DIST
|
:DIST
|
||||||
mkdir 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 janet.exe dist\janet.exe
|
||||||
copy LICENSE dist\LICENSE
|
copy LICENSE dist\LICENSE
|
||||||
copy README.md dist\README.md
|
copy README.md dist\README.md
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# Generate documentation
|
# Generate documentation
|
||||||
|
|
||||||
|
# TODO - make tool reusable
|
||||||
|
|
||||||
(def- prelude
|
(def- prelude
|
||||||
```
|
```
|
||||||
<!doctype html>
|
<!doctype html>
|
Loading…
Reference in New Issue
Block a user