Skip to content

Commit a9b77ef

Browse files
committed
building Python replacement for Jekyll
1 parent 6375ea9 commit a9b77ef

File tree

5 files changed

+398
-0
lines changed

5 files changed

+398
-0
lines changed

docs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
_data/plotschema.json
2+
tmp

docs/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Manage plotly.js documentation.
22

33
JEKYLL=bundle exec jekyll
4+
RUN = uv run
45
SCHEMA_SRC=../test/plot-schema.json
56
SCHEMA_DST=_data/plotschema.json
67

@@ -14,6 +15,11 @@ build:
1415
cp ${SCHEMA_SRC} ${SCHEMA_DST}
1516
${JEKYLL} build
1617

18+
## reference: build reference documentation in ./tmp
19+
reference:
20+
@mkdir -p tmp
21+
${RUN} bin/make_reference_pages.py --schema ${SCHEMA_SRC} --outdir tmp _posts/reference_pages/javascript/2020-07-20-bar.html
22+
1723
## serve: display documentation
1824
serve:
1925
@mkdir -p _data

0 commit comments

Comments
 (0)