Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
public-apis
Commits
cb63f649
Unverified
Commit
cb63f649
authored
Jul 02, 2017
by
Dave Machado
Browse files
Update name of API entires JSON files
parent
1a17cd61
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/build.sh
View file @
cb63f649
...
...
@@ -3,8 +3,8 @@
# create json directory if not already present
mkdir
-p
../json
# parse API README and print (minified) JSON to stdout, redirect to /json
node md2json.js ../README.md
>
../json/
api
.min.json
node md2json.js ../README.md
>
../json/
entries
.min.json
# beautify the previously created JSON file, redirect to /json
python
-m
json.tool ../json/
api
.min.json
>
../json/
api
.json
# print out pretty JSON (useful for debugging, checking for new entries, etc)
cat
../json/
api
.json
python
-m
json.tool ../json/
entries
.min.json
>
../json/
entries
.json
# print out pretty JSON (useful for debugging, checking for new entries, etc)
cat
../json/
entries
.json
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment