diff --git a/API.md b/API.md index 37b3ae6..163da86 100644 --- a/API.md +++ b/API.md @@ -1,15 +1,15 @@ # API -Welcome to the Unicode world. Before starting, you can find a demo site where you can find the API -documentation and test the functions by using WASM here: -[https://mojibake.zaerl.com](https://mojibake.zaerl.com) +You can find a demo site where you can find the API documentation and test the functions by using +WASM here: [https://mojibake.zaerl.com](https://mojibake.zaerl.com) > [!NOTE] > When we refer to "Unicode" or "Unicode 18" we refer to Unicode 18 **beta** ## Unicode glossary -You will need to have a basic glossary to understand the terminology. +Welcome to the Unicode world. Before starting, you will need to have a basic glossary to understand +the terminology. A **Code Point** (`typedef uint32_t mjb_codepoint` in the code) in Unicode is an integer from 0 to 0x10FFFF. It's used to identify a **Character** in the list. For example `U+20A0`, the € currency. diff --git a/Makefile b/Makefile index acbd957..f113ff8 100644 --- a/Makefile +++ b/Makefile @@ -136,7 +136,7 @@ generate-locale: generate-unicode-tables: @cd ./utils/generate && npm run generate -- unicode-tables -generate-site: src/site/index.html +generate-site: src/site/index.html src/site/footer.html @cd ./utils/generate && npm run generate-site sync-api-wasm: build-wasm @@ -147,7 +147,7 @@ build-api: sync-api-wasm @cd ./src/api && npm run build # Watch site files -watch-site: build-api src/site/index.html +watch-site: build-api src/site/index.html src/site/footer.html @cd ./utils/generate && npm run watch-site # Watch API files diff --git a/src/site/footer.html b/src/site/footer.html new file mode 100644 index 0000000..25db47f --- /dev/null +++ b/src/site/footer.html @@ -0,0 +1,877 @@ + + + diff --git a/src/site/index.html b/src/site/index.html index c631d74..f78ea98 100644 --- a/src/site/index.html +++ b/src/site/index.html @@ -5,9 +5,8 @@ - -