diff --git a/docs/Makefile b/docs/Makefile index b857eaf..cec86ee 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,16 +1,16 @@ # Docs toplevel makefile. -README=./source/index.md -BUILD_SCRIPT=build_index.py -GENERATOR=python $(BUILD_SCRIPT) -HTML_OUTPUT_DIR=./html -NOTEBOOK_OUTPUT_DIR=$(HTML_OUTPUT_DIR)/notebooks +INDEX = ./source/index.md +BUILD_SCRIPT = build_index.py +GENERATOR = python $(BUILD_SCRIPT) +HTML_OUTPUT_DIR = ./html +NOTEBOOK_OUTPUT_DIR = $(HTML_OUTPUT_DIR)/notebooks +INDEX_OUT = $(HTML_OUTPUT_DIR)/index.html + +all: $(INDEX_OUT) + +$(INDEX_OUT): $(INDEX) $(BUILD_SCRIPT) + $(GENERATOR) $(INDEX) > $(INDEX_OUT) -all: $(HTML_OUTPUT_DIR)/index.html - -$(HTML_OUTPUT_DIR)/index.html: $(README) $(BUILD_SCRIPT) - $(GENERATOR) $(README) > $(HTML_OUTPUT_DIR)/index.html - - -# python -m markdown -f index.html -o html $(README) +# python -m markdown -f index.html -o html $(INDEX) diff --git a/docs/html/index.html b/docs/html/index.html index 7c3968c..bf511ec 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -49,7 +49,7 @@ interesting aspects. It's quite a treasure trove.

two integers and increments or decrements one of them such that the new pair of numbers is the next coordinate pair in a square spiral (like the kind used to construct an Ulam Spiral). -For more information see Square Spiral Example Joy Code.

+For more information see Square Spiral Example Joy Code.

square_spiral [_p] [_then] [_else] ifte
 
 _p  [_p0] [_p1] &&
@@ -71,13 +71,13 @@ _else [pop !-]  [--]   [++]  ifte
 
 

Documentation

This document describes Joy in a general way below, however most of the -documentation is in the form of Jupyter Notebooks +documentation is in the form of Jupyter Notebooks that go into more detail.

-

Jupyter Notebooks

-

There's also a Function Reference that lists each +

Jupyter Notebooks

+

There's also a Function Reference that lists each function and combinator by name and gives a brief description. (It's usually out of date, I'm working on it.)

-

Function Reference

+

Function Reference

Building the Docs

Run make in the docs directory. (This is a lie, it's more complex than that. Really you need to run (GNU) make in the docs/notebooks and diff --git a/docs/html/notebooks/0._This_Implementation_of_Joy_in_Python.html b/docs/html/notebooks/0._This_Implementation_of_Joy_in_Python.html index f55bf84..b61401c 100644 --- a/docs/html/notebooks/0._This_Implementation_of_Joy_in_Python.html +++ b/docs/html/notebooks/0._This_Implementation_of_Joy_in_Python.html @@ -3,12624 +3,11322 @@ -0._This_Implementation_of_Joy_in_Python - - - +0._This_Implementation_of_Joy_in_Python - - - - + - - + - + +

+
-
- -
-