mirror of
https://github.com/public-apis/public-apis.git
synced 2025-05-09 15:16:47 +02:00
Update build script to use new converter
This commit is contained in:
parent
0184842ee8
commit
68c5b997fc
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
||||||
# create json directory if not already present
|
# create json directory if not already present
|
||||||
mkdir -p ../json
|
mkdir -p ../json
|
||||||
# parse API README and print (minified) JSON to stdout, redirect to /json
|
# parse API README and print (minified) JSON to stdout, redirect to /json
|
||||||
node condenseMd.js ../README.md > single_table.md
|
./md2json.py ../README.md > ../json/entries.min.json
|
||||||
node md2json.js single_table.md > ../json/entries.min.json
|
|
||||||
# beautify the previously created JSON file, redirect to /json
|
# beautify the previously created JSON file, redirect to /json
|
||||||
python -m json.tool ../json/entries.min.json > ../json/entries.json
|
python -m json.tool ../json/entries.min.json > ../json/entries.json
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue