From b503ebc14dd93f36df9e32b916d497b121c4c28b Mon Sep 17 00:00:00 2001 From: SheetJS Date: Fri, 26 Apr 2024 00:16:13 -0400 Subject: [PATCH] Added Test Data to docs site --- .../01-installation/07-bun.md | 3 +- .../02-examples/02-export.mdx | 18 +- .../02-examples/04-import.md | 57 +- docz/docs/03-demos/01-math/09-danfojs.md | 6 +- docz/docs/03-demos/01-math/11-tensorflow.md | 12 +- docz/docs/03-demos/01-math/21-pandas.md | 4 +- docz/docs/03-demos/02-frontend/01-kaioken.md | 22 +- docz/docs/03-demos/02-frontend/02-react.md | 22 +- docz/docs/03-demos/02-frontend/03-angular.md | 26 +- docz/docs/03-demos/02-frontend/04-vue.md | 22 +- docz/docs/03-demos/02-frontend/05-svelte.md | 10 +- .../docs/03-demos/02-frontend/07-angularjs.md | 22 +- docz/docs/03-demos/02-frontend/08-dojo.md | 4 +- .../02-frontend/19-bundler/03-vitejs.md | 2 +- .../02-frontend/19-bundler/05-webpack.md | 2 +- .../02-frontend/19-bundler/09-browserify.md | 2 +- .../02-frontend/19-bundler/11-requirejs.md | 2 +- .../02-frontend/19-bundler/14-rollup.md | 2 +- .../02-frontend/19-bundler/20-parcel.md | 4 +- .../02-frontend/19-bundler/21-swcpack.md | 2 +- .../03-demos/02-frontend/19-bundler/index.md | 4 +- .../docs/03-demos/03-net/01-network/index.mdx | 41 +- .../03-demos/03-net/03-server/01-express.md | 6 +- .../03-demos/03-net/03-server/04-drash.md | 2 +- .../03-demos/03-net/03-server/09-elysia.md | 6 +- .../03-demos/03-net/03-server/11-nestjs.md | 6 +- .../03-demos/03-net/03-server/19-fastify.md | 6 +- docz/docs/03-demos/03-net/03-server/index.md | 4 +- docz/docs/03-demos/03-net/04-email/index.md | 6 +- docz/docs/03-demos/04-grid/01-xs.md | 6 +- docz/docs/03-demos/04-grid/02-cdg.md | 4 +- docz/docs/03-demos/04-grid/12-vtl.md | 2 +- docz/docs/03-demos/04-grid/14-gdg.md | 2 +- docz/docs/03-demos/04-grid/16-rdg.md | 4 +- docz/docs/03-demos/04-grid/18-mui.md | 2 +- docz/docs/03-demos/12-static/01-lume.md | 8 +- docz/docs/03-demos/12-static/02-gatsbyjs.md | 4 +- docz/docs/03-demos/12-static/04-esbuild.md | 4 +- docz/docs/03-demos/12-static/05-vitejs.md | 4 +- docz/docs/03-demos/12-static/06-webpack.md | 4 +- docz/docs/03-demos/12-static/07-eleventy.md | 8 +- docz/docs/03-demos/12-static/09-nuxtjs.md | 8 +- docz/docs/03-demos/12-static/11-svelte.md | 6 +- docz/docs/03-demos/12-static/12-astro.md | 4 +- .../docs/03-demos/17-mobile/01-reactnative.md | 12 +- .../03-demos/17-mobile/02-nativescript.md | 6 +- docz/docs/03-demos/17-mobile/03-quasar.md | 2 +- docz/docs/03-demos/17-mobile/04-ionic.md | 2 +- docz/docs/03-demos/17-mobile/06-flutter.md | 8 +- docz/docs/03-demos/19-desktop/01-electron.md | 2 +- docz/docs/03-demos/19-desktop/03-wails.md | 2 +- docz/docs/03-demos/19-desktop/04-tauri.md | 2 +- .../docs/03-demos/19-desktop/05-neutralino.md | 2 +- .../03-demos/19-desktop/06-reactnative.md | 4 +- docz/docs/03-demos/20-cli/09-nodesea.md | 4 +- docz/docs/03-demos/20-cli/23-deno.md | 4 +- docz/docs/03-demos/20-cli/index.md | 8 +- docz/docs/03-demos/23-data/10-sql.md | 4 +- docz/docs/03-demos/23-data/14-knex.md | 4 +- docz/docs/03-demos/23-data/16-postgresql.md | 4 +- docz/docs/03-demos/23-data/17-mariadb.md | 4 +- docz/docs/03-demos/23-data/19-alasql.md | 16 +- docz/docs/03-demos/27-local/03-storageapi.md | 4 +- docz/docs/03-demos/30-cloud/11-aws.md | 6 +- docz/docs/03-demos/30-cloud/12-azure.md | 14 +- docz/docs/03-demos/30-cloud/19-deno.md | 6 +- docz/docs/03-demos/30-cloud/21-gsheet.md | 4 +- docz/docs/03-demos/30-cloud/22-airtable.md | 2 +- docz/docs/03-demos/30-cloud/31-dropbox.mdx | 2 +- .../03-demos/32-extensions/01-extendscript.md | 6 +- .../03-demos/32-extensions/03-excelapi.md | 4 +- docz/docs/03-demos/32-extensions/04-gsheet.md | 6 +- docz/docs/03-demos/32-extensions/06-osa.md | 4 +- .../03-demos/32-extensions/09-mathematica.md | 10 +- docz/docs/03-demos/32-extensions/10-stata.md | 59 +- docz/docs/03-demos/32-extensions/11-matlab.md | 6 +- docz/docs/03-demos/32-extensions/12-maple.md | 4 +- docz/docs/03-demos/37-bigdata/01-stream.md | 12 +- docz/docs/03-demos/37-bigdata/02-worker.md | 6 +- docz/docs/03-demos/42-engines/01-duktape.md | 54 +- docz/docs/03-demos/42-engines/02-v8.md | 16 +- docz/docs/03-demos/42-engines/03-rhino.md | 8 +- docz/docs/03-demos/42-engines/04-jsc.md | 8 +- docz/docs/03-demos/42-engines/05-jint.md | 10 +- docz/docs/03-demos/42-engines/06-goja.md | 6 +- docz/docs/03-demos/42-engines/07-nashorn.md | 4 +- docz/docs/03-demos/42-engines/08-quickjs.md | 18 +- docz/docs/03-demos/42-engines/09-hermes.md | 14 +- docz/docs/03-demos/42-engines/15-rb.md | 13 +- docz/docs/03-demos/42-engines/20-chakra.md | 14 +- docz/docs/03-demos/42-engines/21-boa.md | 14 +- docz/docs/03-demos/42-engines/22-perl.md | 2 +- .../03-demos/42-engines/23-jerryscript.md | 14 +- docz/docs/03-demos/42-engines/24-graaljs.md | 30 +- docz/docs/03-demos/42-engines/25-mujs.md | 4 +- docz/docs/06-solutions/01-input.md | 16 +- docz/docs/06-solutions/05-output.md | 2 +- docz/docs/08-api/07-utilities/03-html.md | 4 +- docz/docs/08-api/07-utilities/05-csv.md | 2 +- docz/docs/index.md | 6 +- docz/static/PortfolioSummary.xls | Bin 0 -> 61952 bytes docz/static/angularjs/index.html | 5 +- docz/static/boa/main.rs | 2 +- docz/static/cap/App.svelte | 2 +- docz/static/cd.xls | Bin 0 -> 71168 bytes docz/static/cdg/index.html | 3 +- docz/static/deno/s2c.ts | 6 +- docz/static/dojo/combo.html | 4 +- docz/static/dojo/read.html | 2 +- docz/static/duk/main.zig | 6 +- docz/static/executive.json | 2364 +++++++++++++++++ docz/static/flutter/main.dart | 2 +- docz/static/gdg/App.tsx | 2 +- docz/static/hermes/Makefile | 9 +- docz/static/ionic/home.page.ts | 2 +- docz/static/jquery/index.html | 2 +- docz/static/knockout/knockout.html | 2 +- docz/static/knockout/knockout2.html | 2 +- docz/static/knockout/knockout3.html | 2 +- docz/static/live/fetch.html | 2 +- docz/static/mui/dg/App.tsx | 2 +- docz/static/nwjs/index.html | 2 +- docz/static/pres.numbers | Bin 0 -> 652655 bytes docz/static/pres.xlsb | Bin 0 -> 14749 bytes docz/static/rdg/App.tsx | 2 +- docz/static/react/fetch.html | 4 +- docz/static/reactnative/App.tsx | 2 +- docz/static/stream/SheetJSDenoStream.ts | 4 +- docz/static/tauri/App.tsx | 6 +- docz/static/tauri/App.vue | 6 +- docz/static/vtl/App.vue | 4 +- docz/static/vue/fetch.html | 7 +- docz/static/wails/App.svelte | 2 +- docz/static/xspreadsheet/index.html | 3 +- 134 files changed, 2901 insertions(+), 461 deletions(-) create mode 100644 docz/static/PortfolioSummary.xls create mode 100644 docz/static/cd.xls create mode 100644 docz/static/executive.json create mode 100644 docz/static/pres.numbers create mode 100644 docz/static/pres.xlsb diff --git a/docz/docs/02-getting-started/01-installation/07-bun.md b/docz/docs/02-getting-started/01-installation/07-bun.md index 63e5641..7c08f1e 100644 --- a/docz/docs/02-getting-started/01-installation/07-bun.md +++ b/docz/docs/02-getting-started/01-installation/07-bun.md @@ -123,6 +123,7 @@ This demo was last tested in the following deployments: |:-------------|:--------|:-----------| | `darwin-x64` | `1.1.4` | 2024-04-19 | | `win10-x64` | `1.1.4` | 2024-04-19 | +| `linux-x64` | `1.1.4` | 2024-04-25 | ::: @@ -158,7 +159,7 @@ import * as fs from 'fs'; XLSX.set_fs(fs); /* fetch JSON data and parse */ -const url = "https://sheetjs.com/data/executive.json"; +const url = "https://docs.sheetjs.com/executive.json"; const raw_data = await (await fetch(url)).json(); /* filter for the Presidents */ diff --git a/docz/docs/02-getting-started/02-examples/02-export.mdx b/docz/docs/02-getting-started/02-examples/02-export.mdx index e9089f4..6fb30eb 100644 --- a/docz/docs/02-getting-started/02-examples/02-export.mdx +++ b/docz/docs/02-getting-started/02-examples/02-export.mdx @@ -43,14 +43,14 @@ sequenceDiagram ## Acquire Data The raw data is available in JSON form[^1]. It has been mirrored at -https://sheetjs.com/data/executive.json +https://docs.sheetjs.com/executive.json ### Raw Data Acquiring the data is straightforward with `fetch`: ```js -const url = "https://sheetjs.com/data/executive.json"; +const url = "https://docs.sheetjs.com/executive.json"; const raw_data = await (await fetch(url)).json(); ``` @@ -555,7 +555,7 @@ browser should try to create `Presidents.xlsx` ```jsx live function Presidents() { return (