Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

10 rindas
391 B

  1. #!/bin/bash
  2. # create json directory if not already present
  3. mkdir -p ../json
  4. # parse API README and print (minified) JSON to stdout, redirect to /json
  5. node condenseMd.js ../README.md > single_table.md
  6. node md2json.js single_table.md > ../json/entries.min.json
  7. # beautify the previously created JSON file, redirect to /json
  8. python -m json.tool ../json/entries.min.json > ../json/entries.json