Working on the docs.
The nbconvert tool has different behaviour now, so the HTML versions of the notebooks look different.
This commit is contained in:
+12
-12
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user