Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.gitignore | H A D | 25-Apr-2025 | 72 | 6 | 6 | |
README.md | H A D | 25-Apr-2025 | 1 KiB | 49 | 30 | |
archive.js | H A D | 25-Apr-2025 | 7.1 KiB | 227 | 152 | |
copy-local-assets.sh | H A D | 25-Apr-2025 | 310 | 14 | 8 | |
extract-link-targets.js | H A D | 25-Apr-2025 | 5.9 KiB | 190 | 131 | |
fix-tocs.js | H A D | 25-Apr-2025 | 3.4 KiB | 128 | 83 | |
header.html | H A D | 25-Apr-2025 | 547 | 14 | 13 | |
make-tr-archive.sh | H A D | 25-Apr-2025 | 397 | 18 | 8 | |
package-lock.json | H A D | 25-Apr-2025 | 54.1 KiB | 1,425 | 1,424 | |
package.json | H A D | 25-Apr-2025 | 711 | 26 | 25 | |
tr35.css | H A D | 25-Apr-2025 | 472 | 32 | 24 |
README.md
1# Unicode TR35 archiver 2 3## What this does 4 5- render `../../../docs/ldml/*.md` into `.html` 6- add some CSS and fixup the HTML a little bit 7- The goal is to create .html suitable to end up at, for example, <https://www.unicode.org/reports/tr35/tr35-61/tr35.html> 8 9## Prerequisites 10 11Node.js (Tested with v12) 12 13## How to use 14 15- To generate the .zip file: (Unix) 16 17```shell 18$ bash make-tr-archive.sh 19``` 20 21You will end up with HTML files under `dist/` and a zipped up `./tr35.zip` archive. 22 23- To generate, and also serve locally via a little web server (Unix): 24 25```shell 26$ npm install 27$ npm run serve 28``` 29 30`reports.css` gets downloaded locally so that the relative link ( `../reports.css`) within the HTML will work. 31 32 33## Updating ToC 34 35```shell 36$ npm install 37$ npm run fix-tocs 38``` 39 40This will update the tr .md files in place. 41### Copyright 42 43Copyright © 1991-2021 Unicode, Inc. 44All rights reserved. 45[Terms of use](https://www.unicode.org/copyright.html) 46 47See [../../../README.md](../../../README.md) for full project information. 48 49