Move the build stuff to its own dir.

Now Joypy/docs/reference/*.md are just the individual function
documents.
This commit is contained in:
Simon Forman
2022-03-23 13:40:20 -07:00
parent a3b3b840e1
commit cdb05c6c68
5 changed files with 0 additions and 0 deletions
@@ -0,0 +1,39 @@
--------------------
Get a list of currently defined functors with:
?- joy(`words`, [], [Words]), maplist(writeln, Words).
FORMAT:
--------------------
## Name
[Basis] Function | Combinator
Summary
Gentzen diagram.
### Definition
if not basis.
### Derivation
if not basis.
### Source
if basis
### Discussion
### Crosslinks
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+7
View File
@@ -0,0 +1,7 @@
# Functor Reference
Version -10.0.0
Each function, combinator, or definition should be documented here.
+13
View File
@@ -0,0 +1,13 @@
NOT_US = Functor-Reference.md FORMAT-Functor-Reference.md HEADER.md
FUNCDOCS = $(filter-out $(NOT_US),$(wildcard *.md))
all: Functor-Reference.md
pandoc -s --toc --toc-depth=2 --ascii Functor-Reference.md -o FuncRef.html
Functor-Reference.md: HEADER.md $(FUNCDOCS)
awk 'FNR==1 && NR > 1 {print ""}1' HEADER.md $(FUNCDOCS) > Functor-Reference.md
# https://stackoverflow.com/questions/8183191/concatenating-files-and-insert-new-line-in-between-files
# WTF would we do w/o the Internet? Know our tools well?