Skip to content

Commit 48c70af

Browse files
committed
feat: building reference pages for JavaScript with Python
1 parent 6375ea9 commit 48c70af

File tree

5 files changed

+419
-0
lines changed

5 files changed

+419
-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: 7 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,12 @@ build:
1415
cp ${SCHEMA_SRC} ${SCHEMA_DST}
1516
${JEKYLL} build
1617

18+
## reference: build reference documentation in ./tmp
19+
reference:
20+
@rm -rf tmp
21+
@mkdir -p tmp
22+
${RUN} bin/make_reference_pages.py --schema ${SCHEMA_SRC} --outdir tmp _posts/reference_pages/javascript/*.html
23+
1724
## serve: display documentation
1825
serve:
1926
@mkdir -p _data

0 commit comments

Comments
 (0)