Function Reference
This commit is contained in:
parent
ea52cd7bfb
commit
b67fc46291
|
|
@ -93,8 +93,14 @@ coordinate pair in a square spiral (like the kind used to construct an
|
|||
|
||||
### Jupyter Notebooks
|
||||
|
||||
[Notebooks](/notebooks/index.html)
|
||||
|
||||
The docs/notebooks dir contains Jupyter notebooks, ... TODO
|
||||
|
||||
## Function Reference
|
||||
|
||||
[Function Reference](/FR.html)
|
||||
|
||||
### Building the Docs
|
||||
|
||||
Run `make` in the `docs` directory.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
# Docs toplevel makefile.
|
||||
|
||||
README=../README.md
|
||||
BUILD_SCRIPT=build_index.py
|
||||
GENERATOR=python $(BUILD_SCRIPT)
|
||||
|
|
@ -12,4 +14,3 @@ $(HTML_OUTPUT_DIR)/index.html: $(README) $(BUILD_SCRIPT)
|
|||
|
||||
|
||||
# python -m markdown -f index.html -o html $(README)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,21 +1,23 @@
|
|||
# Docs notebook makefile.
|
||||
|
||||
docs = $(wildcard *.ipynb)
|
||||
docs_html = $(patsubst %.ipynb,%.html,$(docs))
|
||||
|
||||
.PHONY: clean sdist test docs
|
||||
|
||||
|
||||
all: $(docs_html)
|
||||
.PHONY: clean
|
||||
|
||||
all: mov
|
||||
|
||||
clean:
|
||||
$(RM) -v $(docs_html)
|
||||
|
||||
index.html: build_index.py
|
||||
python build_index.py > index.html
|
||||
|
||||
$(docs_html): %.html : %.ipynb
|
||||
python -m nbconvert --to html $<
|
||||
jupyter nbconvert --to html --template lab $<
|
||||
|
||||
mov: $(docs_html) index.html
|
||||
cp -v $? ../html/notebooks/
|
||||
|
||||
|
||||
|
||||
mov: $(move_us)
|
||||
cp -v $? ./sphinx_docs/notebooks/
|
||||
|
||||
# markdown Functor-Reference.md | tidy5 -utf8 --add-meta-charset yes > ../../html/FR.html
|
||||
|
|
|
|||
Loading…
Reference in New Issue