Skip to content

Latest commit

 

History

History

README.md

Unicode TR35 archiver

See https://cldr.unicode.org/index/cldr-spec/updating-spec for more details about updating the spec.

What this does

Prerequisites

Node.js (Tested with v12)

How to use

  • To generate the .zip file: (Unix)
$ bash make-tr-archive.sh

You will end up with HTML files under dist/ and a zipped up ./tr35.zip archive.

  • To generate, and also serve locally via a little web server (Unix):
$ npm install
$ npm run serve

reports.css gets downloaded locally so that the relative link ( ../reports.css) within the HTML will work.

Updating ToC

$ npm install
$ npm run fix-tocs

This will update the tr .md files in place. Then, go ahead and check in updates to the .md fioles

Checking internal link targets and stable anchors

$ npm install
$ npm run build
$ npm run extract-link-targets
  1. fix any errors, such as bad links
  2. there are warnings about duplicate anchors - these are OK.
  3. check the git status an diff on the docs/ldml/tr35*.anchors.json files
  • make sure that any anchors aren't inexplicably removed

Copyright

Copyright © 1991-2021 Unicode, Inc. All rights reserved. Terms of use

See ../../../README.md for full project information.