From b62d074900fc46f3ad6ea56a2c7516e14783568a Mon Sep 17 00:00:00 2001 From: SheetJS Date: Sat, 3 Jun 2023 05:10:50 -0400 Subject: [PATCH] steam duk --- docz/docs/03-demos/04-static/09-nuxtjs.md | 6 +++--- docz/docs/03-demos/04-static/12-astro.md | 2 +- docz/docs/03-demos/09-cloud/10-github.md | 4 ++-- docz/docs/03-demos/12-engines/01_duktape.md | 7 ++++++- docz/docs/03-demos/12-engines/02_v8.md | 6 ++---- docz/docs/03-demos/12-engines/08_quickjs.md | 13 ++++++------- docz/docs/09-miscellany/05-contributing.md | 13 +++++++++++++ 7 files changed, 33 insertions(+), 18 deletions(-) diff --git a/docz/docs/03-demos/04-static/09-nuxtjs.md b/docz/docs/03-demos/04-static/09-nuxtjs.md index e3a7cd8..f308793 100644 --- a/docz/docs/03-demos/04-static/09-nuxtjs.md +++ b/docz/docs/03-demos/04-static/09-nuxtjs.md @@ -37,7 +37,7 @@ npx nuxt telemetry disable At the time the demo was last tested, this command did not work. Instead, a option should be added in `nuxt.config.ts` or `nuxt.config.js` for Nuxt 3 sites: -```js +```js title="nuxt.config.js" // ... // highlight-start export default defineNuxtConfig({ @@ -278,7 +278,7 @@ not, click Refresh manually or open a new browser window. ![Nuxt Demo end of step 5](pathname:///nuxt/nuxt5.png) -6) To verify that hot loading works, open `pres.xlsx` from the `content` folder +6) To verify that live reload works, open `pres.xlsx` from the `content` folder in Excel. Add a new row to the bottom and save the file: ![Adding a new line to `pres.xlsx`](pathname:///nuxt/nuxl6.png) @@ -437,7 +437,7 @@ curl -L -o content/pres.xlsx https://sheetjs.com/pres.xlsx 4) Create the transformer. -Two files must be written: +Two files must be written at the root of the project: - `sheetformer.ts` (the raw transformer module): diff --git a/docz/docs/03-demos/04-static/12-astro.md b/docz/docs/03-demos/04-static/12-astro.md index 8ac4732..8bfe37e 100644 --- a/docz/docs/03-demos/04-static/12-astro.md +++ b/docz/docs/03-demos/04-static/12-astro.md @@ -93,7 +93,7 @@ This data loader returns Base64 strings: /// declare module '*.numbers' { const data: string; - export default data; + export default data; } declare module '*.xlsx' { const data: string; diff --git a/docz/docs/03-demos/09-cloud/10-github.md b/docz/docs/03-demos/09-cloud/10-github.md index d4423d4..afcab2e 100644 --- a/docz/docs/03-demos/09-cloud/10-github.md +++ b/docz/docs/03-demos/09-cloud/10-github.md @@ -50,8 +50,8 @@ As a project from the company, the entire lifecycle uses GitHub offerings: :::caution -A GitHub account is required. At the time of writing (2023 February 11), free -GitHub accounts have no Actions usage limits for public repositories. +A GitHub account is required. When the demo was tested, free GitHub accounts had +no Actions usage limits for public repositories. Using private GitHub repositories is not recommended because the Flat Viewer cannot access private repositories. diff --git a/docz/docs/03-demos/12-engines/01_duktape.md b/docz/docs/03-demos/12-engines/01_duktape.md index 949cb0c..7abdb77 100644 --- a/docz/docs/03-demos/12-engines/01_duktape.md +++ b/docz/docs/03-demos/12-engines/01_duktape.md @@ -113,7 +113,12 @@ The resulting `buf` can be written to file with `fwrite`. :::note -This demo was tested with Duktape `2.7.0` (`darwin-x64`) on 2023 February 12. +This demo was tested in the following deployments: + +| Architecture | Version | Date | +|:-------------|:--------|:-----------| +| `darwin-x64` | `2.7.0` | 2023-02-12 | +| `linux-x64` | `2.7.0` | 2023-06-02 | ::: diff --git a/docz/docs/03-demos/12-engines/02_v8.md b/docz/docs/03-demos/12-engines/02_v8.md index fc2dcbf..623c17c 100644 --- a/docz/docs/03-demos/12-engines/02_v8.md +++ b/docz/docs/03-demos/12-engines/02_v8.md @@ -119,8 +119,8 @@ generates an XLSB file and writes to the filesystem. :::caution -At the time of writing, there were errors in the official V8 embed guide for the -macOS platform. The correct instructions are included below. +When the demo was last tested, there were errors in the official V8 embed guide. +The correct instructions are included below. ::: @@ -298,8 +298,6 @@ This demo was last tested in the following deployments: | `linux-x64` | `0.71.2` | 2023-05-23 | | `win32-x64` | `0.71.2` | 2023-05-23 | -This demo was last tested on 2023 May 22 against `v8` crate version `0.71.2` - ::: 1) Create a new project: diff --git a/docz/docs/03-demos/12-engines/08_quickjs.md b/docz/docs/03-demos/12-engines/08_quickjs.md index 868591b..9acecb0 100644 --- a/docz/docs/03-demos/12-engines/08_quickjs.md +++ b/docz/docs/03-demos/12-engines/08_quickjs.md @@ -116,13 +116,12 @@ while the "CLI Test" demonstrates other concepts using the `quickjs` CLI tool. :::note -This demo was last tested on 2023 March 11 against QuickJS commit `2788d71` on -a Intel Mac. `gcc -v` printed: +This demo was tested in the following deployments: -``` -Apple clang version 14.0.0 (clang-1400.0.29.202) -Target: x86_64-apple-darwin21.6.0 -``` +| Architecture | Git Commit | Date | +|:-------------|:-----------|:-----------| +| `darwin-x64` | `2788d71` | 2023-02-12 | +| `linux-x64` | `2788d71` | 2023-06-02 | ::: @@ -152,7 +151,7 @@ curl -LO https://docs.sheetjs.com/quickjs/sheetjs.quick.c 3) Build the sample application: ```bash -gcc -o sheetjs.quick -Wall -lm libquickjs.a sheetjs.quick.c +gcc -o sheetjs.quick -Wall -lm sheetjs.quick.c libquickjs.a ``` This program tries to parse the file specified by the first argument diff --git a/docz/docs/09-miscellany/05-contributing.md b/docz/docs/09-miscellany/05-contributing.md index c104ee7..e7cf8a0 100644 --- a/docz/docs/09-miscellany/05-contributing.md +++ b/docz/docs/09-miscellany/05-contributing.md @@ -191,6 +191,19 @@ sudo pacman-key --refresh-keys sudo pacman -S base-devel mercurial subversion ``` +:::note + +In local testing on the Steam Deck, some of the C / C++ demos failed to build. +This issue was resolved by manually installing `glibc` and `linux-api-headers`: + +```bash +sudo pacman -S glibc linux-api-headers +``` + +This is *not required* for building or testing the library. + +::: + After installing mercurial and subversion, install NodeJS.