See https://cldr.unicode.org/index/cldr-spec/updating-spec for more details about updating the spec.
- render
../../../docs/ldml/*.mdinto.html - add some CSS and fixup the HTML a little bit
- The goal is to create .html suitable to end up at, for example, https://www.unicode.org/reports/tr35/tr35-61/tr35.html
Node.js (Tested with v12)
- To generate the .zip file: (Unix)
$ bash make-tr-archive.shYou 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 servereports.css gets downloaded locally so that the relative link ( ../reports.css) within the HTML will work.
$ npm install
$ npm run fix-tocsThis will update the tr .md files in place. Then, go ahead and check in updates to the .md fioles
$ npm install
$ npm run build
$ npm run extract-link-targets- fix any errors, such as bad links
- there are warnings about duplicate anchors - these are OK.
- check the git status an diff on the
docs/ldml/tr35*.anchors.jsonfiles
- make sure that any anchors aren't inexplicably removed
Copyright © 1991-2021 Unicode, Inc. All rights reserved. Terms of use
See ../../../README.md for full project information.