From 74ed99a98e5f7fe506a5bed124ffc73cfecc8462 Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Fri, 25 Oct 2024 10:31:14 -0700 Subject: [PATCH] Move website asset to astro and disable docusaurus build (#4867) Next step, just moving the files that were also used by astro out of docusaurus. Will delete the docusausurs package in a later PR to keep change minimal. --- .github/workflows/website-gh-pages.yml | 12 ------ .../website/.scripts/docusaurus-build.mjs | 37 ---------------- packages/website/.scripts/tsconfig.json | 7 --- packages/website/package.json | 3 +- pnpm-lock.yaml | 40 +++++++++++++++++- website/.gitignore | 2 - .../.scripts/regen-compiler-docs.ts | 11 +++-- .../.scripts/update-playground-versions.ts | 2 +- website/package.json | 24 +++++++++-- .../static => website/public}/1ds-init.js | 0 .../static => website/public}/img/favicon.svg | 0 .../fluent/book-pencil-d-standard-128x128.png | Bin .../fluent/book-pencil-l-standard-128x128.png | Bin .../img/fluent/chat-d-standard-128x128.png | Bin .../img/fluent/chat-l-standard-128x128.png | Bin .../fluent/checkmark-d-standard-128x128.png | Bin .../fluent/checkmark-l-standard-128x128.png | Bin .../data-trending-d-standard-128x128.png | Bin .../data-trending-l-standard-128x128.png | Bin .../img/fluent/design-d-standard-128x128.png | Bin .../img/fluent/design-l-standard-128x128.png | Bin .../design-layout-d-standard-128x128.png | Bin .../design-layout-l-standard-128x128.png | Bin .../devices-multiple-d-standard-128x128.png | Bin .../devices-multiple-l-standard-128x128.png | Bin .../document-add-d-standard-128x128.png | Bin .../document-add-l-standard-128x128.png | Bin .../document-cloud-d-standard-128x128.png | Bin .../document-cloud-l-standard-128x128.png | Bin .../img/fluent/editor-d-standard-128x128.png | Bin .../img/fluent/editor-l-standard-128x128.png | Bin .../img/fluent/eye-dev-d-standard-128x128.png | Bin .../img/fluent/eye-dev-l-standard-128x128.png | Bin .../fluent/firework-d-standard-128x128.png | Bin .../fluent/firework-l-standard-128x128.png | Bin .../people-shield-d-standard-128x128.png | Bin .../people-shield-l-standard-128x128.png | Bin .../fluent/shield-blue-d-standard-128x128.png | Bin .../fluent/shield-blue-l-standard-128x128.png | Bin .../shield-settings-d-standard-128x128.png | Bin .../shield-settings-l-standard-128x128.png | Bin .../img/fluent/tasks-d-standard-128x128.png | Bin .../img/fluent/tasks-l-standard-128x128.png | Bin .../fluent/text-edit-d-standard-128x128.png | Bin .../fluent/text-edit-l-standard-128x128.png | Bin .../img/illustrations/autocomplete.dark.png | Bin .../img/illustrations/autocomplete.light.png | Bin .../img/illustrations/ide-hero.dark.png | Bin .../img/illustrations/ide-hero.light.png | Bin .../public}/img/illustrations/openapi3.png | Bin .../img/illustrations/overview-ide.dark.png | Bin .../img/illustrations/overview-ide.light.png | Bin .../public}/img/illustrations/refactor.mp4 | Bin .../public}/img/illustrations/swagger-ui.png | Bin .../warnings-and-errors.dark.png | Bin .../warnings-and-errors.light.png | Bin .../static => website/public}/img/social.png | Bin website/src/assets/img/favicon.svg | 8 ++++ website/src/assets/img/social.png | Bin 0 -> 4958 bytes .../data-validation/common-lib/common.tsp | 0 .../data-validation/common-lib/main.tsp | 0 .../data-validation/validation-decorators.tsp | 0 .../tsp-samples/extensibility/custom-lib.ts | 0 .../tsp-samples/extensibility/custom-lib.tsp | 0 .../tsp-samples/homepage/hero/http/main.tsp | 0 .../homepage/hero/http/out/openapi.yaml | 0 .../homepage/hero/http/tspconfig.yaml | 0 .../homepage/hero/json-schema/main.tsp | 0 .../homepage/hero/json-schema/out/schema.yaml | 0 .../homepage/hero/json-schema/tspconfig.yaml | 0 .../json-schema/extensions/main.tsp | 0 .../json-schema/extensions/out/output.yaml | 0 .../json-schema/extensions/tspconfig.yaml | 0 .../tsp-samples/json-schema/hero/main.tsp | 0 .../json-schema/hero/out/schema.yaml | 0 .../json-schema/hero/tspconfig.yaml | 0 .../json-schema/multi-file/main.tsp | 0 .../json-schema/multi-file/out/Address.yaml | 0 .../json-schema/multi-file/out/Car.yaml | 0 .../json-schema/multi-file/out/Person.yaml | 0 .../json-schema/multi-file/tspconfig.yaml | 0 .../tsp-samples/openapi3/abstraction.tsp | 0 .../tsp-samples/openapi3/hero/main.tsp | 0 .../openapi3/hero/out/openapi.yaml | 0 .../tsp-samples/openapi3/hero/tspconfig.yaml | 0 .../openapi3/interoperate/.spectral.yaml | 0 .../openapi3/interoperate/main.tsp | 0 .../openapi3/interoperate/openapi.yaml | 0 .../openapi3/interoperate/spectral.txt | 0 .../tsp-samples/protobuf/hero/main.tsp | 0 .../protobuf/hero/out/addressbook.proto | 0 .../tsp-samples/protobuf/hero/tspconfig.yaml | 0 .../tooling/formatter/file.noformat.tsp | 0 .../tooling/formatter/formatted.tsp | 0 website/src/components/footer/footer.astro | 2 +- 95 files changed, 74 insertions(+), 74 deletions(-) delete mode 100644 packages/website/.scripts/docusaurus-build.mjs delete mode 100644 packages/website/.scripts/tsconfig.json rename packages/website/.scripts/regen-compiler-docs.mjs => website/.scripts/regen-compiler-docs.ts (91%) rename packages/website/.scripts/update-playground-versions.mjs => website/.scripts/update-playground-versions.ts (91%) rename {packages/website/static => website/public}/1ds-init.js (100%) rename {packages/website/static => website/public}/img/favicon.svg (100%) rename {packages/website/static => website/public}/img/fluent/book-pencil-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/book-pencil-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/chat-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/chat-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/checkmark-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/checkmark-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/data-trending-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/data-trending-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/design-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/design-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/design-layout-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/design-layout-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/devices-multiple-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/devices-multiple-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/document-add-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/document-add-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/document-cloud-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/document-cloud-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/editor-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/editor-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/eye-dev-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/eye-dev-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/firework-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/firework-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/people-shield-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/people-shield-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/shield-blue-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/shield-blue-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/shield-settings-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/shield-settings-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/tasks-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/tasks-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/text-edit-d-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/fluent/text-edit-l-standard-128x128.png (100%) rename {packages/website/static => website/public}/img/illustrations/autocomplete.dark.png (100%) rename {packages/website/static => website/public}/img/illustrations/autocomplete.light.png (100%) rename {packages/website/static => website/public}/img/illustrations/ide-hero.dark.png (100%) rename {packages/website/static => website/public}/img/illustrations/ide-hero.light.png (100%) rename {packages/website/static => website/public}/img/illustrations/openapi3.png (100%) rename {packages/website/static => website/public}/img/illustrations/overview-ide.dark.png (100%) rename {packages/website/static => website/public}/img/illustrations/overview-ide.light.png (100%) rename {packages/website/static => website/public}/img/illustrations/refactor.mp4 (100%) rename {packages/website/static => website/public}/img/illustrations/swagger-ui.png (100%) rename {packages/website/static => website/public}/img/illustrations/warnings-and-errors.dark.png (100%) rename {packages/website/static => website/public}/img/illustrations/warnings-and-errors.light.png (100%) rename {packages/website/static => website/public}/img/social.png (100%) create mode 100644 website/src/assets/img/favicon.svg create mode 100644 website/src/assets/img/social.png rename {packages/website/static => website/src/assets}/tsp-samples/data-validation/common-lib/common.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/data-validation/common-lib/main.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/data-validation/validation-decorators.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/extensibility/custom-lib.ts (100%) rename {packages/website/static => website/src/assets}/tsp-samples/extensibility/custom-lib.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/homepage/hero/http/main.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/homepage/hero/http/out/openapi.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/homepage/hero/http/tspconfig.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/homepage/hero/json-schema/main.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/homepage/hero/json-schema/out/schema.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/homepage/hero/json-schema/tspconfig.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/json-schema/extensions/main.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/json-schema/extensions/out/output.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/json-schema/extensions/tspconfig.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/json-schema/hero/main.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/json-schema/hero/out/schema.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/json-schema/hero/tspconfig.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/json-schema/multi-file/main.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/json-schema/multi-file/out/Address.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/json-schema/multi-file/out/Car.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/json-schema/multi-file/out/Person.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/json-schema/multi-file/tspconfig.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/openapi3/abstraction.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/openapi3/hero/main.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/openapi3/hero/out/openapi.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/openapi3/hero/tspconfig.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/openapi3/interoperate/.spectral.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/openapi3/interoperate/main.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/openapi3/interoperate/openapi.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/openapi3/interoperate/spectral.txt (100%) rename {packages/website/static => website/src/assets}/tsp-samples/protobuf/hero/main.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/protobuf/hero/out/addressbook.proto (100%) rename {packages/website/static => website/src/assets}/tsp-samples/protobuf/hero/tspconfig.yaml (100%) rename {packages/website/static => website/src/assets}/tsp-samples/tooling/formatter/file.noformat.tsp (100%) rename {packages/website/static => website/src/assets}/tsp-samples/tooling/formatter/formatted.tsp (100%) diff --git a/.github/workflows/website-gh-pages.yml b/.github/workflows/website-gh-pages.yml index 47605ebd5c..babeab2c61 100644 --- a/.github/workflows/website-gh-pages.yml +++ b/.github/workflows/website-gh-pages.yml @@ -35,18 +35,6 @@ jobs: run: pnpm exec playwright install working-directory: packages/playground-website - # - name: Build - # run: pnpm --filter "@typespec/website..." run build - # env: - # # Only when deploying to microsoft.github.io/typespec. For typespec.io use the default value. - # # TYPESPEC_WEBSITE_BASE_PATH: "/typespec/" - # NODE_OPTIONS: "--max_old_space_size=4096" - - # - name: Upload artifact - # uses: actions/upload-pages-artifact@v1 - # with: - # path: ./packages/website/build - - name: Build run: pnpm --filter "@typespec/website-astro..." run build diff --git a/packages/website/.scripts/docusaurus-build.mjs b/packages/website/.scripts/docusaurus-build.mjs deleted file mode 100644 index 99a11a5369..0000000000 --- a/packages/website/.scripts/docusaurus-build.mjs +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env node -// @ts-check - -import { runOrExit } from "@typespec/internal-build-utils"; -import dotenv from "dotenv"; -import path from "path"; -import { fileURLToPath } from "url"; - -loadDotenv(); - -if (process.env.TYPESPEC_SKIP_DOCUSAURUS_BUILD?.toLowerCase() === "true") { - console.log("Skipping docusaurus build: TYPESPEC_SKIP_DOCUSAURUS_BUILD=true"); - process.exit(0); -} - -await runOrExit("docusaurus", ["build"], { - env: { - ...process.env, - USE_SIMPLE_CSS_MINIFIER: "true", - }, -}); - -function loadDotenv() { - const dirname = path.dirname(fileURLToPath(import.meta.url)); - const searchPaths = ["../../../.env", "../../../../.env"]; - for (const searchPath of searchPaths) { - const dotenvPath = path.resolve(dirname, searchPath); - console.log(`Searching dotEnvPath: ${dotenvPath}`); - const result = dotenv.config({ - path: dotenvPath, - }); - if (result.parsed !== undefined) { - console.log(`Loaded dotenv: ${dotenvPath}`); - return; - } - } -} diff --git a/packages/website/.scripts/tsconfig.json b/packages/website/.scripts/tsconfig.json deleted file mode 100644 index a7730eb755..0000000000 --- a/packages/website/.scripts/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "allowJs": true - }, - "include": ["**/*.mjs", "**/*.ts"] -} diff --git a/packages/website/package.json b/packages/website/package.json index 3909986306..6a5990853e 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -7,7 +7,7 @@ "scripts": { "docusaurus": "docusaurus", "start": "docusaurus start", - "build": "npm run regen-all-packages-docs && node .scripts/docusaurus-build.mjs 2>&1", + "build:skip": "npm run regen-all-packages-docs && node .scripts/docusaurus-build.mjs 2>&1", "swizzle": "docusaurus swizzle", "clear": "docusaurus clear", "clean": "docusaurus clear", @@ -18,7 +18,6 @@ "update-playground-versions": "node ./.scripts/update-playground-versions.mjs", "lint": "eslint . --max-warnings=0", "lint:fix": "eslint . --fix", - "regen-docs": "node ./.scripts/regen-compiler-docs.mjs", "regen-all-packages-docs": "pnpm -w --filter \"@typespec/website...\" --filter \"!@typespec/monorepo\" run regen-docs" }, "keywords": [], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ddbde42a7c..42aefa3e31 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2137,15 +2137,51 @@ importers: '@types/remark-heading-id': specifier: ^1.0.0 version: 1.0.0 + '@typespec/events': + specifier: workspace:~ + version: link:../packages/events + '@typespec/http': + specifier: workspace:~ + version: link:../packages/http '@typespec/internal-build-utils': specifier: workspace:~ version: link:../packages/internal-build-utils + '@typespec/json-schema': + specifier: workspace:~ + version: link:../packages/json-schema + '@typespec/openapi': + specifier: workspace:~ + version: link:../packages/openapi + '@typespec/openapi3': + specifier: workspace:~ + version: link:../packages/openapi3 '@typespec/playground-website': specifier: workspace:* version: link:../packages/playground-website - '@typespec/website': + '@typespec/protobuf': + specifier: workspace:~ + version: link:../packages/protobuf + '@typespec/rest': + specifier: workspace:~ + version: link:../packages/rest + '@typespec/spec': specifier: workspace:* - version: link:../packages/website + version: link:../packages/spec + '@typespec/sse': + specifier: workspace:~ + version: link:../packages/sse + '@typespec/streams': + specifier: workspace:~ + version: link:../packages/streams + '@typespec/tspd': + specifier: workspace:~ + version: link:../packages/tspd + '@typespec/versioning': + specifier: workspace:~ + version: link:../packages/versioning + '@typespec/xml': + specifier: workspace:~ + version: link:../packages/xml astro-expressive-code: specifier: ^0.37.0 version: 0.37.0(astro@4.16.5(@types/node@22.7.5)(rollup@4.24.0)(terser@5.34.1)(typescript@5.6.3)) diff --git a/website/.gitignore b/website/.gitignore index 03f16bd3c5..e1268bc51d 100644 --- a/website/.gitignore +++ b/website/.gitignore @@ -2,6 +2,4 @@ src/content/docs/docs/ src/content/docs/docs/next/ src/content/blog/ -src/assets/ -public/ diff --git a/packages/website/.scripts/regen-compiler-docs.mjs b/website/.scripts/regen-compiler-docs.ts similarity index 91% rename from packages/website/.scripts/regen-compiler-docs.mjs rename to website/.scripts/regen-compiler-docs.ts index 2833576bd4..4a26a2822a 100644 --- a/packages/website/.scripts/regen-compiler-docs.mjs +++ b/website/.scripts/regen-compiler-docs.ts @@ -1,5 +1,3 @@ -#!/usr/bin/env node -// @ts-check import { NodeHost, joinPaths, logDiagnostics } from "@typespec/compiler"; import { generateJsApiDocs, resolveLibraryRefDocsBase } from "@typespec/tspd/ref-doc"; import { @@ -13,7 +11,7 @@ import { writeFile } from "fs/promises"; import { dirname, join, resolve } from "path"; import { fileURLToPath } from "url"; -export const repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), "../../.."); +export const repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), "../.."); const diagnostics = new Map(); @@ -60,13 +58,14 @@ async function generateCompilerDocs() { namespaces: { include: ["TypeSpec"] }, }); assert(results, "Unexpected ref doc should have been resolved for compiler."); - /** @type {*} */ const [refDoc, diagnostics] = results; - const renderer = new CompilerDocusaurusRenderer(refDoc); + const renderer = new CompilerDocusaurusRenderer(refDoc as any); const decoratorContent = renderDecoratorFile(renderer, refDoc, { title: "Built-in Decorators" }); assert(decoratorContent, "Unexpected decorator file shouldn't be empty for compiler."); await writeFile(join(outputDir, "built-in-decorators.md"), decoratorContent); - const dataTypeContent = renderDataTypes(renderer, refDoc, { title: "Built-in Data types" }); + const dataTypeContent = renderDataTypes(renderer, refDoc as any, { + title: "Built-in Data types", + }); assert(dataTypeContent, "Unexpected data type file shouldn't be empty for compiler."); await writeFile(join(outputDir, "built-in-data-types.md"), dataTypeContent); diff --git a/packages/website/.scripts/update-playground-versions.mjs b/website/.scripts/update-playground-versions.ts similarity index 91% rename from packages/website/.scripts/update-playground-versions.mjs rename to website/.scripts/update-playground-versions.ts index c77cb3def2..a4ce47f131 100644 --- a/packages/website/.scripts/update-playground-versions.mjs +++ b/website/.scripts/update-playground-versions.ts @@ -12,7 +12,7 @@ console.log("Current versions:", current); async function getMajorMinorVersion() { const version = JSON.parse( - (await readFile(resolve(__dirname, "../../compiler/package.json"))).toString(), + (await readFile(resolve(__dirname, "../compiler/package.json"))).toString(), ).version; const [major, minor] = version.split("."); return `${major}.${minor}.x`; diff --git a/website/package.json b/website/package.json index ba99036e7b..8fd5bb5f16 100644 --- a/website/package.json +++ b/website/package.json @@ -4,14 +4,17 @@ "private": true, "version": "0.0.1", "scripts": { - "copy": "cp -r ../docs/. ./src/content/docs/docs && cp -r ../packages/website/static/. ./src/assets && cp -r ../packages/website/static/img/. ./public/img && cp ../packages/website/static/1ds-init.js ./public/1ds-init.js && cp -r ../blog/. ./src/content/blog", + "copy": "cp -r ../docs/. ./src/content/docs/docs && cp -r ../blog/. ./src/content/blog", "clean": "rimraf ./dist ./temp ./.astro", "dev": "astro dev", "start": "astro dev", "build": "tsx ./.scripts/build.ts", - "build:web": "pnpm copy && astro check --minimumFailingSeverity warning && astro build", + "build:web": "pnpm regen-all-packages-docs && pnpm copy && astro check --minimumFailingSeverity warning && astro build", "preview": "astro preview", - "astro": "astro" + "astro": "astro", + "update-playground-versions": "tsx ./.scripts/update-playground-versions.ts", + "regen-docs": "tsx ./.scripts/regen-compiler-docs.ts", + "regen-all-packages-docs": "pnpm -w --filter \"@typespec/website-astro...\" --filter \"!@typespec/monorepo\" run regen-docs" }, "imports": { "@theme/TabItem": "./src/components/docusaurus/tab-item.ts" @@ -45,9 +48,22 @@ "@types/react": "~18.3.11", "@types/react-dom": "~18.3.0", "@types/remark-heading-id": "^1.0.0", + "@typespec/compiler": "workspace:~", + "@typespec/events": "workspace:~", + "@typespec/http": "workspace:~", "@typespec/internal-build-utils": "workspace:~", + "@typespec/json-schema": "workspace:~", + "@typespec/openapi": "workspace:~", + "@typespec/openapi3": "workspace:~", "@typespec/playground-website": "workspace:*", - "@typespec/website": "workspace:*", + "@typespec/protobuf": "workspace:~", + "@typespec/rest": "workspace:~", + "@typespec/spec": "workspace:*", + "@typespec/sse": "workspace:~", + "@typespec/streams": "workspace:~", + "@typespec/tspd": "workspace:~", + "@typespec/versioning": "workspace:~", + "@typespec/xml": "workspace:~", "astro-expressive-code": "^0.37.0", "rehype-mermaid": "^3.0.0", "remark-heading-id": "^1.0.1", diff --git a/packages/website/static/1ds-init.js b/website/public/1ds-init.js similarity index 100% rename from packages/website/static/1ds-init.js rename to website/public/1ds-init.js diff --git a/packages/website/static/img/favicon.svg b/website/public/img/favicon.svg similarity index 100% rename from packages/website/static/img/favicon.svg rename to website/public/img/favicon.svg diff --git a/packages/website/static/img/fluent/book-pencil-d-standard-128x128.png b/website/public/img/fluent/book-pencil-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/book-pencil-d-standard-128x128.png rename to website/public/img/fluent/book-pencil-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/book-pencil-l-standard-128x128.png b/website/public/img/fluent/book-pencil-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/book-pencil-l-standard-128x128.png rename to website/public/img/fluent/book-pencil-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/chat-d-standard-128x128.png b/website/public/img/fluent/chat-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/chat-d-standard-128x128.png rename to website/public/img/fluent/chat-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/chat-l-standard-128x128.png b/website/public/img/fluent/chat-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/chat-l-standard-128x128.png rename to website/public/img/fluent/chat-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/checkmark-d-standard-128x128.png b/website/public/img/fluent/checkmark-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/checkmark-d-standard-128x128.png rename to website/public/img/fluent/checkmark-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/checkmark-l-standard-128x128.png b/website/public/img/fluent/checkmark-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/checkmark-l-standard-128x128.png rename to website/public/img/fluent/checkmark-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/data-trending-d-standard-128x128.png b/website/public/img/fluent/data-trending-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/data-trending-d-standard-128x128.png rename to website/public/img/fluent/data-trending-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/data-trending-l-standard-128x128.png b/website/public/img/fluent/data-trending-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/data-trending-l-standard-128x128.png rename to website/public/img/fluent/data-trending-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/design-d-standard-128x128.png b/website/public/img/fluent/design-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/design-d-standard-128x128.png rename to website/public/img/fluent/design-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/design-l-standard-128x128.png b/website/public/img/fluent/design-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/design-l-standard-128x128.png rename to website/public/img/fluent/design-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/design-layout-d-standard-128x128.png b/website/public/img/fluent/design-layout-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/design-layout-d-standard-128x128.png rename to website/public/img/fluent/design-layout-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/design-layout-l-standard-128x128.png b/website/public/img/fluent/design-layout-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/design-layout-l-standard-128x128.png rename to website/public/img/fluent/design-layout-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/devices-multiple-d-standard-128x128.png b/website/public/img/fluent/devices-multiple-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/devices-multiple-d-standard-128x128.png rename to website/public/img/fluent/devices-multiple-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/devices-multiple-l-standard-128x128.png b/website/public/img/fluent/devices-multiple-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/devices-multiple-l-standard-128x128.png rename to website/public/img/fluent/devices-multiple-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/document-add-d-standard-128x128.png b/website/public/img/fluent/document-add-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/document-add-d-standard-128x128.png rename to website/public/img/fluent/document-add-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/document-add-l-standard-128x128.png b/website/public/img/fluent/document-add-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/document-add-l-standard-128x128.png rename to website/public/img/fluent/document-add-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/document-cloud-d-standard-128x128.png b/website/public/img/fluent/document-cloud-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/document-cloud-d-standard-128x128.png rename to website/public/img/fluent/document-cloud-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/document-cloud-l-standard-128x128.png b/website/public/img/fluent/document-cloud-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/document-cloud-l-standard-128x128.png rename to website/public/img/fluent/document-cloud-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/editor-d-standard-128x128.png b/website/public/img/fluent/editor-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/editor-d-standard-128x128.png rename to website/public/img/fluent/editor-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/editor-l-standard-128x128.png b/website/public/img/fluent/editor-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/editor-l-standard-128x128.png rename to website/public/img/fluent/editor-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/eye-dev-d-standard-128x128.png b/website/public/img/fluent/eye-dev-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/eye-dev-d-standard-128x128.png rename to website/public/img/fluent/eye-dev-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/eye-dev-l-standard-128x128.png b/website/public/img/fluent/eye-dev-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/eye-dev-l-standard-128x128.png rename to website/public/img/fluent/eye-dev-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/firework-d-standard-128x128.png b/website/public/img/fluent/firework-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/firework-d-standard-128x128.png rename to website/public/img/fluent/firework-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/firework-l-standard-128x128.png b/website/public/img/fluent/firework-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/firework-l-standard-128x128.png rename to website/public/img/fluent/firework-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/people-shield-d-standard-128x128.png b/website/public/img/fluent/people-shield-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/people-shield-d-standard-128x128.png rename to website/public/img/fluent/people-shield-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/people-shield-l-standard-128x128.png b/website/public/img/fluent/people-shield-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/people-shield-l-standard-128x128.png rename to website/public/img/fluent/people-shield-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/shield-blue-d-standard-128x128.png b/website/public/img/fluent/shield-blue-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/shield-blue-d-standard-128x128.png rename to website/public/img/fluent/shield-blue-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/shield-blue-l-standard-128x128.png b/website/public/img/fluent/shield-blue-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/shield-blue-l-standard-128x128.png rename to website/public/img/fluent/shield-blue-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/shield-settings-d-standard-128x128.png b/website/public/img/fluent/shield-settings-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/shield-settings-d-standard-128x128.png rename to website/public/img/fluent/shield-settings-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/shield-settings-l-standard-128x128.png b/website/public/img/fluent/shield-settings-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/shield-settings-l-standard-128x128.png rename to website/public/img/fluent/shield-settings-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/tasks-d-standard-128x128.png b/website/public/img/fluent/tasks-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/tasks-d-standard-128x128.png rename to website/public/img/fluent/tasks-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/tasks-l-standard-128x128.png b/website/public/img/fluent/tasks-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/tasks-l-standard-128x128.png rename to website/public/img/fluent/tasks-l-standard-128x128.png diff --git a/packages/website/static/img/fluent/text-edit-d-standard-128x128.png b/website/public/img/fluent/text-edit-d-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/text-edit-d-standard-128x128.png rename to website/public/img/fluent/text-edit-d-standard-128x128.png diff --git a/packages/website/static/img/fluent/text-edit-l-standard-128x128.png b/website/public/img/fluent/text-edit-l-standard-128x128.png similarity index 100% rename from packages/website/static/img/fluent/text-edit-l-standard-128x128.png rename to website/public/img/fluent/text-edit-l-standard-128x128.png diff --git a/packages/website/static/img/illustrations/autocomplete.dark.png b/website/public/img/illustrations/autocomplete.dark.png similarity index 100% rename from packages/website/static/img/illustrations/autocomplete.dark.png rename to website/public/img/illustrations/autocomplete.dark.png diff --git a/packages/website/static/img/illustrations/autocomplete.light.png b/website/public/img/illustrations/autocomplete.light.png similarity index 100% rename from packages/website/static/img/illustrations/autocomplete.light.png rename to website/public/img/illustrations/autocomplete.light.png diff --git a/packages/website/static/img/illustrations/ide-hero.dark.png b/website/public/img/illustrations/ide-hero.dark.png similarity index 100% rename from packages/website/static/img/illustrations/ide-hero.dark.png rename to website/public/img/illustrations/ide-hero.dark.png diff --git a/packages/website/static/img/illustrations/ide-hero.light.png b/website/public/img/illustrations/ide-hero.light.png similarity index 100% rename from packages/website/static/img/illustrations/ide-hero.light.png rename to website/public/img/illustrations/ide-hero.light.png diff --git a/packages/website/static/img/illustrations/openapi3.png b/website/public/img/illustrations/openapi3.png similarity index 100% rename from packages/website/static/img/illustrations/openapi3.png rename to website/public/img/illustrations/openapi3.png diff --git a/packages/website/static/img/illustrations/overview-ide.dark.png b/website/public/img/illustrations/overview-ide.dark.png similarity index 100% rename from packages/website/static/img/illustrations/overview-ide.dark.png rename to website/public/img/illustrations/overview-ide.dark.png diff --git a/packages/website/static/img/illustrations/overview-ide.light.png b/website/public/img/illustrations/overview-ide.light.png similarity index 100% rename from packages/website/static/img/illustrations/overview-ide.light.png rename to website/public/img/illustrations/overview-ide.light.png diff --git a/packages/website/static/img/illustrations/refactor.mp4 b/website/public/img/illustrations/refactor.mp4 similarity index 100% rename from packages/website/static/img/illustrations/refactor.mp4 rename to website/public/img/illustrations/refactor.mp4 diff --git a/packages/website/static/img/illustrations/swagger-ui.png b/website/public/img/illustrations/swagger-ui.png similarity index 100% rename from packages/website/static/img/illustrations/swagger-ui.png rename to website/public/img/illustrations/swagger-ui.png diff --git a/packages/website/static/img/illustrations/warnings-and-errors.dark.png b/website/public/img/illustrations/warnings-and-errors.dark.png similarity index 100% rename from packages/website/static/img/illustrations/warnings-and-errors.dark.png rename to website/public/img/illustrations/warnings-and-errors.dark.png diff --git a/packages/website/static/img/illustrations/warnings-and-errors.light.png b/website/public/img/illustrations/warnings-and-errors.light.png similarity index 100% rename from packages/website/static/img/illustrations/warnings-and-errors.light.png rename to website/public/img/illustrations/warnings-and-errors.light.png diff --git a/packages/website/static/img/social.png b/website/public/img/social.png similarity index 100% rename from packages/website/static/img/social.png rename to website/public/img/social.png diff --git a/website/src/assets/img/favicon.svg b/website/src/assets/img/favicon.svg new file mode 100644 index 0000000000..27071d255e --- /dev/null +++ b/website/src/assets/img/favicon.svg @@ -0,0 +1,8 @@ + + + + + diff --git a/website/src/assets/img/social.png b/website/src/assets/img/social.png new file mode 100644 index 0000000000000000000000000000000000000000..2c17e664c5d4d5212e69974f8dbf80a07f330f81 GIT binary patch literal 4958 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 KtW}}m5b+;4Y}y|H literal 0 HcmV?d00001 diff --git a/packages/website/static/tsp-samples/data-validation/common-lib/common.tsp b/website/src/assets/tsp-samples/data-validation/common-lib/common.tsp similarity index 100% rename from packages/website/static/tsp-samples/data-validation/common-lib/common.tsp rename to website/src/assets/tsp-samples/data-validation/common-lib/common.tsp diff --git a/packages/website/static/tsp-samples/data-validation/common-lib/main.tsp b/website/src/assets/tsp-samples/data-validation/common-lib/main.tsp similarity index 100% rename from packages/website/static/tsp-samples/data-validation/common-lib/main.tsp rename to website/src/assets/tsp-samples/data-validation/common-lib/main.tsp diff --git a/packages/website/static/tsp-samples/data-validation/validation-decorators.tsp b/website/src/assets/tsp-samples/data-validation/validation-decorators.tsp similarity index 100% rename from packages/website/static/tsp-samples/data-validation/validation-decorators.tsp rename to website/src/assets/tsp-samples/data-validation/validation-decorators.tsp diff --git a/packages/website/static/tsp-samples/extensibility/custom-lib.ts b/website/src/assets/tsp-samples/extensibility/custom-lib.ts similarity index 100% rename from packages/website/static/tsp-samples/extensibility/custom-lib.ts rename to website/src/assets/tsp-samples/extensibility/custom-lib.ts diff --git a/packages/website/static/tsp-samples/extensibility/custom-lib.tsp b/website/src/assets/tsp-samples/extensibility/custom-lib.tsp similarity index 100% rename from packages/website/static/tsp-samples/extensibility/custom-lib.tsp rename to website/src/assets/tsp-samples/extensibility/custom-lib.tsp diff --git a/packages/website/static/tsp-samples/homepage/hero/http/main.tsp b/website/src/assets/tsp-samples/homepage/hero/http/main.tsp similarity index 100% rename from packages/website/static/tsp-samples/homepage/hero/http/main.tsp rename to website/src/assets/tsp-samples/homepage/hero/http/main.tsp diff --git a/packages/website/static/tsp-samples/homepage/hero/http/out/openapi.yaml b/website/src/assets/tsp-samples/homepage/hero/http/out/openapi.yaml similarity index 100% rename from packages/website/static/tsp-samples/homepage/hero/http/out/openapi.yaml rename to website/src/assets/tsp-samples/homepage/hero/http/out/openapi.yaml diff --git a/packages/website/static/tsp-samples/homepage/hero/http/tspconfig.yaml b/website/src/assets/tsp-samples/homepage/hero/http/tspconfig.yaml similarity index 100% rename from packages/website/static/tsp-samples/homepage/hero/http/tspconfig.yaml rename to website/src/assets/tsp-samples/homepage/hero/http/tspconfig.yaml diff --git a/packages/website/static/tsp-samples/homepage/hero/json-schema/main.tsp b/website/src/assets/tsp-samples/homepage/hero/json-schema/main.tsp similarity index 100% rename from packages/website/static/tsp-samples/homepage/hero/json-schema/main.tsp rename to website/src/assets/tsp-samples/homepage/hero/json-schema/main.tsp diff --git a/packages/website/static/tsp-samples/homepage/hero/json-schema/out/schema.yaml b/website/src/assets/tsp-samples/homepage/hero/json-schema/out/schema.yaml similarity index 100% rename from packages/website/static/tsp-samples/homepage/hero/json-schema/out/schema.yaml rename to website/src/assets/tsp-samples/homepage/hero/json-schema/out/schema.yaml diff --git a/packages/website/static/tsp-samples/homepage/hero/json-schema/tspconfig.yaml b/website/src/assets/tsp-samples/homepage/hero/json-schema/tspconfig.yaml similarity index 100% rename from packages/website/static/tsp-samples/homepage/hero/json-schema/tspconfig.yaml rename to website/src/assets/tsp-samples/homepage/hero/json-schema/tspconfig.yaml diff --git a/packages/website/static/tsp-samples/json-schema/extensions/main.tsp b/website/src/assets/tsp-samples/json-schema/extensions/main.tsp similarity index 100% rename from packages/website/static/tsp-samples/json-schema/extensions/main.tsp rename to website/src/assets/tsp-samples/json-schema/extensions/main.tsp diff --git a/packages/website/static/tsp-samples/json-schema/extensions/out/output.yaml b/website/src/assets/tsp-samples/json-schema/extensions/out/output.yaml similarity index 100% rename from packages/website/static/tsp-samples/json-schema/extensions/out/output.yaml rename to website/src/assets/tsp-samples/json-schema/extensions/out/output.yaml diff --git a/packages/website/static/tsp-samples/json-schema/extensions/tspconfig.yaml b/website/src/assets/tsp-samples/json-schema/extensions/tspconfig.yaml similarity index 100% rename from packages/website/static/tsp-samples/json-schema/extensions/tspconfig.yaml rename to website/src/assets/tsp-samples/json-schema/extensions/tspconfig.yaml diff --git a/packages/website/static/tsp-samples/json-schema/hero/main.tsp b/website/src/assets/tsp-samples/json-schema/hero/main.tsp similarity index 100% rename from packages/website/static/tsp-samples/json-schema/hero/main.tsp rename to website/src/assets/tsp-samples/json-schema/hero/main.tsp diff --git a/packages/website/static/tsp-samples/json-schema/hero/out/schema.yaml b/website/src/assets/tsp-samples/json-schema/hero/out/schema.yaml similarity index 100% rename from packages/website/static/tsp-samples/json-schema/hero/out/schema.yaml rename to website/src/assets/tsp-samples/json-schema/hero/out/schema.yaml diff --git a/packages/website/static/tsp-samples/json-schema/hero/tspconfig.yaml b/website/src/assets/tsp-samples/json-schema/hero/tspconfig.yaml similarity index 100% rename from packages/website/static/tsp-samples/json-schema/hero/tspconfig.yaml rename to website/src/assets/tsp-samples/json-schema/hero/tspconfig.yaml diff --git a/packages/website/static/tsp-samples/json-schema/multi-file/main.tsp b/website/src/assets/tsp-samples/json-schema/multi-file/main.tsp similarity index 100% rename from packages/website/static/tsp-samples/json-schema/multi-file/main.tsp rename to website/src/assets/tsp-samples/json-schema/multi-file/main.tsp diff --git a/packages/website/static/tsp-samples/json-schema/multi-file/out/Address.yaml b/website/src/assets/tsp-samples/json-schema/multi-file/out/Address.yaml similarity index 100% rename from packages/website/static/tsp-samples/json-schema/multi-file/out/Address.yaml rename to website/src/assets/tsp-samples/json-schema/multi-file/out/Address.yaml diff --git a/packages/website/static/tsp-samples/json-schema/multi-file/out/Car.yaml b/website/src/assets/tsp-samples/json-schema/multi-file/out/Car.yaml similarity index 100% rename from packages/website/static/tsp-samples/json-schema/multi-file/out/Car.yaml rename to website/src/assets/tsp-samples/json-schema/multi-file/out/Car.yaml diff --git a/packages/website/static/tsp-samples/json-schema/multi-file/out/Person.yaml b/website/src/assets/tsp-samples/json-schema/multi-file/out/Person.yaml similarity index 100% rename from packages/website/static/tsp-samples/json-schema/multi-file/out/Person.yaml rename to website/src/assets/tsp-samples/json-schema/multi-file/out/Person.yaml diff --git a/packages/website/static/tsp-samples/json-schema/multi-file/tspconfig.yaml b/website/src/assets/tsp-samples/json-schema/multi-file/tspconfig.yaml similarity index 100% rename from packages/website/static/tsp-samples/json-schema/multi-file/tspconfig.yaml rename to website/src/assets/tsp-samples/json-schema/multi-file/tspconfig.yaml diff --git a/packages/website/static/tsp-samples/openapi3/abstraction.tsp b/website/src/assets/tsp-samples/openapi3/abstraction.tsp similarity index 100% rename from packages/website/static/tsp-samples/openapi3/abstraction.tsp rename to website/src/assets/tsp-samples/openapi3/abstraction.tsp diff --git a/packages/website/static/tsp-samples/openapi3/hero/main.tsp b/website/src/assets/tsp-samples/openapi3/hero/main.tsp similarity index 100% rename from packages/website/static/tsp-samples/openapi3/hero/main.tsp rename to website/src/assets/tsp-samples/openapi3/hero/main.tsp diff --git a/packages/website/static/tsp-samples/openapi3/hero/out/openapi.yaml b/website/src/assets/tsp-samples/openapi3/hero/out/openapi.yaml similarity index 100% rename from packages/website/static/tsp-samples/openapi3/hero/out/openapi.yaml rename to website/src/assets/tsp-samples/openapi3/hero/out/openapi.yaml diff --git a/packages/website/static/tsp-samples/openapi3/hero/tspconfig.yaml b/website/src/assets/tsp-samples/openapi3/hero/tspconfig.yaml similarity index 100% rename from packages/website/static/tsp-samples/openapi3/hero/tspconfig.yaml rename to website/src/assets/tsp-samples/openapi3/hero/tspconfig.yaml diff --git a/packages/website/static/tsp-samples/openapi3/interoperate/.spectral.yaml b/website/src/assets/tsp-samples/openapi3/interoperate/.spectral.yaml similarity index 100% rename from packages/website/static/tsp-samples/openapi3/interoperate/.spectral.yaml rename to website/src/assets/tsp-samples/openapi3/interoperate/.spectral.yaml diff --git a/packages/website/static/tsp-samples/openapi3/interoperate/main.tsp b/website/src/assets/tsp-samples/openapi3/interoperate/main.tsp similarity index 100% rename from packages/website/static/tsp-samples/openapi3/interoperate/main.tsp rename to website/src/assets/tsp-samples/openapi3/interoperate/main.tsp diff --git a/packages/website/static/tsp-samples/openapi3/interoperate/openapi.yaml b/website/src/assets/tsp-samples/openapi3/interoperate/openapi.yaml similarity index 100% rename from packages/website/static/tsp-samples/openapi3/interoperate/openapi.yaml rename to website/src/assets/tsp-samples/openapi3/interoperate/openapi.yaml diff --git a/packages/website/static/tsp-samples/openapi3/interoperate/spectral.txt b/website/src/assets/tsp-samples/openapi3/interoperate/spectral.txt similarity index 100% rename from packages/website/static/tsp-samples/openapi3/interoperate/spectral.txt rename to website/src/assets/tsp-samples/openapi3/interoperate/spectral.txt diff --git a/packages/website/static/tsp-samples/protobuf/hero/main.tsp b/website/src/assets/tsp-samples/protobuf/hero/main.tsp similarity index 100% rename from packages/website/static/tsp-samples/protobuf/hero/main.tsp rename to website/src/assets/tsp-samples/protobuf/hero/main.tsp diff --git a/packages/website/static/tsp-samples/protobuf/hero/out/addressbook.proto b/website/src/assets/tsp-samples/protobuf/hero/out/addressbook.proto similarity index 100% rename from packages/website/static/tsp-samples/protobuf/hero/out/addressbook.proto rename to website/src/assets/tsp-samples/protobuf/hero/out/addressbook.proto diff --git a/packages/website/static/tsp-samples/protobuf/hero/tspconfig.yaml b/website/src/assets/tsp-samples/protobuf/hero/tspconfig.yaml similarity index 100% rename from packages/website/static/tsp-samples/protobuf/hero/tspconfig.yaml rename to website/src/assets/tsp-samples/protobuf/hero/tspconfig.yaml diff --git a/packages/website/static/tsp-samples/tooling/formatter/file.noformat.tsp b/website/src/assets/tsp-samples/tooling/formatter/file.noformat.tsp similarity index 100% rename from packages/website/static/tsp-samples/tooling/formatter/file.noformat.tsp rename to website/src/assets/tsp-samples/tooling/formatter/file.noformat.tsp diff --git a/packages/website/static/tsp-samples/tooling/formatter/formatted.tsp b/website/src/assets/tsp-samples/tooling/formatter/formatted.tsp similarity index 100% rename from packages/website/static/tsp-samples/tooling/formatter/formatted.tsp rename to website/src/assets/tsp-samples/tooling/formatter/formatted.tsp diff --git a/website/src/components/footer/footer.astro b/website/src/components/footer/footer.astro index ad094c524b..2b3fa14dc0 100644 --- a/website/src/components/footer/footer.astro +++ b/website/src/components/footer/footer.astro @@ -128,7 +128,7 @@ const { class: className } = Astro.props; Microsoft -
© ${new Date().getFullYear()} Microsoft
+
© {new Date().getFullYear()} Microsoft