• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3npm i
4set -x
5# Run the Toc
6npm run fix-tocs || exit 1
7
8# setup dist/js with javascript module(s)
9mkdir -p dist dist/js
10cp node_modules/anchor-js/anchor.min.js dist/js
11
12# copy the source .md and other stuff into dist
13cp -vR ../../../docs/ldml/* ./dist/
14
15# Generate output .html, and zip it all up.
16node archive.js && zip -r tr35.zip dist/*.html dist/images dist/js
17