From d99d31bc3414a1d67d3607b2a74aaefdf948d487 Mon Sep 17 00:00:00 2001 From: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com> Date: Thu, 28 May 2026 23:48:04 +0000 Subject: [PATCH 1/9] refactor: Rename "docs" dir to "website" --- .github/labeler-areas.yml | 8 +++-- .github/workflows/website-validation.yml | 20 +++++------ .gitignore | 2 +- .prettierignore | 16 ++++----- fluidBuild.config.cjs | 12 +++---- package.json | 4 +-- tools/pipelines/build-docs.yml | 30 ++++++++-------- tools/pipelines/deploy-website.yml | 34 +++++++++--------- {docs => website}/.env.template | 0 {docs => website}/.eslintignore | 0 {docs => website}/.eslintrc.cjs | 0 {docs => website}/.gitignore | 0 {docs => website}/.npmrc | 0 {docs => website}/.vscode/extensions.json | 0 {docs => website}/.vscode/settings.json | 0 {docs => website}/README.md | 0 {docs => website}/api/LICENSE | 0 {docs => website}/api/README.md | 0 {docs => website}/api/fallback/function.json | 0 {docs => website}/api/fallback/index.js | 0 {docs => website}/api/fallback/routes.js | 0 {docs => website}/api/host.json | 0 {docs => website}/api/package.json | 0 {docs => website}/config/docs-versions.mjs | 0 {docs => website}/docs/api/index.mdx | 0 {docs => website}/docs/build/audience.mdx | 0 {docs => website}/docs/build/auth.mdx | 0 {docs => website}/docs/build/bundlers.mdx | 0 .../docs/build/container-states-events.mdx | 0 {docs => website}/docs/build/containers.mdx | 0 .../docs/build/data-modeling.mdx | 0 {docs => website}/docs/build/dds.mdx | 0 .../docs/build/experimental-features.mdx | 0 .../docs/build/images/ConnectionStates.svg | 0 .../build/images/LocalReadinessStates.svg | 0 .../docs/build/images/PublicationStates.svg | 0 .../build/images/SynchronizationStates.svg | 0 {docs => website}/docs/build/overview.mdx | 0 {docs => website}/docs/build/packages.mdx | 0 {docs => website}/docs/build/presence.mdx | 0 .../docs/build/releases-and-apitags.mdx | 0 .../docs/build/tokenproviders.mdx | 0 .../docs/concepts/architecture.mdx | 0 {docs => website}/docs/concepts/handles.mdx | 0 {docs => website}/docs/concepts/signals.mdx | 0 {docs => website}/docs/concepts/summarizer.md | 0 {docs => website}/docs/concepts/tob.mdx | 0 .../docs/data-structures/map.mdx | 0 .../docs/data-structures/overview.mdx | 0 .../docs/data-structures/sequences.md | 0 .../docs/data-structures/string.md | 0 .../docs/data-structures/tree/events.mdx | 0 .../tree/incremental-summary.mdx | 0 .../docs/data-structures/tree/index.mdx | 0 .../docs/data-structures/tree/node-types.mdx | 0 .../docs/data-structures/tree/nodes.mdx | 0 .../tree/reading-and-editing.mdx | 0 .../tree/recommended-init-flow.mdx | 0 .../default-field-values.mdx | 0 .../tree/schema-definition/index.mdx | 0 .../allowed-types-rollout.mdx | 0 .../tree/schema-evolution/index.mdx | 0 .../schema-evolution/types-of-changes.mdx | 0 .../data-structures/tree/transactions.mdx | 0 .../docs/data-structures/tree/undo-redo.mdx | 0 .../docs/deployment/azure-fluid-relay.mdx | 0 .../docs/deployment/service-options.mdx | 0 .../docs/deployment/sharepoint-embedded.mdx | 0 {docs => website}/docs/deployment/teams.mdx | 0 {docs => website}/docs/faq.mdx | 0 {docs => website}/docs/glossary.mdx | 0 {docs => website}/docs/index.mdx | 0 {docs => website}/docs/migration.mdx | 0 {docs => website}/docs/start/examples.mdx | 0 .../docs/start/images/shared-tree-demo.png | Bin {docs => website}/docs/start/quick-start.mdx | 0 {docs => website}/docs/start/tree-start.mdx | 0 {docs => website}/docs/start/tutorial.mdx | 0 {docs => website}/docs/testing/devtools.mdx | 0 {docs => website}/docs/testing/telemetry.mdx | 0 {docs => website}/docs/testing/testing.mdx | 0 .../docs/testing/tinylicious.mdx | 0 .../docs/testing/typed-telemetry.mdx | 0 {docs => website}/docusaurus.config.ts | 0 .../api-markdown-documenter/admonition.mjs | 0 .../api-documentation-layout.mjs | 0 .../infra/api-markdown-documenter/index.mjs | 0 .../render-api-documentation.mjs | 0 .../infra/clean-api-documentation.mjs | 0 {docs => website}/infra/clean-ignored.mjs | 0 .../infra/download-doc-models.mjs | 0 .../infra/generate-api-documentation.mjs | 0 {docs => website}/infra/generate-versions.mjs | 0 {docs => website}/package.json | 4 +-- {docs => website}/playwright.config.ts | 0 {docs => website}/pnpm-lock.yaml | 0 {docs => website}/pnpm-workspace.yaml | 0 {docs => website}/prettier.config.cjs | 0 {docs => website}/sidebars.ts | 0 {docs => website}/skipped-urls.txt | 0 {docs => website}/src/appInsights.ts | 0 {docs => website}/src/components/card.tsx | 0 .../src/components/community.tsx | 0 .../src/components/home/banner.tsx | 0 .../src/components/home/homepage.tsx | 0 .../src/components/home/howItWorksSection.tsx | 0 .../src/components/home/index.tsx | 0 .../src/components/home/keyFeatureCard.tsx | 0 .../components/home/keyFeaturesSection.tsx | 0 .../src/components/home/pageSection.tsx | 0 .../src/components/home/partnersSection.tsx | 0 .../src/components/home/sectionHeader.tsx | 0 .../src/components/home/serviceSection.tsx | 0 .../src/components/legacyDiceRollerSample.tsx | 0 .../src/components/mockDiceRoller.tsx | 0 .../src/components/shortLinks.tsx | 0 .../src/components/youtubeVideo.tsx | 0 {docs => website}/src/css/card.css | 0 {docs => website}/src/css/community.css | 0 {docs => website}/src/css/custom.scss | 0 {docs => website}/src/css/footer.css | 0 {docs => website}/src/css/home/banner.css | 0 {docs => website}/src/css/home/homepage.css | 0 .../src/css/home/howItWorksSection.css | 0 .../src/css/home/keyFeatureCard.css | 0 .../src/css/home/keyFeaturesSection.css | 0 .../src/css/home/pageSection.css | 0 .../src/css/home/partnersSection.css | 0 .../src/css/home/sectionHeader.css | 0 .../src/css/home/serviceSection.css | 0 .../src/css/legacyDiceRollerSample.css | 0 {docs => website}/src/css/mockDiceRoller.css | 0 {docs => website}/src/css/notFound.css | 0 {docs => website}/src/css/typography.scss | 0 {docs => website}/src/pages/browsers.mdx | 0 {docs => website}/src/pages/community.mdx | 0 {docs => website}/src/pages/index.tsx | 0 {docs => website}/src/pages/node-versions.mdx | 0 {docs => website}/src/pages/support.mdx | 0 .../src/theme/Footer/Logo/index.tsx | 0 .../src/theme/Footer/Logo/styles.module.css | 0 {docs => website}/src/theme/Footer/index.tsx | 0 .../DocsVersionDropdownNavbarItem.tsx | 0 {docs => website}/src/theme/NotFound.tsx | 0 {docs => website}/src/theme/Root.tsx | 0 {docs => website}/static/.nojekyll | 0 .../static/assets/community/discussion.svg | 0 .../static/assets/community/report-issues.svg | 0 .../static/assets/fluid-icon.svg | 0 .../static/assets/search-icon-dark.svg | 0 .../static/assets/search-icon-light.svg | 0 .../static/dompurify/purify.min.js | 0 .../static/staticwebapp.config.json | 0 .../static/trusted-types-policy.js | 0 {docs => website}/swa-cli.config.json | 0 .../test/site-tests/Homepage.spec.ts | 0 {docs => website}/test/site-tests/Nav.spec.ts | 0 {docs => website}/test/tsconfig.json | 0 {docs => website}/tsconfig.json | 0 {docs => website}/validateHashes.sh | 0 .../version-1/api/fluid-framework.mdx | 0 .../versioned_docs/version-1/api/index.mdx | 0 .../version-1/build/audience.mdx | 0 .../versioned_docs/version-1/build/auth.mdx | 0 .../version-1/build/bundlers.mdx | 0 .../build/container-states-events.mdx | 0 .../version-1/build/containers.mdx | 0 .../version-1/build/data-modeling.mdx | 0 .../versioned_docs/version-1/build/dds.mdx | 0 .../build/images/ConnectionStates.svg | 0 .../build/images/LocalReadinessStates.svg | 0 .../build/images/PublicationStates.svg | 0 .../build/images/SynchronizationStates.svg | 0 .../version-1/build/overview.mdx | 0 .../version-1/build/packages.mdx | 0 .../version-1/build/tokenproviders.mdx | 0 .../version-1/concepts/architecture.mdx | 0 .../version-1/concepts/handles.mdx | 0 .../version-1/concepts/signals.mdx | 0 .../version-1/concepts/summarizer.md | 0 .../versioned_docs/version-1/concepts/tob.mdx | 0 .../version-1/data-structures/counter.md | 0 .../version-1/data-structures/map.mdx | 0 .../version-1/data-structures/overview.mdx | 0 .../version-1/data-structures/sequences.md | 0 .../version-1/data-structures/string.md | 0 .../deployment/azure-fluid-relay.mdx | 0 .../version-1/deployment/service-options.mdx | 0 .../version-1/deployment/teams.mdx | 0 .../versioned_docs/version-1/faq.mdx | 0 .../versioned_docs/version-1/glossary.mdx | 0 .../versioned_docs/version-1/index.mdx | 0 .../version-1/release-notes.mdx | 0 .../version-1/start/examples.mdx | 0 .../start/images/shared-tree-demo.png | Bin .../version-1/start/quick-start.mdx | 0 .../version-1/start/tutorial.mdx | 0 .../version-1/testing/telemetry.mdx | 0 .../version-1/testing/testing.mdx | 0 .../version-1/testing/tinylicious.mdx | 0 .../version-1/testing/typed-telemetry.mdx | 0 .../version-local/api/index.mdx | 0 .../versioned_docs/version-local/index.mdx | 0 .../version-1-sidebars.json | 0 .../version-local-sidebars.json | 0 205 files changed, 66 insertions(+), 64 deletions(-) rename {docs => website}/.env.template (100%) rename {docs => website}/.eslintignore (100%) rename {docs => website}/.eslintrc.cjs (100%) rename {docs => website}/.gitignore (100%) rename {docs => website}/.npmrc (100%) rename {docs => website}/.vscode/extensions.json (100%) rename {docs => website}/.vscode/settings.json (100%) rename {docs => website}/README.md (100%) rename {docs => website}/api/LICENSE (100%) rename {docs => website}/api/README.md (100%) rename {docs => website}/api/fallback/function.json (100%) rename {docs => website}/api/fallback/index.js (100%) rename {docs => website}/api/fallback/routes.js (100%) rename {docs => website}/api/host.json (100%) rename {docs => website}/api/package.json (100%) rename {docs => website}/config/docs-versions.mjs (100%) rename {docs => website}/docs/api/index.mdx (100%) rename {docs => website}/docs/build/audience.mdx (100%) rename {docs => website}/docs/build/auth.mdx (100%) rename {docs => website}/docs/build/bundlers.mdx (100%) rename {docs => website}/docs/build/container-states-events.mdx (100%) rename {docs => website}/docs/build/containers.mdx (100%) rename {docs => website}/docs/build/data-modeling.mdx (100%) rename {docs => website}/docs/build/dds.mdx (100%) rename {docs => website}/docs/build/experimental-features.mdx (100%) rename {docs => website}/docs/build/images/ConnectionStates.svg (100%) rename {docs => website}/docs/build/images/LocalReadinessStates.svg (100%) rename {docs => website}/docs/build/images/PublicationStates.svg (100%) rename {docs => website}/docs/build/images/SynchronizationStates.svg (100%) rename {docs => website}/docs/build/overview.mdx (100%) rename {docs => website}/docs/build/packages.mdx (100%) rename {docs => website}/docs/build/presence.mdx (100%) rename {docs => website}/docs/build/releases-and-apitags.mdx (100%) rename {docs => website}/docs/build/tokenproviders.mdx (100%) rename {docs => website}/docs/concepts/architecture.mdx (100%) rename {docs => website}/docs/concepts/handles.mdx (100%) rename {docs => website}/docs/concepts/signals.mdx (100%) rename {docs => website}/docs/concepts/summarizer.md (100%) rename {docs => website}/docs/concepts/tob.mdx (100%) rename {docs => website}/docs/data-structures/map.mdx (100%) rename {docs => website}/docs/data-structures/overview.mdx (100%) rename {docs => website}/docs/data-structures/sequences.md (100%) rename {docs => website}/docs/data-structures/string.md (100%) rename {docs => website}/docs/data-structures/tree/events.mdx (100%) rename {docs => website}/docs/data-structures/tree/incremental-summary.mdx (100%) rename {docs => website}/docs/data-structures/tree/index.mdx (100%) rename {docs => website}/docs/data-structures/tree/node-types.mdx (100%) rename {docs => website}/docs/data-structures/tree/nodes.mdx (100%) rename {docs => website}/docs/data-structures/tree/reading-and-editing.mdx (100%) rename {docs => website}/docs/data-structures/tree/recommended-init-flow.mdx (100%) rename {docs => website}/docs/data-structures/tree/schema-definition/default-field-values.mdx (100%) rename {docs => website}/docs/data-structures/tree/schema-definition/index.mdx (100%) rename {docs => website}/docs/data-structures/tree/schema-evolution/allowed-types-rollout.mdx (100%) rename {docs => website}/docs/data-structures/tree/schema-evolution/index.mdx (100%) rename {docs => website}/docs/data-structures/tree/schema-evolution/types-of-changes.mdx (100%) rename {docs => website}/docs/data-structures/tree/transactions.mdx (100%) rename {docs => website}/docs/data-structures/tree/undo-redo.mdx (100%) rename {docs => website}/docs/deployment/azure-fluid-relay.mdx (100%) rename {docs => website}/docs/deployment/service-options.mdx (100%) rename {docs => website}/docs/deployment/sharepoint-embedded.mdx (100%) rename {docs => website}/docs/deployment/teams.mdx (100%) rename {docs => website}/docs/faq.mdx (100%) rename {docs => website}/docs/glossary.mdx (100%) rename {docs => website}/docs/index.mdx (100%) rename {docs => website}/docs/migration.mdx (100%) rename {docs => website}/docs/start/examples.mdx (100%) rename {docs => website}/docs/start/images/shared-tree-demo.png (100%) rename {docs => website}/docs/start/quick-start.mdx (100%) rename {docs => website}/docs/start/tree-start.mdx (100%) rename {docs => website}/docs/start/tutorial.mdx (100%) rename {docs => website}/docs/testing/devtools.mdx (100%) rename {docs => website}/docs/testing/telemetry.mdx (100%) rename {docs => website}/docs/testing/testing.mdx (100%) rename {docs => website}/docs/testing/tinylicious.mdx (100%) rename {docs => website}/docs/testing/typed-telemetry.mdx (100%) rename {docs => website}/docusaurus.config.ts (100%) rename {docs => website}/infra/api-markdown-documenter/admonition.mjs (100%) rename {docs => website}/infra/api-markdown-documenter/api-documentation-layout.mjs (100%) rename {docs => website}/infra/api-markdown-documenter/index.mjs (100%) rename {docs => website}/infra/api-markdown-documenter/render-api-documentation.mjs (100%) rename {docs => website}/infra/clean-api-documentation.mjs (100%) rename {docs => website}/infra/clean-ignored.mjs (100%) rename {docs => website}/infra/download-doc-models.mjs (100%) rename {docs => website}/infra/generate-api-documentation.mjs (100%) rename {docs => website}/infra/generate-versions.mjs (100%) rename {docs => website}/package.json (99%) rename {docs => website}/playwright.config.ts (100%) rename {docs => website}/pnpm-lock.yaml (100%) rename {docs => website}/pnpm-workspace.yaml (100%) rename {docs => website}/prettier.config.cjs (100%) rename {docs => website}/sidebars.ts (100%) rename {docs => website}/skipped-urls.txt (100%) rename {docs => website}/src/appInsights.ts (100%) rename {docs => website}/src/components/card.tsx (100%) rename {docs => website}/src/components/community.tsx (100%) rename {docs => website}/src/components/home/banner.tsx (100%) rename {docs => website}/src/components/home/homepage.tsx (100%) rename {docs => website}/src/components/home/howItWorksSection.tsx (100%) rename {docs => website}/src/components/home/index.tsx (100%) rename {docs => website}/src/components/home/keyFeatureCard.tsx (100%) rename {docs => website}/src/components/home/keyFeaturesSection.tsx (100%) rename {docs => website}/src/components/home/pageSection.tsx (100%) rename {docs => website}/src/components/home/partnersSection.tsx (100%) rename {docs => website}/src/components/home/sectionHeader.tsx (100%) rename {docs => website}/src/components/home/serviceSection.tsx (100%) rename {docs => website}/src/components/legacyDiceRollerSample.tsx (100%) rename {docs => website}/src/components/mockDiceRoller.tsx (100%) rename {docs => website}/src/components/shortLinks.tsx (100%) rename {docs => website}/src/components/youtubeVideo.tsx (100%) rename {docs => website}/src/css/card.css (100%) rename {docs => website}/src/css/community.css (100%) rename {docs => website}/src/css/custom.scss (100%) rename {docs => website}/src/css/footer.css (100%) rename {docs => website}/src/css/home/banner.css (100%) rename {docs => website}/src/css/home/homepage.css (100%) rename {docs => website}/src/css/home/howItWorksSection.css (100%) rename {docs => website}/src/css/home/keyFeatureCard.css (100%) rename {docs => website}/src/css/home/keyFeaturesSection.css (100%) rename {docs => website}/src/css/home/pageSection.css (100%) rename {docs => website}/src/css/home/partnersSection.css (100%) rename {docs => website}/src/css/home/sectionHeader.css (100%) rename {docs => website}/src/css/home/serviceSection.css (100%) rename {docs => website}/src/css/legacyDiceRollerSample.css (100%) rename {docs => website}/src/css/mockDiceRoller.css (100%) rename {docs => website}/src/css/notFound.css (100%) rename {docs => website}/src/css/typography.scss (100%) rename {docs => website}/src/pages/browsers.mdx (100%) rename {docs => website}/src/pages/community.mdx (100%) rename {docs => website}/src/pages/index.tsx (100%) rename {docs => website}/src/pages/node-versions.mdx (100%) rename {docs => website}/src/pages/support.mdx (100%) rename {docs => website}/src/theme/Footer/Logo/index.tsx (100%) rename {docs => website}/src/theme/Footer/Logo/styles.module.css (100%) rename {docs => website}/src/theme/Footer/index.tsx (100%) rename {docs => website}/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx (100%) rename {docs => website}/src/theme/NotFound.tsx (100%) rename {docs => website}/src/theme/Root.tsx (100%) rename {docs => website}/static/.nojekyll (100%) rename {docs => website}/static/assets/community/discussion.svg (100%) rename {docs => website}/static/assets/community/report-issues.svg (100%) rename {docs => website}/static/assets/fluid-icon.svg (100%) rename {docs => website}/static/assets/search-icon-dark.svg (100%) rename {docs => website}/static/assets/search-icon-light.svg (100%) rename {docs => website}/static/dompurify/purify.min.js (100%) rename {docs => website}/static/staticwebapp.config.json (100%) rename {docs => website}/static/trusted-types-policy.js (100%) rename {docs => website}/swa-cli.config.json (100%) rename {docs => website}/test/site-tests/Homepage.spec.ts (100%) rename {docs => website}/test/site-tests/Nav.spec.ts (100%) rename {docs => website}/test/tsconfig.json (100%) rename {docs => website}/tsconfig.json (100%) rename {docs => website}/validateHashes.sh (100%) rename {docs => website}/versioned_docs/version-1/api/fluid-framework.mdx (100%) rename {docs => website}/versioned_docs/version-1/api/index.mdx (100%) rename {docs => website}/versioned_docs/version-1/build/audience.mdx (100%) rename {docs => website}/versioned_docs/version-1/build/auth.mdx (100%) rename {docs => website}/versioned_docs/version-1/build/bundlers.mdx (100%) rename {docs => website}/versioned_docs/version-1/build/container-states-events.mdx (100%) rename {docs => website}/versioned_docs/version-1/build/containers.mdx (100%) rename {docs => website}/versioned_docs/version-1/build/data-modeling.mdx (100%) rename {docs => website}/versioned_docs/version-1/build/dds.mdx (100%) rename {docs => website}/versioned_docs/version-1/build/images/ConnectionStates.svg (100%) rename {docs => website}/versioned_docs/version-1/build/images/LocalReadinessStates.svg (100%) rename {docs => website}/versioned_docs/version-1/build/images/PublicationStates.svg (100%) rename {docs => website}/versioned_docs/version-1/build/images/SynchronizationStates.svg (100%) rename {docs => website}/versioned_docs/version-1/build/overview.mdx (100%) rename {docs => website}/versioned_docs/version-1/build/packages.mdx (100%) rename {docs => website}/versioned_docs/version-1/build/tokenproviders.mdx (100%) rename {docs => website}/versioned_docs/version-1/concepts/architecture.mdx (100%) rename {docs => website}/versioned_docs/version-1/concepts/handles.mdx (100%) rename {docs => website}/versioned_docs/version-1/concepts/signals.mdx (100%) rename {docs => website}/versioned_docs/version-1/concepts/summarizer.md (100%) rename {docs => website}/versioned_docs/version-1/concepts/tob.mdx (100%) rename {docs => website}/versioned_docs/version-1/data-structures/counter.md (100%) rename {docs => website}/versioned_docs/version-1/data-structures/map.mdx (100%) rename {docs => website}/versioned_docs/version-1/data-structures/overview.mdx (100%) rename {docs => website}/versioned_docs/version-1/data-structures/sequences.md (100%) rename {docs => website}/versioned_docs/version-1/data-structures/string.md (100%) rename {docs => website}/versioned_docs/version-1/deployment/azure-fluid-relay.mdx (100%) rename {docs => website}/versioned_docs/version-1/deployment/service-options.mdx (100%) rename {docs => website}/versioned_docs/version-1/deployment/teams.mdx (100%) rename {docs => website}/versioned_docs/version-1/faq.mdx (100%) rename {docs => website}/versioned_docs/version-1/glossary.mdx (100%) rename {docs => website}/versioned_docs/version-1/index.mdx (100%) rename {docs => website}/versioned_docs/version-1/release-notes.mdx (100%) rename {docs => website}/versioned_docs/version-1/start/examples.mdx (100%) rename {docs => website}/versioned_docs/version-1/start/images/shared-tree-demo.png (100%) rename {docs => website}/versioned_docs/version-1/start/quick-start.mdx (100%) rename {docs => website}/versioned_docs/version-1/start/tutorial.mdx (100%) rename {docs => website}/versioned_docs/version-1/testing/telemetry.mdx (100%) rename {docs => website}/versioned_docs/version-1/testing/testing.mdx (100%) rename {docs => website}/versioned_docs/version-1/testing/tinylicious.mdx (100%) rename {docs => website}/versioned_docs/version-1/testing/typed-telemetry.mdx (100%) rename {docs => website}/versioned_docs/version-local/api/index.mdx (100%) rename {docs => website}/versioned_docs/version-local/index.mdx (100%) rename {docs => website}/versioned_sidebars/version-1-sidebars.json (100%) rename {docs => website}/versioned_sidebars/version-local-sidebars.json (100%) diff --git a/.github/labeler-areas.yml b/.github/labeler-areas.yml index 2f8ec3fcec36..0c5072e38220 100644 --- a/.github/labeler-areas.yml +++ b/.github/labeler-areas.yml @@ -103,8 +103,8 @@ "area: website": changed-files: - any-glob-to-any-file: - - docs/** - - "!docs/content/**" + - website/** + - "!website/docs/**" "breaking change": changed-files: @@ -124,7 +124,9 @@ dependencies: documentation: changed-files: - - any-glob-to-any-file: docs/content/** + - any-glob-to-any-file: + - website/docs/** + - website/src/** # flag changes to public APIs so they can be reviewed to see if they're breaking "public api change": diff --git a/.github/workflows/website-validation.yml b/.github/workflows/website-validation.yml index 1f890abf8b65..001215a39ca9 100644 --- a/.github/workflows/website-validation.yml +++ b/.github/workflows/website-validation.yml @@ -3,7 +3,7 @@ on: pull_request: types: [opened, synchronize, reopened] paths: - - "docs/**" + - "website/**" - "*.md" - "**/*.md" - "!.changeset/**" @@ -13,7 +13,7 @@ on: defaults: run: - working-directory: ./docs + working-directory: ./website permissions: contents: read @@ -39,7 +39,7 @@ jobs: with: node-version: "22" cache: "pnpm" - cache-dependency-path: docs/pnpm-lock.yaml + cache-dependency-path: website/pnpm-lock.yaml - name: Build site artifact run: | pnpm i --frozen-lockfile @@ -52,7 +52,7 @@ jobs: uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # ratchet:actions/upload-artifact@v7 with: name: fluidframework-site - path: docs/build + path: website/build retention-days: 3 # Run linter checks against the website content and infrastructure. @@ -73,7 +73,7 @@ jobs: with: node-version: "22" cache: "pnpm" - cache-dependency-path: docs/pnpm-lock.yaml + cache-dependency-path: website/pnpm-lock.yaml - name: pnpm lint run: | pnpm i --frozen-lockfile @@ -98,14 +98,14 @@ jobs: with: node-version: "22" cache: "pnpm" - cache-dependency-path: docs/pnpm-lock.yaml + cache-dependency-path: website/pnpm-lock.yaml - name: Download site artifact # release notes: https://github.com/actions/download-artifact/releases/tag/v6.0.0 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # ratchet:actions/download-artifact@v8 with: name: fluidframework-site - path: docs/build + path: website/build - name: Install dependencies run: "pnpm i --frozen-lockfile" - name: Run tests @@ -131,7 +131,7 @@ jobs: with: node-version: "22" cache: "pnpm" - cache-dependency-path: docs/pnpm-lock.yaml + cache-dependency-path: website/pnpm-lock.yaml - name: Create results folder run: mkdir -p ./results @@ -140,7 +140,7 @@ jobs: uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # ratchet:actions/download-artifact@v8 with: name: fluidframework-site - path: docs/build + path: website/build - name: Install dependencies run: "pnpm i --frozen-lockfile" - name: Check for broken links @@ -163,5 +163,5 @@ jobs: uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # ratchet:actions/upload-artifact@v7 with: name: website-validation-results - path: ./docs/results + path: ./website/results retention-days: 3 diff --git a/.gitignore b/.gitignore index bcf8b0388096..c02d0dfc4723 100644 --- a/.gitignore +++ b/.gitignore @@ -43,7 +43,7 @@ bundleAnalyzerJson # Misc pipeline artifacts artifacts -docs/resources/_gen/ +website/resources/_gen/ # PNPM store (when mounting host file system in docker container) .pnpm-store/ diff --git a/.prettierignore b/.prettierignore index 8edf4678fad4..fa39da1cd9bf 100644 --- a/.prettierignore +++ b/.prettierignore @@ -86,18 +86,18 @@ packages/runtime/test-runtime-utils/src/assertionShortCodesMap.ts # Prettier does not yet support mdx v3. # See -docs/**/*.mdx +website/**/*.mdx # Generated -docs/.doc-models -docs/.docusaurus -docs/build -docs/versions.json -docs/docs/api/* -docs/versioned_docs/*/api/* +website/.doc-models +website/.docusaurus +website/build +website/versions.json +website/docs/api/* +website/versioned_docs/*/api/* # Formatting gets clobbered by swa -docs/swa-cli.config.json +website/swa-cli.config.json # This is a test file tools/markdown-magic/test/include.md diff --git a/fluidBuild.config.cjs b/fluidBuild.config.cjs index c547abb3bd08..486f031fd3ca 100644 --- a/fluidBuild.config.cjs +++ b/fluidBuild.config.cjs @@ -347,7 +347,7 @@ module.exports = { "tools/markdown-magic/test/package.json", // Not a real package - "docs/api/", + "website/api/", // Source to output package.json files - not real packages // These should only be files that are not in an pnpm workspace. @@ -390,7 +390,7 @@ module.exports = { "server/routerlicious/packages/tinylicious/src/index.ts", // minified DOMPurify is not a source file, so it doesn't need a header. - "docs/static/dompurify/purify.min.js", + "website/static/dompurify/purify.min.js", // printed ESLint configs do not need headers ".*/.eslint-print-configs/.*", @@ -424,9 +424,9 @@ module.exports = { "common/lib/common-utils/jest.config.js", // Avoids MIME-type issues in the browser. - "docs/static/trusted-types-policy.js", - "docs/static/dompurify/purify.min.js", - "docs/static/js/add-code-copy-button.js", + "website/static/trusted-types-policy.js", + "website/static/dompurify/purify.min.js", + "website/static/js/add-code-copy-button.js", "examples/data-objects/monaco/loaders/blobUrl.js", "examples/data-objects/monaco/loaders/compile.js", "examples/service-clients/odsp-client/shared-tree-demo/tailwind.config.js", @@ -500,7 +500,7 @@ module.exports = { // this package has a irregular build pattern, so our clean script rule doesn't apply. "tools/markdown-magic/package.json", // Docs directory breaks cleaning down into multiple scripts. - "docs/package.json", + "website/package.json", ], "npm-strange-package-name": [ "server/gitrest/package.json", diff --git a/package.json b/package.json index 09fee5df5971..ed33e65782b8 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "build:fast": "fluid-build --task build --worker", "build:full": "fluid-build --task full", "build:full:compile": "fluid-build --task compile --task webpack", - "build:gendocs": "concurrently npm:build:gendocs:client npm:build:gendocs:server && cd docs && npm run build", + "build:gendocs": "concurrently npm:build:gendocs:client npm:build:gendocs:server && cd website && npm run build", "build:gendocs:client": "fluid-build --task build:gendocs:client", "build:gendocs:client:azure": "copyfiles \"azure/**/*.api.json\" ./_api-extractor-temp/doc-models/ -e \"**/node_modules/**\" -f -V", "build:gendocs:client:examples": "copyfiles \"examples/**/*.api.json\" ./_api-extractor-temp/doc-models/ -e \"**/node_modules/**\" -f -V", @@ -38,7 +38,7 @@ "build:gendocs:client:packages": "copyfiles \"packages/**/*.api.json\" ./_api-extractor-temp/doc-models/ -e \"**/node_modules/**\" -f -V", "build:gendocs:server": "concurrently \"npm:build:gendocs:server:*\"", "build:gendocs:server:routerlicious": "copyfiles \"server/routerlicious/**/*.api.json\" ./_api-extractor-temp/doc-models/ -e \"**/node_modules/**\" -f -V", - "build:readme": "markdown-magic --files \"**/*.md\" !docs", + "build:readme": "markdown-magic --files \"**/*.md\" !website", "bundle-analysis:collect": "npm run webpack:profile && flub generate bundleStats", "changeset": "flub changeset add --releaseGroup client", "check:are-the-types-wrong": "fluid-build --task check:are-the-types-wrong", diff --git a/tools/pipelines/build-docs.yml b/tools/pipelines/build-docs.yml index adc7a0f4135b..2ba869ccf423 100644 --- a/tools/pipelines/build-docs.yml +++ b/tools/pipelines/build-docs.yml @@ -156,7 +156,7 @@ stages: - task: ComponentGovernanceComponentDetection@0 displayName: Component Detection inputs: - sourceScanPath: docs + sourceScanPath: website verbosity: Verbose scanType: Register alertWarningLevel: High @@ -173,14 +173,14 @@ stages: - template: /tools/pipelines/templates/include-install-pnpm.yml@self parameters: - buildDirectory: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/docs + buildDirectory: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/website - task: Bash@3 displayName: Install dependencies retryCountOnTaskFailure: 4 inputs: targetType: 'inline' - workingDirectory: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/docs + workingDirectory: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/website script: | set -eu -o pipefail pnpm i --frozen-lockfile @@ -189,7 +189,7 @@ stages: displayName: npm run build inputs: command: 'custom' - workingDir: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/docs + workingDir: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/website customCommand: 'run build' # Run the tests @@ -197,20 +197,20 @@ stages: displayName: Run tests inputs: command: 'custom' - workingDir: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/docs + workingDir: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/website customCommand: 'run test' - task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0 displayName: 'Generate SBOM' inputs: - BuildDropPath: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/docs/build + BuildDropPath: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/website/build PackageName: 'fluidframework-docs' PackageVersion: '$(Build.BuildId)' - task: PublishPipelineArtifact@1 displayName: 'Publish site build artifact' inputs: - targetPath: '$(Pipeline.Workspace)/$(FluidFrameworkDirectory)/docs/build' + targetPath: '$(Pipeline.Workspace)/$(FluidFrameworkDirectory)/website/build' artifactName: 'fluidframework-docs' publishLocation: 'pipeline' @@ -263,7 +263,7 @@ stages: inputs: GdnBreakPolicyMinSev: Warning GdnBreakAllTools: true - GdnBreakBaselineFiles: '$(Pipeline.Workspace)/$(FluidFrameworkDirectory)/docs/.gdnbaselines' + GdnBreakBaselineFiles: '$(Pipeline.Workspace)/$(FluidFrameworkDirectory)/website/.gdnbaselines' GdnBreakGdnToolESLint: true GdnBreakGdnToolESLintSeverity: Warning GdnBreakPolicy: M365 @@ -298,14 +298,14 @@ stages: - template: /tools/pipelines/templates/include-install-pnpm.yml@self parameters: - buildDirectory: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/docs + buildDirectory: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/website - task: Bash@3 displayName: Install dependencies retryCountOnTaskFailure: 4 inputs: targetType: 'inline' - workingDirectory: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/docs + workingDirectory: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/website script: | set -eu -o pipefail # Ensure it's easy to tell which workspace this is running in by inspecting the logs @@ -316,14 +316,14 @@ stages: displayName: Build inputs: command: 'custom' - workingDir: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/docs + workingDir: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/website customCommand: 'run build' - task: Npm@1 displayName: Validate links inputs: command: 'custom' - workingDir: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/docs + workingDir: $(Pipeline.Workspace)/$(FluidFrameworkDirectory)/website customCommand: 'run ci:check-links' - stage: deploy @@ -351,7 +351,7 @@ stages: inputs: source: current artifact: fluidframework-docs - path: '$(Pipeline.Workspace)/$(FluidFrameworkDirectory)/docs/build' + path: '$(Pipeline.Workspace)/$(FluidFrameworkDirectory)/website/build' - task: AzureStaticWebApp@0 displayName: 'Deploy website to ASWA' @@ -359,7 +359,7 @@ stages: skip_app_build: true # site was built in previous stage skip_api_build: true # api is written in js, no build needed cwd: $(Pipeline.Workspace)/$(FluidFrameworkDirectory) - app_location: 'docs/build' - api_location: 'docs/api' + app_location: 'website/build' + api_location: 'website/api' output_location: '' azure_static_web_apps_api_token: '${{ variables.deploymentToken }}' diff --git a/tools/pipelines/deploy-website.yml b/tools/pipelines/deploy-website.yml index 3551f072562b..f3bacf6c0c34 100644 --- a/tools/pipelines/deploy-website.yml +++ b/tools/pipelines/deploy-website.yml @@ -114,7 +114,7 @@ stages: - task: ComponentGovernanceComponentDetection@0 displayName: Component Detection inputs: - sourceScanPath: docs + sourceScanPath: website verbosity: Verbose scanType: Register alertWarningLevel: High @@ -132,14 +132,14 @@ stages: - template: /tools/pipelines/templates/include-install-pnpm.yml@self parameters: - buildDirectory: ${{ variables.FluidFrameworkDirectory }}/docs + buildDirectory: ${{ variables.FluidFrameworkDirectory }}/website - task: Bash@3 displayName: Install dependencies retryCountOnTaskFailure: 4 inputs: targetType: 'inline' - workingDirectory: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/docs + workingDirectory: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/website script: | set -eu -o pipefail # Ensure it's easy to tell which workspace this is running in by inspecting the logs @@ -150,7 +150,7 @@ stages: displayName: npm run build inputs: command: 'custom' - workingDir: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/docs + workingDir: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/website customCommand: 'run build' env: INSTRUMENTATION_KEY: $(INSTRUMENTATION_KEY) @@ -161,28 +161,28 @@ stages: displayName: 'Check inline script hashes correctness' inputs: targetType: 'filePath' - workingDirectory: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/docs - filePath: '$(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/docs/validateHashes.sh' + workingDirectory: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/website + filePath: '$(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/website/validateHashes.sh' # Run the tests - task: Npm@1 displayName: Run tests inputs: command: 'custom' - workingDir: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/docs + workingDir: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/website customCommand: 'run test' - task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0 displayName: 'Generate SBOM' inputs: - BuildDropPath: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/docs/build + BuildDropPath: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/website/build PackageName: 'fluidframework-docs' PackageVersion: '$(Build.BuildId)' - task: PublishPipelineArtifact@1 displayName: 'Publish site build artifact' inputs: - targetPath: '$(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/docs/build' + targetPath: '$(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/website/build' artifactName: 'fluidframework-docs' publishLocation: 'pipeline' @@ -236,7 +236,7 @@ stages: inputs: GdnBreakPolicyMinSev: Warning GdnBreakAllTools: true - GdnBreakBaselineFiles: '$(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/docs/.gdnbaselines' + GdnBreakBaselineFiles: '$(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/website/.gdnbaselines' GdnBreakGdnToolESLint: true GdnBreakGdnToolESLintSeverity: Warning GdnBreakPolicy: M365 @@ -271,14 +271,14 @@ stages: - template: /tools/pipelines/templates/include-install-pnpm.yml@self parameters: - buildDirectory: ${{ variables.FluidFrameworkDirectory }}/docs + buildDirectory: ${{ variables.FluidFrameworkDirectory }}/website - task: Bash@3 displayName: Install dependencies retryCountOnTaskFailure: 4 inputs: targetType: 'inline' - workingDirectory: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/docs + workingDirectory: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/website script: | set -eu -o pipefail # Ensure it's easy to tell which workspace this is running in by inspecting the logs @@ -289,14 +289,14 @@ stages: displayName: Build inputs: command: 'custom' - workingDir: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/docs + workingDir: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/website customCommand: 'run build' - task: Npm@1 displayName: Validate links inputs: command: 'custom' - workingDir: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/docs + workingDir: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/website customCommand: 'run ci:check-links' - stage: deploy @@ -325,7 +325,7 @@ stages: inputs: source: current artifact: fluidframework-docs - path: '$(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/docs/build' + path: '$(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }}/website/build' - task: AzureStaticWebApp@0 displayName: 'Deploy website to ASWA' @@ -333,7 +333,7 @@ stages: skip_app_build: true # site was built in previous stage skip_api_build: true # api is written in js, no build needed cwd: $(Pipeline.Workspace)/${{ variables.FluidFrameworkDirectory }} - app_location: 'docs/build' - api_location: 'docs/api' + app_location: 'website/build' + api_location: 'website/api' output_location: '' azure_static_web_apps_api_token: '${{ variables.deploymentToken }}' diff --git a/docs/.env.template b/website/.env.template similarity index 100% rename from docs/.env.template rename to website/.env.template diff --git a/docs/.eslintignore b/website/.eslintignore similarity index 100% rename from docs/.eslintignore rename to website/.eslintignore diff --git a/docs/.eslintrc.cjs b/website/.eslintrc.cjs similarity index 100% rename from docs/.eslintrc.cjs rename to website/.eslintrc.cjs diff --git a/docs/.gitignore b/website/.gitignore similarity index 100% rename from docs/.gitignore rename to website/.gitignore diff --git a/docs/.npmrc b/website/.npmrc similarity index 100% rename from docs/.npmrc rename to website/.npmrc diff --git a/docs/.vscode/extensions.json b/website/.vscode/extensions.json similarity index 100% rename from docs/.vscode/extensions.json rename to website/.vscode/extensions.json diff --git a/docs/.vscode/settings.json b/website/.vscode/settings.json similarity index 100% rename from docs/.vscode/settings.json rename to website/.vscode/settings.json diff --git a/docs/README.md b/website/README.md similarity index 100% rename from docs/README.md rename to website/README.md diff --git a/docs/api/LICENSE b/website/api/LICENSE similarity index 100% rename from docs/api/LICENSE rename to website/api/LICENSE diff --git a/docs/api/README.md b/website/api/README.md similarity index 100% rename from docs/api/README.md rename to website/api/README.md diff --git a/docs/api/fallback/function.json b/website/api/fallback/function.json similarity index 100% rename from docs/api/fallback/function.json rename to website/api/fallback/function.json diff --git a/docs/api/fallback/index.js b/website/api/fallback/index.js similarity index 100% rename from docs/api/fallback/index.js rename to website/api/fallback/index.js diff --git a/docs/api/fallback/routes.js b/website/api/fallback/routes.js similarity index 100% rename from docs/api/fallback/routes.js rename to website/api/fallback/routes.js diff --git a/docs/api/host.json b/website/api/host.json similarity index 100% rename from docs/api/host.json rename to website/api/host.json diff --git a/docs/api/package.json b/website/api/package.json similarity index 100% rename from docs/api/package.json rename to website/api/package.json diff --git a/docs/config/docs-versions.mjs b/website/config/docs-versions.mjs similarity index 100% rename from docs/config/docs-versions.mjs rename to website/config/docs-versions.mjs diff --git a/docs/docs/api/index.mdx b/website/docs/api/index.mdx similarity index 100% rename from docs/docs/api/index.mdx rename to website/docs/api/index.mdx diff --git a/docs/docs/build/audience.mdx b/website/docs/build/audience.mdx similarity index 100% rename from docs/docs/build/audience.mdx rename to website/docs/build/audience.mdx diff --git a/docs/docs/build/auth.mdx b/website/docs/build/auth.mdx similarity index 100% rename from docs/docs/build/auth.mdx rename to website/docs/build/auth.mdx diff --git a/docs/docs/build/bundlers.mdx b/website/docs/build/bundlers.mdx similarity index 100% rename from docs/docs/build/bundlers.mdx rename to website/docs/build/bundlers.mdx diff --git a/docs/docs/build/container-states-events.mdx b/website/docs/build/container-states-events.mdx similarity index 100% rename from docs/docs/build/container-states-events.mdx rename to website/docs/build/container-states-events.mdx diff --git a/docs/docs/build/containers.mdx b/website/docs/build/containers.mdx similarity index 100% rename from docs/docs/build/containers.mdx rename to website/docs/build/containers.mdx diff --git a/docs/docs/build/data-modeling.mdx b/website/docs/build/data-modeling.mdx similarity index 100% rename from docs/docs/build/data-modeling.mdx rename to website/docs/build/data-modeling.mdx diff --git a/docs/docs/build/dds.mdx b/website/docs/build/dds.mdx similarity index 100% rename from docs/docs/build/dds.mdx rename to website/docs/build/dds.mdx diff --git a/docs/docs/build/experimental-features.mdx b/website/docs/build/experimental-features.mdx similarity index 100% rename from docs/docs/build/experimental-features.mdx rename to website/docs/build/experimental-features.mdx diff --git a/docs/docs/build/images/ConnectionStates.svg b/website/docs/build/images/ConnectionStates.svg similarity index 100% rename from docs/docs/build/images/ConnectionStates.svg rename to website/docs/build/images/ConnectionStates.svg diff --git a/docs/docs/build/images/LocalReadinessStates.svg b/website/docs/build/images/LocalReadinessStates.svg similarity index 100% rename from docs/docs/build/images/LocalReadinessStates.svg rename to website/docs/build/images/LocalReadinessStates.svg diff --git a/docs/docs/build/images/PublicationStates.svg b/website/docs/build/images/PublicationStates.svg similarity index 100% rename from docs/docs/build/images/PublicationStates.svg rename to website/docs/build/images/PublicationStates.svg diff --git a/docs/docs/build/images/SynchronizationStates.svg b/website/docs/build/images/SynchronizationStates.svg similarity index 100% rename from docs/docs/build/images/SynchronizationStates.svg rename to website/docs/build/images/SynchronizationStates.svg diff --git a/docs/docs/build/overview.mdx b/website/docs/build/overview.mdx similarity index 100% rename from docs/docs/build/overview.mdx rename to website/docs/build/overview.mdx diff --git a/docs/docs/build/packages.mdx b/website/docs/build/packages.mdx similarity index 100% rename from docs/docs/build/packages.mdx rename to website/docs/build/packages.mdx diff --git a/docs/docs/build/presence.mdx b/website/docs/build/presence.mdx similarity index 100% rename from docs/docs/build/presence.mdx rename to website/docs/build/presence.mdx diff --git a/docs/docs/build/releases-and-apitags.mdx b/website/docs/build/releases-and-apitags.mdx similarity index 100% rename from docs/docs/build/releases-and-apitags.mdx rename to website/docs/build/releases-and-apitags.mdx diff --git a/docs/docs/build/tokenproviders.mdx b/website/docs/build/tokenproviders.mdx similarity index 100% rename from docs/docs/build/tokenproviders.mdx rename to website/docs/build/tokenproviders.mdx diff --git a/docs/docs/concepts/architecture.mdx b/website/docs/concepts/architecture.mdx similarity index 100% rename from docs/docs/concepts/architecture.mdx rename to website/docs/concepts/architecture.mdx diff --git a/docs/docs/concepts/handles.mdx b/website/docs/concepts/handles.mdx similarity index 100% rename from docs/docs/concepts/handles.mdx rename to website/docs/concepts/handles.mdx diff --git a/docs/docs/concepts/signals.mdx b/website/docs/concepts/signals.mdx similarity index 100% rename from docs/docs/concepts/signals.mdx rename to website/docs/concepts/signals.mdx diff --git a/docs/docs/concepts/summarizer.md b/website/docs/concepts/summarizer.md similarity index 100% rename from docs/docs/concepts/summarizer.md rename to website/docs/concepts/summarizer.md diff --git a/docs/docs/concepts/tob.mdx b/website/docs/concepts/tob.mdx similarity index 100% rename from docs/docs/concepts/tob.mdx rename to website/docs/concepts/tob.mdx diff --git a/docs/docs/data-structures/map.mdx b/website/docs/data-structures/map.mdx similarity index 100% rename from docs/docs/data-structures/map.mdx rename to website/docs/data-structures/map.mdx diff --git a/docs/docs/data-structures/overview.mdx b/website/docs/data-structures/overview.mdx similarity index 100% rename from docs/docs/data-structures/overview.mdx rename to website/docs/data-structures/overview.mdx diff --git a/docs/docs/data-structures/sequences.md b/website/docs/data-structures/sequences.md similarity index 100% rename from docs/docs/data-structures/sequences.md rename to website/docs/data-structures/sequences.md diff --git a/docs/docs/data-structures/string.md b/website/docs/data-structures/string.md similarity index 100% rename from docs/docs/data-structures/string.md rename to website/docs/data-structures/string.md diff --git a/docs/docs/data-structures/tree/events.mdx b/website/docs/data-structures/tree/events.mdx similarity index 100% rename from docs/docs/data-structures/tree/events.mdx rename to website/docs/data-structures/tree/events.mdx diff --git a/docs/docs/data-structures/tree/incremental-summary.mdx b/website/docs/data-structures/tree/incremental-summary.mdx similarity index 100% rename from docs/docs/data-structures/tree/incremental-summary.mdx rename to website/docs/data-structures/tree/incremental-summary.mdx diff --git a/docs/docs/data-structures/tree/index.mdx b/website/docs/data-structures/tree/index.mdx similarity index 100% rename from docs/docs/data-structures/tree/index.mdx rename to website/docs/data-structures/tree/index.mdx diff --git a/docs/docs/data-structures/tree/node-types.mdx b/website/docs/data-structures/tree/node-types.mdx similarity index 100% rename from docs/docs/data-structures/tree/node-types.mdx rename to website/docs/data-structures/tree/node-types.mdx diff --git a/docs/docs/data-structures/tree/nodes.mdx b/website/docs/data-structures/tree/nodes.mdx similarity index 100% rename from docs/docs/data-structures/tree/nodes.mdx rename to website/docs/data-structures/tree/nodes.mdx diff --git a/docs/docs/data-structures/tree/reading-and-editing.mdx b/website/docs/data-structures/tree/reading-and-editing.mdx similarity index 100% rename from docs/docs/data-structures/tree/reading-and-editing.mdx rename to website/docs/data-structures/tree/reading-and-editing.mdx diff --git a/docs/docs/data-structures/tree/recommended-init-flow.mdx b/website/docs/data-structures/tree/recommended-init-flow.mdx similarity index 100% rename from docs/docs/data-structures/tree/recommended-init-flow.mdx rename to website/docs/data-structures/tree/recommended-init-flow.mdx diff --git a/docs/docs/data-structures/tree/schema-definition/default-field-values.mdx b/website/docs/data-structures/tree/schema-definition/default-field-values.mdx similarity index 100% rename from docs/docs/data-structures/tree/schema-definition/default-field-values.mdx rename to website/docs/data-structures/tree/schema-definition/default-field-values.mdx diff --git a/docs/docs/data-structures/tree/schema-definition/index.mdx b/website/docs/data-structures/tree/schema-definition/index.mdx similarity index 100% rename from docs/docs/data-structures/tree/schema-definition/index.mdx rename to website/docs/data-structures/tree/schema-definition/index.mdx diff --git a/docs/docs/data-structures/tree/schema-evolution/allowed-types-rollout.mdx b/website/docs/data-structures/tree/schema-evolution/allowed-types-rollout.mdx similarity index 100% rename from docs/docs/data-structures/tree/schema-evolution/allowed-types-rollout.mdx rename to website/docs/data-structures/tree/schema-evolution/allowed-types-rollout.mdx diff --git a/docs/docs/data-structures/tree/schema-evolution/index.mdx b/website/docs/data-structures/tree/schema-evolution/index.mdx similarity index 100% rename from docs/docs/data-structures/tree/schema-evolution/index.mdx rename to website/docs/data-structures/tree/schema-evolution/index.mdx diff --git a/docs/docs/data-structures/tree/schema-evolution/types-of-changes.mdx b/website/docs/data-structures/tree/schema-evolution/types-of-changes.mdx similarity index 100% rename from docs/docs/data-structures/tree/schema-evolution/types-of-changes.mdx rename to website/docs/data-structures/tree/schema-evolution/types-of-changes.mdx diff --git a/docs/docs/data-structures/tree/transactions.mdx b/website/docs/data-structures/tree/transactions.mdx similarity index 100% rename from docs/docs/data-structures/tree/transactions.mdx rename to website/docs/data-structures/tree/transactions.mdx diff --git a/docs/docs/data-structures/tree/undo-redo.mdx b/website/docs/data-structures/tree/undo-redo.mdx similarity index 100% rename from docs/docs/data-structures/tree/undo-redo.mdx rename to website/docs/data-structures/tree/undo-redo.mdx diff --git a/docs/docs/deployment/azure-fluid-relay.mdx b/website/docs/deployment/azure-fluid-relay.mdx similarity index 100% rename from docs/docs/deployment/azure-fluid-relay.mdx rename to website/docs/deployment/azure-fluid-relay.mdx diff --git a/docs/docs/deployment/service-options.mdx b/website/docs/deployment/service-options.mdx similarity index 100% rename from docs/docs/deployment/service-options.mdx rename to website/docs/deployment/service-options.mdx diff --git a/docs/docs/deployment/sharepoint-embedded.mdx b/website/docs/deployment/sharepoint-embedded.mdx similarity index 100% rename from docs/docs/deployment/sharepoint-embedded.mdx rename to website/docs/deployment/sharepoint-embedded.mdx diff --git a/docs/docs/deployment/teams.mdx b/website/docs/deployment/teams.mdx similarity index 100% rename from docs/docs/deployment/teams.mdx rename to website/docs/deployment/teams.mdx diff --git a/docs/docs/faq.mdx b/website/docs/faq.mdx similarity index 100% rename from docs/docs/faq.mdx rename to website/docs/faq.mdx diff --git a/docs/docs/glossary.mdx b/website/docs/glossary.mdx similarity index 100% rename from docs/docs/glossary.mdx rename to website/docs/glossary.mdx diff --git a/docs/docs/index.mdx b/website/docs/index.mdx similarity index 100% rename from docs/docs/index.mdx rename to website/docs/index.mdx diff --git a/docs/docs/migration.mdx b/website/docs/migration.mdx similarity index 100% rename from docs/docs/migration.mdx rename to website/docs/migration.mdx diff --git a/docs/docs/start/examples.mdx b/website/docs/start/examples.mdx similarity index 100% rename from docs/docs/start/examples.mdx rename to website/docs/start/examples.mdx diff --git a/docs/docs/start/images/shared-tree-demo.png b/website/docs/start/images/shared-tree-demo.png similarity index 100% rename from docs/docs/start/images/shared-tree-demo.png rename to website/docs/start/images/shared-tree-demo.png diff --git a/docs/docs/start/quick-start.mdx b/website/docs/start/quick-start.mdx similarity index 100% rename from docs/docs/start/quick-start.mdx rename to website/docs/start/quick-start.mdx diff --git a/docs/docs/start/tree-start.mdx b/website/docs/start/tree-start.mdx similarity index 100% rename from docs/docs/start/tree-start.mdx rename to website/docs/start/tree-start.mdx diff --git a/docs/docs/start/tutorial.mdx b/website/docs/start/tutorial.mdx similarity index 100% rename from docs/docs/start/tutorial.mdx rename to website/docs/start/tutorial.mdx diff --git a/docs/docs/testing/devtools.mdx b/website/docs/testing/devtools.mdx similarity index 100% rename from docs/docs/testing/devtools.mdx rename to website/docs/testing/devtools.mdx diff --git a/docs/docs/testing/telemetry.mdx b/website/docs/testing/telemetry.mdx similarity index 100% rename from docs/docs/testing/telemetry.mdx rename to website/docs/testing/telemetry.mdx diff --git a/docs/docs/testing/testing.mdx b/website/docs/testing/testing.mdx similarity index 100% rename from docs/docs/testing/testing.mdx rename to website/docs/testing/testing.mdx diff --git a/docs/docs/testing/tinylicious.mdx b/website/docs/testing/tinylicious.mdx similarity index 100% rename from docs/docs/testing/tinylicious.mdx rename to website/docs/testing/tinylicious.mdx diff --git a/docs/docs/testing/typed-telemetry.mdx b/website/docs/testing/typed-telemetry.mdx similarity index 100% rename from docs/docs/testing/typed-telemetry.mdx rename to website/docs/testing/typed-telemetry.mdx diff --git a/docs/docusaurus.config.ts b/website/docusaurus.config.ts similarity index 100% rename from docs/docusaurus.config.ts rename to website/docusaurus.config.ts diff --git a/docs/infra/api-markdown-documenter/admonition.mjs b/website/infra/api-markdown-documenter/admonition.mjs similarity index 100% rename from docs/infra/api-markdown-documenter/admonition.mjs rename to website/infra/api-markdown-documenter/admonition.mjs diff --git a/docs/infra/api-markdown-documenter/api-documentation-layout.mjs b/website/infra/api-markdown-documenter/api-documentation-layout.mjs similarity index 100% rename from docs/infra/api-markdown-documenter/api-documentation-layout.mjs rename to website/infra/api-markdown-documenter/api-documentation-layout.mjs diff --git a/docs/infra/api-markdown-documenter/index.mjs b/website/infra/api-markdown-documenter/index.mjs similarity index 100% rename from docs/infra/api-markdown-documenter/index.mjs rename to website/infra/api-markdown-documenter/index.mjs diff --git a/docs/infra/api-markdown-documenter/render-api-documentation.mjs b/website/infra/api-markdown-documenter/render-api-documentation.mjs similarity index 100% rename from docs/infra/api-markdown-documenter/render-api-documentation.mjs rename to website/infra/api-markdown-documenter/render-api-documentation.mjs diff --git a/docs/infra/clean-api-documentation.mjs b/website/infra/clean-api-documentation.mjs similarity index 100% rename from docs/infra/clean-api-documentation.mjs rename to website/infra/clean-api-documentation.mjs diff --git a/docs/infra/clean-ignored.mjs b/website/infra/clean-ignored.mjs similarity index 100% rename from docs/infra/clean-ignored.mjs rename to website/infra/clean-ignored.mjs diff --git a/docs/infra/download-doc-models.mjs b/website/infra/download-doc-models.mjs similarity index 100% rename from docs/infra/download-doc-models.mjs rename to website/infra/download-doc-models.mjs diff --git a/docs/infra/generate-api-documentation.mjs b/website/infra/generate-api-documentation.mjs similarity index 100% rename from docs/infra/generate-api-documentation.mjs rename to website/infra/generate-api-documentation.mjs diff --git a/docs/infra/generate-versions.mjs b/website/infra/generate-versions.mjs similarity index 100% rename from docs/infra/generate-versions.mjs rename to website/infra/generate-versions.mjs diff --git a/docs/package.json b/website/package.json similarity index 99% rename from docs/package.json rename to website/package.json index 77b625d3802a..6e934d2fa153 100644 --- a/docs/package.json +++ b/website/package.json @@ -1,12 +1,12 @@ { - "name": "fluid-framework-docs-site", + "name": "fluid-framework-website", "version": "0.0.0", "private": true, "homepage": "https://fluidframework.com", "repository": { "type": "git", "url": "https://github.com/microsoft/FluidFramework.git", - "directory": "docs" + "directory": "website" }, "license": "MIT", "author": "Microsoft and contributors", diff --git a/docs/playwright.config.ts b/website/playwright.config.ts similarity index 100% rename from docs/playwright.config.ts rename to website/playwright.config.ts diff --git a/docs/pnpm-lock.yaml b/website/pnpm-lock.yaml similarity index 100% rename from docs/pnpm-lock.yaml rename to website/pnpm-lock.yaml diff --git a/docs/pnpm-workspace.yaml b/website/pnpm-workspace.yaml similarity index 100% rename from docs/pnpm-workspace.yaml rename to website/pnpm-workspace.yaml diff --git a/docs/prettier.config.cjs b/website/prettier.config.cjs similarity index 100% rename from docs/prettier.config.cjs rename to website/prettier.config.cjs diff --git a/docs/sidebars.ts b/website/sidebars.ts similarity index 100% rename from docs/sidebars.ts rename to website/sidebars.ts diff --git a/docs/skipped-urls.txt b/website/skipped-urls.txt similarity index 100% rename from docs/skipped-urls.txt rename to website/skipped-urls.txt diff --git a/docs/src/appInsights.ts b/website/src/appInsights.ts similarity index 100% rename from docs/src/appInsights.ts rename to website/src/appInsights.ts diff --git a/docs/src/components/card.tsx b/website/src/components/card.tsx similarity index 100% rename from docs/src/components/card.tsx rename to website/src/components/card.tsx diff --git a/docs/src/components/community.tsx b/website/src/components/community.tsx similarity index 100% rename from docs/src/components/community.tsx rename to website/src/components/community.tsx diff --git a/docs/src/components/home/banner.tsx b/website/src/components/home/banner.tsx similarity index 100% rename from docs/src/components/home/banner.tsx rename to website/src/components/home/banner.tsx diff --git a/docs/src/components/home/homepage.tsx b/website/src/components/home/homepage.tsx similarity index 100% rename from docs/src/components/home/homepage.tsx rename to website/src/components/home/homepage.tsx diff --git a/docs/src/components/home/howItWorksSection.tsx b/website/src/components/home/howItWorksSection.tsx similarity index 100% rename from docs/src/components/home/howItWorksSection.tsx rename to website/src/components/home/howItWorksSection.tsx diff --git a/docs/src/components/home/index.tsx b/website/src/components/home/index.tsx similarity index 100% rename from docs/src/components/home/index.tsx rename to website/src/components/home/index.tsx diff --git a/docs/src/components/home/keyFeatureCard.tsx b/website/src/components/home/keyFeatureCard.tsx similarity index 100% rename from docs/src/components/home/keyFeatureCard.tsx rename to website/src/components/home/keyFeatureCard.tsx diff --git a/docs/src/components/home/keyFeaturesSection.tsx b/website/src/components/home/keyFeaturesSection.tsx similarity index 100% rename from docs/src/components/home/keyFeaturesSection.tsx rename to website/src/components/home/keyFeaturesSection.tsx diff --git a/docs/src/components/home/pageSection.tsx b/website/src/components/home/pageSection.tsx similarity index 100% rename from docs/src/components/home/pageSection.tsx rename to website/src/components/home/pageSection.tsx diff --git a/docs/src/components/home/partnersSection.tsx b/website/src/components/home/partnersSection.tsx similarity index 100% rename from docs/src/components/home/partnersSection.tsx rename to website/src/components/home/partnersSection.tsx diff --git a/docs/src/components/home/sectionHeader.tsx b/website/src/components/home/sectionHeader.tsx similarity index 100% rename from docs/src/components/home/sectionHeader.tsx rename to website/src/components/home/sectionHeader.tsx diff --git a/docs/src/components/home/serviceSection.tsx b/website/src/components/home/serviceSection.tsx similarity index 100% rename from docs/src/components/home/serviceSection.tsx rename to website/src/components/home/serviceSection.tsx diff --git a/docs/src/components/legacyDiceRollerSample.tsx b/website/src/components/legacyDiceRollerSample.tsx similarity index 100% rename from docs/src/components/legacyDiceRollerSample.tsx rename to website/src/components/legacyDiceRollerSample.tsx diff --git a/docs/src/components/mockDiceRoller.tsx b/website/src/components/mockDiceRoller.tsx similarity index 100% rename from docs/src/components/mockDiceRoller.tsx rename to website/src/components/mockDiceRoller.tsx diff --git a/docs/src/components/shortLinks.tsx b/website/src/components/shortLinks.tsx similarity index 100% rename from docs/src/components/shortLinks.tsx rename to website/src/components/shortLinks.tsx diff --git a/docs/src/components/youtubeVideo.tsx b/website/src/components/youtubeVideo.tsx similarity index 100% rename from docs/src/components/youtubeVideo.tsx rename to website/src/components/youtubeVideo.tsx diff --git a/docs/src/css/card.css b/website/src/css/card.css similarity index 100% rename from docs/src/css/card.css rename to website/src/css/card.css diff --git a/docs/src/css/community.css b/website/src/css/community.css similarity index 100% rename from docs/src/css/community.css rename to website/src/css/community.css diff --git a/docs/src/css/custom.scss b/website/src/css/custom.scss similarity index 100% rename from docs/src/css/custom.scss rename to website/src/css/custom.scss diff --git a/docs/src/css/footer.css b/website/src/css/footer.css similarity index 100% rename from docs/src/css/footer.css rename to website/src/css/footer.css diff --git a/docs/src/css/home/banner.css b/website/src/css/home/banner.css similarity index 100% rename from docs/src/css/home/banner.css rename to website/src/css/home/banner.css diff --git a/docs/src/css/home/homepage.css b/website/src/css/home/homepage.css similarity index 100% rename from docs/src/css/home/homepage.css rename to website/src/css/home/homepage.css diff --git a/docs/src/css/home/howItWorksSection.css b/website/src/css/home/howItWorksSection.css similarity index 100% rename from docs/src/css/home/howItWorksSection.css rename to website/src/css/home/howItWorksSection.css diff --git a/docs/src/css/home/keyFeatureCard.css b/website/src/css/home/keyFeatureCard.css similarity index 100% rename from docs/src/css/home/keyFeatureCard.css rename to website/src/css/home/keyFeatureCard.css diff --git a/docs/src/css/home/keyFeaturesSection.css b/website/src/css/home/keyFeaturesSection.css similarity index 100% rename from docs/src/css/home/keyFeaturesSection.css rename to website/src/css/home/keyFeaturesSection.css diff --git a/docs/src/css/home/pageSection.css b/website/src/css/home/pageSection.css similarity index 100% rename from docs/src/css/home/pageSection.css rename to website/src/css/home/pageSection.css diff --git a/docs/src/css/home/partnersSection.css b/website/src/css/home/partnersSection.css similarity index 100% rename from docs/src/css/home/partnersSection.css rename to website/src/css/home/partnersSection.css diff --git a/docs/src/css/home/sectionHeader.css b/website/src/css/home/sectionHeader.css similarity index 100% rename from docs/src/css/home/sectionHeader.css rename to website/src/css/home/sectionHeader.css diff --git a/docs/src/css/home/serviceSection.css b/website/src/css/home/serviceSection.css similarity index 100% rename from docs/src/css/home/serviceSection.css rename to website/src/css/home/serviceSection.css diff --git a/docs/src/css/legacyDiceRollerSample.css b/website/src/css/legacyDiceRollerSample.css similarity index 100% rename from docs/src/css/legacyDiceRollerSample.css rename to website/src/css/legacyDiceRollerSample.css diff --git a/docs/src/css/mockDiceRoller.css b/website/src/css/mockDiceRoller.css similarity index 100% rename from docs/src/css/mockDiceRoller.css rename to website/src/css/mockDiceRoller.css diff --git a/docs/src/css/notFound.css b/website/src/css/notFound.css similarity index 100% rename from docs/src/css/notFound.css rename to website/src/css/notFound.css diff --git a/docs/src/css/typography.scss b/website/src/css/typography.scss similarity index 100% rename from docs/src/css/typography.scss rename to website/src/css/typography.scss diff --git a/docs/src/pages/browsers.mdx b/website/src/pages/browsers.mdx similarity index 100% rename from docs/src/pages/browsers.mdx rename to website/src/pages/browsers.mdx diff --git a/docs/src/pages/community.mdx b/website/src/pages/community.mdx similarity index 100% rename from docs/src/pages/community.mdx rename to website/src/pages/community.mdx diff --git a/docs/src/pages/index.tsx b/website/src/pages/index.tsx similarity index 100% rename from docs/src/pages/index.tsx rename to website/src/pages/index.tsx diff --git a/docs/src/pages/node-versions.mdx b/website/src/pages/node-versions.mdx similarity index 100% rename from docs/src/pages/node-versions.mdx rename to website/src/pages/node-versions.mdx diff --git a/docs/src/pages/support.mdx b/website/src/pages/support.mdx similarity index 100% rename from docs/src/pages/support.mdx rename to website/src/pages/support.mdx diff --git a/docs/src/theme/Footer/Logo/index.tsx b/website/src/theme/Footer/Logo/index.tsx similarity index 100% rename from docs/src/theme/Footer/Logo/index.tsx rename to website/src/theme/Footer/Logo/index.tsx diff --git a/docs/src/theme/Footer/Logo/styles.module.css b/website/src/theme/Footer/Logo/styles.module.css similarity index 100% rename from docs/src/theme/Footer/Logo/styles.module.css rename to website/src/theme/Footer/Logo/styles.module.css diff --git a/docs/src/theme/Footer/index.tsx b/website/src/theme/Footer/index.tsx similarity index 100% rename from docs/src/theme/Footer/index.tsx rename to website/src/theme/Footer/index.tsx diff --git a/docs/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx b/website/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx similarity index 100% rename from docs/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx rename to website/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx diff --git a/docs/src/theme/NotFound.tsx b/website/src/theme/NotFound.tsx similarity index 100% rename from docs/src/theme/NotFound.tsx rename to website/src/theme/NotFound.tsx diff --git a/docs/src/theme/Root.tsx b/website/src/theme/Root.tsx similarity index 100% rename from docs/src/theme/Root.tsx rename to website/src/theme/Root.tsx diff --git a/docs/static/.nojekyll b/website/static/.nojekyll similarity index 100% rename from docs/static/.nojekyll rename to website/static/.nojekyll diff --git a/docs/static/assets/community/discussion.svg b/website/static/assets/community/discussion.svg similarity index 100% rename from docs/static/assets/community/discussion.svg rename to website/static/assets/community/discussion.svg diff --git a/docs/static/assets/community/report-issues.svg b/website/static/assets/community/report-issues.svg similarity index 100% rename from docs/static/assets/community/report-issues.svg rename to website/static/assets/community/report-issues.svg diff --git a/docs/static/assets/fluid-icon.svg b/website/static/assets/fluid-icon.svg similarity index 100% rename from docs/static/assets/fluid-icon.svg rename to website/static/assets/fluid-icon.svg diff --git a/docs/static/assets/search-icon-dark.svg b/website/static/assets/search-icon-dark.svg similarity index 100% rename from docs/static/assets/search-icon-dark.svg rename to website/static/assets/search-icon-dark.svg diff --git a/docs/static/assets/search-icon-light.svg b/website/static/assets/search-icon-light.svg similarity index 100% rename from docs/static/assets/search-icon-light.svg rename to website/static/assets/search-icon-light.svg diff --git a/docs/static/dompurify/purify.min.js b/website/static/dompurify/purify.min.js similarity index 100% rename from docs/static/dompurify/purify.min.js rename to website/static/dompurify/purify.min.js diff --git a/docs/static/staticwebapp.config.json b/website/static/staticwebapp.config.json similarity index 100% rename from docs/static/staticwebapp.config.json rename to website/static/staticwebapp.config.json diff --git a/docs/static/trusted-types-policy.js b/website/static/trusted-types-policy.js similarity index 100% rename from docs/static/trusted-types-policy.js rename to website/static/trusted-types-policy.js diff --git a/docs/swa-cli.config.json b/website/swa-cli.config.json similarity index 100% rename from docs/swa-cli.config.json rename to website/swa-cli.config.json diff --git a/docs/test/site-tests/Homepage.spec.ts b/website/test/site-tests/Homepage.spec.ts similarity index 100% rename from docs/test/site-tests/Homepage.spec.ts rename to website/test/site-tests/Homepage.spec.ts diff --git a/docs/test/site-tests/Nav.spec.ts b/website/test/site-tests/Nav.spec.ts similarity index 100% rename from docs/test/site-tests/Nav.spec.ts rename to website/test/site-tests/Nav.spec.ts diff --git a/docs/test/tsconfig.json b/website/test/tsconfig.json similarity index 100% rename from docs/test/tsconfig.json rename to website/test/tsconfig.json diff --git a/docs/tsconfig.json b/website/tsconfig.json similarity index 100% rename from docs/tsconfig.json rename to website/tsconfig.json diff --git a/docs/validateHashes.sh b/website/validateHashes.sh similarity index 100% rename from docs/validateHashes.sh rename to website/validateHashes.sh diff --git a/docs/versioned_docs/version-1/api/fluid-framework.mdx b/website/versioned_docs/version-1/api/fluid-framework.mdx similarity index 100% rename from docs/versioned_docs/version-1/api/fluid-framework.mdx rename to website/versioned_docs/version-1/api/fluid-framework.mdx diff --git a/docs/versioned_docs/version-1/api/index.mdx b/website/versioned_docs/version-1/api/index.mdx similarity index 100% rename from docs/versioned_docs/version-1/api/index.mdx rename to website/versioned_docs/version-1/api/index.mdx diff --git a/docs/versioned_docs/version-1/build/audience.mdx b/website/versioned_docs/version-1/build/audience.mdx similarity index 100% rename from docs/versioned_docs/version-1/build/audience.mdx rename to website/versioned_docs/version-1/build/audience.mdx diff --git a/docs/versioned_docs/version-1/build/auth.mdx b/website/versioned_docs/version-1/build/auth.mdx similarity index 100% rename from docs/versioned_docs/version-1/build/auth.mdx rename to website/versioned_docs/version-1/build/auth.mdx diff --git a/docs/versioned_docs/version-1/build/bundlers.mdx b/website/versioned_docs/version-1/build/bundlers.mdx similarity index 100% rename from docs/versioned_docs/version-1/build/bundlers.mdx rename to website/versioned_docs/version-1/build/bundlers.mdx diff --git a/docs/versioned_docs/version-1/build/container-states-events.mdx b/website/versioned_docs/version-1/build/container-states-events.mdx similarity index 100% rename from docs/versioned_docs/version-1/build/container-states-events.mdx rename to website/versioned_docs/version-1/build/container-states-events.mdx diff --git a/docs/versioned_docs/version-1/build/containers.mdx b/website/versioned_docs/version-1/build/containers.mdx similarity index 100% rename from docs/versioned_docs/version-1/build/containers.mdx rename to website/versioned_docs/version-1/build/containers.mdx diff --git a/docs/versioned_docs/version-1/build/data-modeling.mdx b/website/versioned_docs/version-1/build/data-modeling.mdx similarity index 100% rename from docs/versioned_docs/version-1/build/data-modeling.mdx rename to website/versioned_docs/version-1/build/data-modeling.mdx diff --git a/docs/versioned_docs/version-1/build/dds.mdx b/website/versioned_docs/version-1/build/dds.mdx similarity index 100% rename from docs/versioned_docs/version-1/build/dds.mdx rename to website/versioned_docs/version-1/build/dds.mdx diff --git a/docs/versioned_docs/version-1/build/images/ConnectionStates.svg b/website/versioned_docs/version-1/build/images/ConnectionStates.svg similarity index 100% rename from docs/versioned_docs/version-1/build/images/ConnectionStates.svg rename to website/versioned_docs/version-1/build/images/ConnectionStates.svg diff --git a/docs/versioned_docs/version-1/build/images/LocalReadinessStates.svg b/website/versioned_docs/version-1/build/images/LocalReadinessStates.svg similarity index 100% rename from docs/versioned_docs/version-1/build/images/LocalReadinessStates.svg rename to website/versioned_docs/version-1/build/images/LocalReadinessStates.svg diff --git a/docs/versioned_docs/version-1/build/images/PublicationStates.svg b/website/versioned_docs/version-1/build/images/PublicationStates.svg similarity index 100% rename from docs/versioned_docs/version-1/build/images/PublicationStates.svg rename to website/versioned_docs/version-1/build/images/PublicationStates.svg diff --git a/docs/versioned_docs/version-1/build/images/SynchronizationStates.svg b/website/versioned_docs/version-1/build/images/SynchronizationStates.svg similarity index 100% rename from docs/versioned_docs/version-1/build/images/SynchronizationStates.svg rename to website/versioned_docs/version-1/build/images/SynchronizationStates.svg diff --git a/docs/versioned_docs/version-1/build/overview.mdx b/website/versioned_docs/version-1/build/overview.mdx similarity index 100% rename from docs/versioned_docs/version-1/build/overview.mdx rename to website/versioned_docs/version-1/build/overview.mdx diff --git a/docs/versioned_docs/version-1/build/packages.mdx b/website/versioned_docs/version-1/build/packages.mdx similarity index 100% rename from docs/versioned_docs/version-1/build/packages.mdx rename to website/versioned_docs/version-1/build/packages.mdx diff --git a/docs/versioned_docs/version-1/build/tokenproviders.mdx b/website/versioned_docs/version-1/build/tokenproviders.mdx similarity index 100% rename from docs/versioned_docs/version-1/build/tokenproviders.mdx rename to website/versioned_docs/version-1/build/tokenproviders.mdx diff --git a/docs/versioned_docs/version-1/concepts/architecture.mdx b/website/versioned_docs/version-1/concepts/architecture.mdx similarity index 100% rename from docs/versioned_docs/version-1/concepts/architecture.mdx rename to website/versioned_docs/version-1/concepts/architecture.mdx diff --git a/docs/versioned_docs/version-1/concepts/handles.mdx b/website/versioned_docs/version-1/concepts/handles.mdx similarity index 100% rename from docs/versioned_docs/version-1/concepts/handles.mdx rename to website/versioned_docs/version-1/concepts/handles.mdx diff --git a/docs/versioned_docs/version-1/concepts/signals.mdx b/website/versioned_docs/version-1/concepts/signals.mdx similarity index 100% rename from docs/versioned_docs/version-1/concepts/signals.mdx rename to website/versioned_docs/version-1/concepts/signals.mdx diff --git a/docs/versioned_docs/version-1/concepts/summarizer.md b/website/versioned_docs/version-1/concepts/summarizer.md similarity index 100% rename from docs/versioned_docs/version-1/concepts/summarizer.md rename to website/versioned_docs/version-1/concepts/summarizer.md diff --git a/docs/versioned_docs/version-1/concepts/tob.mdx b/website/versioned_docs/version-1/concepts/tob.mdx similarity index 100% rename from docs/versioned_docs/version-1/concepts/tob.mdx rename to website/versioned_docs/version-1/concepts/tob.mdx diff --git a/docs/versioned_docs/version-1/data-structures/counter.md b/website/versioned_docs/version-1/data-structures/counter.md similarity index 100% rename from docs/versioned_docs/version-1/data-structures/counter.md rename to website/versioned_docs/version-1/data-structures/counter.md diff --git a/docs/versioned_docs/version-1/data-structures/map.mdx b/website/versioned_docs/version-1/data-structures/map.mdx similarity index 100% rename from docs/versioned_docs/version-1/data-structures/map.mdx rename to website/versioned_docs/version-1/data-structures/map.mdx diff --git a/docs/versioned_docs/version-1/data-structures/overview.mdx b/website/versioned_docs/version-1/data-structures/overview.mdx similarity index 100% rename from docs/versioned_docs/version-1/data-structures/overview.mdx rename to website/versioned_docs/version-1/data-structures/overview.mdx diff --git a/docs/versioned_docs/version-1/data-structures/sequences.md b/website/versioned_docs/version-1/data-structures/sequences.md similarity index 100% rename from docs/versioned_docs/version-1/data-structures/sequences.md rename to website/versioned_docs/version-1/data-structures/sequences.md diff --git a/docs/versioned_docs/version-1/data-structures/string.md b/website/versioned_docs/version-1/data-structures/string.md similarity index 100% rename from docs/versioned_docs/version-1/data-structures/string.md rename to website/versioned_docs/version-1/data-structures/string.md diff --git a/docs/versioned_docs/version-1/deployment/azure-fluid-relay.mdx b/website/versioned_docs/version-1/deployment/azure-fluid-relay.mdx similarity index 100% rename from docs/versioned_docs/version-1/deployment/azure-fluid-relay.mdx rename to website/versioned_docs/version-1/deployment/azure-fluid-relay.mdx diff --git a/docs/versioned_docs/version-1/deployment/service-options.mdx b/website/versioned_docs/version-1/deployment/service-options.mdx similarity index 100% rename from docs/versioned_docs/version-1/deployment/service-options.mdx rename to website/versioned_docs/version-1/deployment/service-options.mdx diff --git a/docs/versioned_docs/version-1/deployment/teams.mdx b/website/versioned_docs/version-1/deployment/teams.mdx similarity index 100% rename from docs/versioned_docs/version-1/deployment/teams.mdx rename to website/versioned_docs/version-1/deployment/teams.mdx diff --git a/docs/versioned_docs/version-1/faq.mdx b/website/versioned_docs/version-1/faq.mdx similarity index 100% rename from docs/versioned_docs/version-1/faq.mdx rename to website/versioned_docs/version-1/faq.mdx diff --git a/docs/versioned_docs/version-1/glossary.mdx b/website/versioned_docs/version-1/glossary.mdx similarity index 100% rename from docs/versioned_docs/version-1/glossary.mdx rename to website/versioned_docs/version-1/glossary.mdx diff --git a/docs/versioned_docs/version-1/index.mdx b/website/versioned_docs/version-1/index.mdx similarity index 100% rename from docs/versioned_docs/version-1/index.mdx rename to website/versioned_docs/version-1/index.mdx diff --git a/docs/versioned_docs/version-1/release-notes.mdx b/website/versioned_docs/version-1/release-notes.mdx similarity index 100% rename from docs/versioned_docs/version-1/release-notes.mdx rename to website/versioned_docs/version-1/release-notes.mdx diff --git a/docs/versioned_docs/version-1/start/examples.mdx b/website/versioned_docs/version-1/start/examples.mdx similarity index 100% rename from docs/versioned_docs/version-1/start/examples.mdx rename to website/versioned_docs/version-1/start/examples.mdx diff --git a/docs/versioned_docs/version-1/start/images/shared-tree-demo.png b/website/versioned_docs/version-1/start/images/shared-tree-demo.png similarity index 100% rename from docs/versioned_docs/version-1/start/images/shared-tree-demo.png rename to website/versioned_docs/version-1/start/images/shared-tree-demo.png diff --git a/docs/versioned_docs/version-1/start/quick-start.mdx b/website/versioned_docs/version-1/start/quick-start.mdx similarity index 100% rename from docs/versioned_docs/version-1/start/quick-start.mdx rename to website/versioned_docs/version-1/start/quick-start.mdx diff --git a/docs/versioned_docs/version-1/start/tutorial.mdx b/website/versioned_docs/version-1/start/tutorial.mdx similarity index 100% rename from docs/versioned_docs/version-1/start/tutorial.mdx rename to website/versioned_docs/version-1/start/tutorial.mdx diff --git a/docs/versioned_docs/version-1/testing/telemetry.mdx b/website/versioned_docs/version-1/testing/telemetry.mdx similarity index 100% rename from docs/versioned_docs/version-1/testing/telemetry.mdx rename to website/versioned_docs/version-1/testing/telemetry.mdx diff --git a/docs/versioned_docs/version-1/testing/testing.mdx b/website/versioned_docs/version-1/testing/testing.mdx similarity index 100% rename from docs/versioned_docs/version-1/testing/testing.mdx rename to website/versioned_docs/version-1/testing/testing.mdx diff --git a/docs/versioned_docs/version-1/testing/tinylicious.mdx b/website/versioned_docs/version-1/testing/tinylicious.mdx similarity index 100% rename from docs/versioned_docs/version-1/testing/tinylicious.mdx rename to website/versioned_docs/version-1/testing/tinylicious.mdx diff --git a/docs/versioned_docs/version-1/testing/typed-telemetry.mdx b/website/versioned_docs/version-1/testing/typed-telemetry.mdx similarity index 100% rename from docs/versioned_docs/version-1/testing/typed-telemetry.mdx rename to website/versioned_docs/version-1/testing/typed-telemetry.mdx diff --git a/docs/versioned_docs/version-local/api/index.mdx b/website/versioned_docs/version-local/api/index.mdx similarity index 100% rename from docs/versioned_docs/version-local/api/index.mdx rename to website/versioned_docs/version-local/api/index.mdx diff --git a/docs/versioned_docs/version-local/index.mdx b/website/versioned_docs/version-local/index.mdx similarity index 100% rename from docs/versioned_docs/version-local/index.mdx rename to website/versioned_docs/version-local/index.mdx diff --git a/docs/versioned_sidebars/version-1-sidebars.json b/website/versioned_sidebars/version-1-sidebars.json similarity index 100% rename from docs/versioned_sidebars/version-1-sidebars.json rename to website/versioned_sidebars/version-1-sidebars.json diff --git a/docs/versioned_sidebars/version-local-sidebars.json b/website/versioned_sidebars/version-local-sidebars.json similarity index 100% rename from docs/versioned_sidebars/version-local-sidebars.json rename to website/versioned_sidebars/version-local-sidebars.json From 8ac29e9295483589f15056eaf5f458dff60597d4 Mon Sep 17 00:00:00 2001 From: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:49:27 +0000 Subject: [PATCH 2/9] style: Formatting --- .../api-documentation-layout.mjs | 10 +++-- .../render-api-documentation.mjs | 8 +--- website/src/components/community.tsx | 8 ++-- website/src/components/mockDiceRoller.tsx | 6 ++- website/src/components/shortLinks.tsx | 6 ++- website/src/css/home/banner.css | 10 ++--- .../DocsVersionDropdownNavbarItem.tsx | 5 ++- website/static/dompurify/purify.min.js | 40 ++++++------------- website/swa-cli.config.json | 28 ++++++------- 9 files changed, 57 insertions(+), 64 deletions(-) diff --git a/website/infra/api-markdown-documenter/api-documentation-layout.mjs b/website/infra/api-markdown-documenter/api-documentation-layout.mjs index 27bd75caf62f..8c53e57c2658 100644 --- a/website/infra/api-markdown-documenter/api-documentation-layout.mjs +++ b/website/infra/api-markdown-documenter/api-documentation-layout.mjs @@ -60,7 +60,8 @@ const sealedNotice = createAdmonition( children: [ { type: "text", - value: 'This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.', + value: + 'This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.', }, ], }, @@ -79,7 +80,8 @@ const inputNotice = createAdmonition( children: [ { type: "text", - value: 'This type is "input," meaning that code outside of the library defining it should not read from it. Future versions of this type may add optional members or make typing of members more general.', + value: + 'This type is "input," meaning that code outside of the library defining it should not read from it. Future versions of this type may add optional members or make typing of members more general.', }, ], }, @@ -274,7 +276,9 @@ export function layoutContent(apiItem, itemSpecificContent, config) { addSection(LayoutUtilities.createRemarksSection(apiItem, config)); // Add examples (if any) - addSection(LayoutUtilities.createExamplesSection(apiItem, config, customExamplesSectionTitle)); + addSection( + LayoutUtilities.createExamplesSection(apiItem, config, customExamplesSectionTitle), + ); // Add provided contents // Flatten contents into this section diff --git a/website/infra/api-markdown-documenter/render-api-documentation.mjs b/website/infra/api-markdown-documenter/render-api-documentation.mjs index f62e5577735d..8c89d9411538 100644 --- a/website/infra/api-markdown-documenter/render-api-documentation.mjs +++ b/website/infra/api-markdown-documenter/render-api-documentation.mjs @@ -162,9 +162,7 @@ export async function renderApiDocumentation(inputDir, outputDir, uriRootDir, ap // Skip packages that are published, but are not intended for direct public consumption. // TODO: Also skip `@fluid-internal` packages once we no longer have public, user-facing APIs that reference their contents. if ( - ["@fluid-example", "@fluid-experimental", "@fluid-private"].includes( - packageScope, - ) + ["@fluid-example", "@fluid-experimental", "@fluid-private"].includes(packageScope) ) { return true; } @@ -222,9 +220,7 @@ export async function renderApiDocumentation(inputDir, outputDir, uriRootDir, ap const frontMatter = createFrontMatter(documentApiItem, config); - fileContents = [frontMatter, generatedContentNotice, documentBody] - .join("\n\n") - .trim(); + fileContents = [frontMatter, generatedContentNotice, documentBody].join("\n\n").trim(); } catch (error) { logErrorAndRethrow( `Encountered error while rendering Markdown contents for "${documentApiItem.displayName}"`, diff --git a/website/src/components/community.tsx b/website/src/components/community.tsx index 24801b9b88de..731284e7345e 100644 --- a/website/src/components/community.tsx +++ b/website/src/components/community.tsx @@ -35,8 +35,8 @@ const links: CommunityLinkItem[] = [ Icon: DiscussionIcon, description: ( <> - Our GitHub Discussions are a great way to participate. Feel free to ask questions - or, if you can, give us a hand by answering some. + Our GitHub Discussions are a great way to participate. Feel free to ask questions or, + if you can, give us a hand by answering some. ), linkUrl: "https://www.github.com/Microsoft/fluidframework/discussions", @@ -46,8 +46,8 @@ const links: CommunityLinkItem[] = [ Icon: ReportIssuesIcon, description: ( <> - Found something not working as expected? Please file a GitHub issue, so we can take - a look together. + Found something not working as expected? Please file a GitHub issue, so we can take a + look together. ), linkUrl: "https://www.github.com/Microsoft/fluidframework/issues", diff --git a/website/src/components/mockDiceRoller.tsx b/website/src/components/mockDiceRoller.tsx index cf9342deb538..47e672d9d758 100644 --- a/website/src/components/mockDiceRoller.tsx +++ b/website/src/components/mockDiceRoller.tsx @@ -75,7 +75,11 @@ interface DiceRollerCardProps { /** * A single dice-roller view within a styled card. */ -function DiceRollerCard({ diceValue, containerId, onClick }: DiceRollerCardProps): ReactElement { +function DiceRollerCard({ + diceValue, + containerId, + onClick, +}: DiceRollerCardProps): ReactElement { const imageUrl = `https://storage.fluidframework.com/static/images/website/dice/${diceValue}.png`; return ( diff --git a/website/src/components/shortLinks.tsx b/website/src/components/shortLinks.tsx index 6e430e23cdf3..a6fc08561e11 100644 --- a/website/src/components/shortLinks.tsx +++ b/website/src/components/shortLinks.tsx @@ -25,7 +25,11 @@ export interface PackageLinkProps { /** * A convenient mechanism for linking to a package's API documentation. */ -export function PackageLink({ headingId, packageName, children }: PackageLinkProps): JSX.Element { +export function PackageLink({ + headingId, + packageName, + children, +}: PackageLinkProps): JSX.Element { const root = useLinkPathBase(); const headingPostfix = headingId === undefined ? "" : `#${headingId}`; return {children ?? packageName}; diff --git a/website/src/css/home/banner.css b/website/src/css/home/banner.css index 5b1739a02c0a..26275f5084f9 100644 --- a/website/src/css/home/banner.css +++ b/website/src/css/home/banner.css @@ -31,17 +31,15 @@ /* Light mode override */ [data-theme="light"] .ffcom-banner { - background-image: linear-gradient( - 90.5deg, - rgba(255, 255, 255, 0.9) 19.21%, - rgba(255, 255, 255, 0.1) 94.15% - ), + background-image: + linear-gradient(90.5deg, rgba(255, 255, 255, 0.9) 19.21%, rgba(255, 255, 255, 0.1) 94.15%), url("https://storage.fluidframework.com/static/images/website/home/banner-light.png"); } /* Dark mode override */ [data-theme="dark"] .ffcom-banner { - background-image: linear-gradient(90.5deg, rgba(0, 0, 0, 0.8) 19.21%, rgba(0, 0, 0, 0.3)), + background-image: + linear-gradient(90.5deg, rgba(0, 0, 0, 0.8) 19.21%, rgba(0, 0, 0, 0.3)), url("https://storage.fluidframework.com/static/images/website/home/banner-dark.png"); } diff --git a/website/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx b/website/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx index e8682a0e6a35..8f07dbd15952 100644 --- a/website/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx +++ b/website/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx @@ -77,7 +77,10 @@ export default function DocsVersionDropdownNavbarItem({ const versions = useVersions(docsPluginId); const { savePreferredVersionName } = useDocsPreferredVersion(docsPluginId); - function versionToAccessibleLink(version: GlobalVersion, index: number): AccessibleLinkProps { + function versionToAccessibleLink( + version: GlobalVersion, + index: number, + ): AccessibleLinkProps { const targetDoc = getVersionTargetDoc(version, activeDocContext); return { "label": version.label, diff --git a/website/static/dompurify/purify.min.js b/website/static/dompurify/purify.min.js index 6f72325ca46f..750f0e9abf8b 100644 --- a/website/static/dompurify/purify.min.js +++ b/website/static/dompurify/purify.min.js @@ -944,10 +944,7 @@ if ( ((e && "object" == typeof e) || (e = {}), (e = D(e)), - (ut = - -1 === mt.indexOf(e.PARSER_MEDIA_TYPE) - ? "text/html" - : e.PARSER_MEDIA_TYPE), + (ut = -1 === mt.indexOf(e.PARSER_MEDIA_TYPE) ? "text/html" : e.PARSER_MEDIA_TYPE), (pt = "application/xhtml+xml" === ut ? g : h), (Ne = _(e, "ALLOWED_TAGS") ? w({}, e.ALLOWED_TAGS, pt) : Re), (we = _(e, "ALLOWED_ATTR") ? w({}, e.ALLOWED_ATTR, pt) : Oe), @@ -985,8 +982,7 @@ ht(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (De.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && - "boolean" == - typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && + "boolean" == typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (De.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ke && (xe = !1), @@ -1001,8 +997,7 @@ e.ADD_TAGS && (Ne === Re && (Ne = D(Ne)), w(Ne, e.ADD_TAGS, pt)), e.ADD_ATTR && (we === Oe && (we = D(we)), w(we, e.ADD_ATTR, pt)), e.ADD_URI_SAFE_ATTR && w(Je, e.ADD_URI_SAFE_ATTR, pt), - e.FORBID_CONTENTS && - ($e === Ke && ($e = D($e)), w($e, e.FORBID_CONTENTS, pt)), + e.FORBID_CONTENTS && ($e === Ke && ($e = D($e)), w($e, e.FORBID_CONTENTS, pt)), je && (Ne["#text"] = !0), ze && w(Ne, ["html", "head", "body"]), Ne.table && (w(Ne, ["tbody"]), delete ve.tbody), @@ -1020,8 +1015,7 @@ } else void 0 === le && (le = (function (e, t) { - if ("object" != typeof e || "function" != typeof e.createPolicy) - return null; + if ("object" != typeof e || "function" != typeof e.createPolicy) return null; let n = null; const o = "data-tt-policy-suffix"; t && t.hasAttribute(o) && (n = t.getAttribute(o)); @@ -1033,10 +1027,7 @@ }); } catch (e) { return ( - console.warn( - "TrustedTypes policy " + r + " could not be created.", - ), - null + console.warn("TrustedTypes policy " + r + " could not be created."), null ); } })(j, c)), @@ -1161,8 +1152,7 @@ if (n && t) { for (let o = n.length - 1; o >= 0; --o) { const r = $(n[o], !0); - (r.__removalCount = (e.__removalCount || 0) + 1), - t.insertBefore(r, re(e)); + (r.__removalCount = (e.__removalCount || 0) + 1), t.insertBefore(r, re(e)); } } } @@ -1198,7 +1188,7 @@ })(e) ? (Et(e), !0) : ("noscript" !== n && "noembed" !== n && "noframes" !== n) || - !S(/<\/no(script|embed|frames)/i, e.innerHTML) + !S(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ke && e.nodeType === Q && ((t = e.textContent), @@ -1206,8 +1196,7 @@ t = y(t, e, " "); }), e.textContent !== t && - (f(o.removed, { element: e.cloneNode() }), - (e.textContent = t))), + (f(o.removed, { element: e.cloneNode() }), (e.textContent = t))), Rt(de.afterSanitizeElements, e, null), !1) : (Et(e), !0); @@ -1222,10 +1211,8 @@ (Dt(e) && ((De.tagNameCheck instanceof RegExp && S(De.tagNameCheck, e)) || (De.tagNameCheck instanceof Function && De.tagNameCheck(e))) && - ((De.attributeNameCheck instanceof RegExp && - S(De.attributeNameCheck, t)) || - (De.attributeNameCheck instanceof Function && - De.attributeNameCheck(t)))) || + ((De.attributeNameCheck instanceof RegExp && S(De.attributeNameCheck, t)) || + (De.attributeNameCheck instanceof Function && De.attributeNameCheck(t)))) || ("is" === t && De.allowCustomizedBuiltInElements && ((De.tagNameCheck instanceof RegExp && S(De.tagNameCheck, n)) || @@ -1274,9 +1261,7 @@ (n.forceKeepAttr = void 0), Rt(de.uponSanitizeAttribute, e, n), (f = n.attrValue), - !Ye || - ("id" !== s && "name" !== s) || - (At(a, e), (f = "user-content-" + f)), + !Ye || ("id" !== s && "name" !== s) || (At(a, e), (f = "user-content-" + f)), Ue && S(/((--!?|])>)|<\/(style|title)/i, f)) ) { At(a, e); @@ -1364,8 +1349,7 @@ if (Xe) return e; if (Fe) { if (Be) - for (l = me.call(n.ownerDocument); n.firstChild; ) - l.appendChild(n.firstChild); + for (l = me.call(n.ownerDocument); n.firstChild; ) l.appendChild(n.firstChild); else l = n; return (we.shadowroot || we.shadowrootmode) && (l = fe.call(a, l, !0)), l; } diff --git a/website/swa-cli.config.json b/website/swa-cli.config.json index 243ef24131c9..84a0104df51c 100644 --- a/website/swa-cli.config.json +++ b/website/swa-cli.config.json @@ -1,16 +1,16 @@ { - "$schema": "https://aka.ms/azure/static-web-apps-cli/schema", - "configurations": { - "ff-doc-site": { - "appLocation": ".", - "outputLocation": "./build", - "appBuildCommand": "npm run build", - "run": "npm run serve", - "appDevserverUrl": "http://localhost:3000", - "swaConfigLocation": ".", - "apiLocation": "./api", - "appName": "ff-doc-site", - "resourceGroup": "website" - } - } + "$schema": "https://aka.ms/azure/static-web-apps-cli/schema", + "configurations": { + "ff-doc-site": { + "appLocation": ".", + "outputLocation": "./build", + "appBuildCommand": "npm run build", + "run": "npm run serve", + "appDevserverUrl": "http://localhost:3000", + "swaConfigLocation": ".", + "apiLocation": "./api", + "appName": "ff-doc-site", + "resourceGroup": "website" + } + } } From 188d4794a7fbeec31d411edc5fc9b92c7d389d7a Mon Sep 17 00:00:00 2001 From: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:51:24 +0000 Subject: [PATCH 3/9] docs: Fix embed --- packages/framework/presence/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework/presence/README.md b/packages/framework/presence/README.md index 9ceadfd4b602..278efec8ccac 100644 --- a/packages/framework/presence/README.md +++ b/packages/framework/presence/README.md @@ -43,7 +43,7 @@ API documentation for **@fluidframework/presence** is available at - + From 927fff461f1add29e392e94a46b717c28f770b1e Mon Sep 17 00:00:00 2001 From: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com> Date: Wed, 3 Jun 2026 16:55:07 -0700 Subject: [PATCH 4/9] style: Revert formatting changes --- .../src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/website/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx b/website/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx index 8f07dbd15952..e8682a0e6a35 100644 --- a/website/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx +++ b/website/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx @@ -77,10 +77,7 @@ export default function DocsVersionDropdownNavbarItem({ const versions = useVersions(docsPluginId); const { savePreferredVersionName } = useDocsPreferredVersion(docsPluginId); - function versionToAccessibleLink( - version: GlobalVersion, - index: number, - ): AccessibleLinkProps { + function versionToAccessibleLink(version: GlobalVersion, index: number): AccessibleLinkProps { const targetDoc = getVersionTargetDoc(version, activeDocContext); return { "label": version.label, From 4a4e49f864440d19f2d76a73901d045b36bd5854 Mon Sep 17 00:00:00 2001 From: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com> Date: Wed, 3 Jun 2026 16:57:59 -0700 Subject: [PATCH 5/9] style: Revert formatting changes Co-authored-by: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com> --- .../api-documentation-layout.mjs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/website/infra/api-markdown-documenter/api-documentation-layout.mjs b/website/infra/api-markdown-documenter/api-documentation-layout.mjs index 8c53e57c2658..27bd75caf62f 100644 --- a/website/infra/api-markdown-documenter/api-documentation-layout.mjs +++ b/website/infra/api-markdown-documenter/api-documentation-layout.mjs @@ -60,8 +60,7 @@ const sealedNotice = createAdmonition( children: [ { type: "text", - value: - 'This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.', + value: 'This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.', }, ], }, @@ -80,8 +79,7 @@ const inputNotice = createAdmonition( children: [ { type: "text", - value: - 'This type is "input," meaning that code outside of the library defining it should not read from it. Future versions of this type may add optional members or make typing of members more general.', + value: 'This type is "input," meaning that code outside of the library defining it should not read from it. Future versions of this type may add optional members or make typing of members more general.', }, ], }, @@ -276,9 +274,7 @@ export function layoutContent(apiItem, itemSpecificContent, config) { addSection(LayoutUtilities.createRemarksSection(apiItem, config)); // Add examples (if any) - addSection( - LayoutUtilities.createExamplesSection(apiItem, config, customExamplesSectionTitle), - ); + addSection(LayoutUtilities.createExamplesSection(apiItem, config, customExamplesSectionTitle)); // Add provided contents // Flatten contents into this section From c04217d8c2ac1372023db07080fc7ed8a91d3e81 Mon Sep 17 00:00:00 2001 From: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com> Date: Wed, 3 Jun 2026 16:59:09 -0700 Subject: [PATCH 6/9] style: Revert formatting changes Co-authored-by: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com> --- .../api-markdown-documenter/render-api-documentation.mjs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/website/infra/api-markdown-documenter/render-api-documentation.mjs b/website/infra/api-markdown-documenter/render-api-documentation.mjs index 8c89d9411538..1e00dbce8292 100644 --- a/website/infra/api-markdown-documenter/render-api-documentation.mjs +++ b/website/infra/api-markdown-documenter/render-api-documentation.mjs @@ -162,7 +162,9 @@ export async function renderApiDocumentation(inputDir, outputDir, uriRootDir, ap // Skip packages that are published, but are not intended for direct public consumption. // TODO: Also skip `@fluid-internal` packages once we no longer have public, user-facing APIs that reference their contents. if ( - ["@fluid-example", "@fluid-experimental", "@fluid-private"].includes(packageScope) + ["@fluid-example", "@fluid-experimental", "@fluid-private"].includes( + packageScope + ) ) { return true; } @@ -220,7 +222,9 @@ export async function renderApiDocumentation(inputDir, outputDir, uriRootDir, ap const frontMatter = createFrontMatter(documentApiItem, config); - fileContents = [frontMatter, generatedContentNotice, documentBody].join("\n\n").trim(); + fileContents = [frontMatter, generatedContentNotice, documentBody] + .join("\n\n") + .trim(); } catch (error) { logErrorAndRethrow( `Encountered error while rendering Markdown contents for "${documentApiItem.displayName}"`, From 0eb05d5e18736446ba5ddd72b1146d6341c812b7 Mon Sep 17 00:00:00 2001 From: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com> Date: Wed, 3 Jun 2026 16:59:37 -0700 Subject: [PATCH 7/9] style: Revert formatting changes --- .../infra/api-markdown-documenter/render-api-documentation.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/infra/api-markdown-documenter/render-api-documentation.mjs b/website/infra/api-markdown-documenter/render-api-documentation.mjs index 1e00dbce8292..f62e5577735d 100644 --- a/website/infra/api-markdown-documenter/render-api-documentation.mjs +++ b/website/infra/api-markdown-documenter/render-api-documentation.mjs @@ -163,7 +163,7 @@ export async function renderApiDocumentation(inputDir, outputDir, uriRootDir, ap // TODO: Also skip `@fluid-internal` packages once we no longer have public, user-facing APIs that reference their contents. if ( ["@fluid-example", "@fluid-experimental", "@fluid-private"].includes( - packageScope + packageScope, ) ) { return true; From 16535bc7b2278b1f1aa273b560c6c845c010e8f4 Mon Sep 17 00:00:00 2001 From: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com> Date: Thu, 4 Jun 2026 00:04:31 +0000 Subject: [PATCH 8/9] style: Revert formatting changes --- website/src/components/community.tsx | 8 ++--- website/src/components/mockDiceRoller.tsx | 6 +--- website/src/components/shortLinks.tsx | 6 +--- website/src/css/home/banner.css | 10 +++--- website/static/dompurify/purify.min.js | 40 ++++++++++++++++------- website/swa-cli.config.json | 28 ++++++++-------- 6 files changed, 54 insertions(+), 44 deletions(-) diff --git a/website/src/components/community.tsx b/website/src/components/community.tsx index 731284e7345e..24801b9b88de 100644 --- a/website/src/components/community.tsx +++ b/website/src/components/community.tsx @@ -35,8 +35,8 @@ const links: CommunityLinkItem[] = [ Icon: DiscussionIcon, description: ( <> - Our GitHub Discussions are a great way to participate. Feel free to ask questions or, - if you can, give us a hand by answering some. + Our GitHub Discussions are a great way to participate. Feel free to ask questions + or, if you can, give us a hand by answering some. ), linkUrl: "https://www.github.com/Microsoft/fluidframework/discussions", @@ -46,8 +46,8 @@ const links: CommunityLinkItem[] = [ Icon: ReportIssuesIcon, description: ( <> - Found something not working as expected? Please file a GitHub issue, so we can take a - look together. + Found something not working as expected? Please file a GitHub issue, so we can take + a look together. ), linkUrl: "https://www.github.com/Microsoft/fluidframework/issues", diff --git a/website/src/components/mockDiceRoller.tsx b/website/src/components/mockDiceRoller.tsx index 47e672d9d758..cf9342deb538 100644 --- a/website/src/components/mockDiceRoller.tsx +++ b/website/src/components/mockDiceRoller.tsx @@ -75,11 +75,7 @@ interface DiceRollerCardProps { /** * A single dice-roller view within a styled card. */ -function DiceRollerCard({ - diceValue, - containerId, - onClick, -}: DiceRollerCardProps): ReactElement { +function DiceRollerCard({ diceValue, containerId, onClick }: DiceRollerCardProps): ReactElement { const imageUrl = `https://storage.fluidframework.com/static/images/website/dice/${diceValue}.png`; return ( diff --git a/website/src/components/shortLinks.tsx b/website/src/components/shortLinks.tsx index a6fc08561e11..6e430e23cdf3 100644 --- a/website/src/components/shortLinks.tsx +++ b/website/src/components/shortLinks.tsx @@ -25,11 +25,7 @@ export interface PackageLinkProps { /** * A convenient mechanism for linking to a package's API documentation. */ -export function PackageLink({ - headingId, - packageName, - children, -}: PackageLinkProps): JSX.Element { +export function PackageLink({ headingId, packageName, children }: PackageLinkProps): JSX.Element { const root = useLinkPathBase(); const headingPostfix = headingId === undefined ? "" : `#${headingId}`; return {children ?? packageName}; diff --git a/website/src/css/home/banner.css b/website/src/css/home/banner.css index 26275f5084f9..5b1739a02c0a 100644 --- a/website/src/css/home/banner.css +++ b/website/src/css/home/banner.css @@ -31,15 +31,17 @@ /* Light mode override */ [data-theme="light"] .ffcom-banner { - background-image: - linear-gradient(90.5deg, rgba(255, 255, 255, 0.9) 19.21%, rgba(255, 255, 255, 0.1) 94.15%), + background-image: linear-gradient( + 90.5deg, + rgba(255, 255, 255, 0.9) 19.21%, + rgba(255, 255, 255, 0.1) 94.15% + ), url("https://storage.fluidframework.com/static/images/website/home/banner-light.png"); } /* Dark mode override */ [data-theme="dark"] .ffcom-banner { - background-image: - linear-gradient(90.5deg, rgba(0, 0, 0, 0.8) 19.21%, rgba(0, 0, 0, 0.3)), + background-image: linear-gradient(90.5deg, rgba(0, 0, 0, 0.8) 19.21%, rgba(0, 0, 0, 0.3)), url("https://storage.fluidframework.com/static/images/website/home/banner-dark.png"); } diff --git a/website/static/dompurify/purify.min.js b/website/static/dompurify/purify.min.js index 750f0e9abf8b..6f72325ca46f 100644 --- a/website/static/dompurify/purify.min.js +++ b/website/static/dompurify/purify.min.js @@ -944,7 +944,10 @@ if ( ((e && "object" == typeof e) || (e = {}), (e = D(e)), - (ut = -1 === mt.indexOf(e.PARSER_MEDIA_TYPE) ? "text/html" : e.PARSER_MEDIA_TYPE), + (ut = + -1 === mt.indexOf(e.PARSER_MEDIA_TYPE) + ? "text/html" + : e.PARSER_MEDIA_TYPE), (pt = "application/xhtml+xml" === ut ? g : h), (Ne = _(e, "ALLOWED_TAGS") ? w({}, e.ALLOWED_TAGS, pt) : Re), (we = _(e, "ALLOWED_ATTR") ? w({}, e.ALLOWED_ATTR, pt) : Oe), @@ -982,7 +985,8 @@ ht(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (De.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && - "boolean" == typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && + "boolean" == + typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (De.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ke && (xe = !1), @@ -997,7 +1001,8 @@ e.ADD_TAGS && (Ne === Re && (Ne = D(Ne)), w(Ne, e.ADD_TAGS, pt)), e.ADD_ATTR && (we === Oe && (we = D(we)), w(we, e.ADD_ATTR, pt)), e.ADD_URI_SAFE_ATTR && w(Je, e.ADD_URI_SAFE_ATTR, pt), - e.FORBID_CONTENTS && ($e === Ke && ($e = D($e)), w($e, e.FORBID_CONTENTS, pt)), + e.FORBID_CONTENTS && + ($e === Ke && ($e = D($e)), w($e, e.FORBID_CONTENTS, pt)), je && (Ne["#text"] = !0), ze && w(Ne, ["html", "head", "body"]), Ne.table && (w(Ne, ["tbody"]), delete ve.tbody), @@ -1015,7 +1020,8 @@ } else void 0 === le && (le = (function (e, t) { - if ("object" != typeof e || "function" != typeof e.createPolicy) return null; + if ("object" != typeof e || "function" != typeof e.createPolicy) + return null; let n = null; const o = "data-tt-policy-suffix"; t && t.hasAttribute(o) && (n = t.getAttribute(o)); @@ -1027,7 +1033,10 @@ }); } catch (e) { return ( - console.warn("TrustedTypes policy " + r + " could not be created."), null + console.warn( + "TrustedTypes policy " + r + " could not be created.", + ), + null ); } })(j, c)), @@ -1152,7 +1161,8 @@ if (n && t) { for (let o = n.length - 1; o >= 0; --o) { const r = $(n[o], !0); - (r.__removalCount = (e.__removalCount || 0) + 1), t.insertBefore(r, re(e)); + (r.__removalCount = (e.__removalCount || 0) + 1), + t.insertBefore(r, re(e)); } } } @@ -1188,7 +1198,7 @@ })(e) ? (Et(e), !0) : ("noscript" !== n && "noembed" !== n && "noframes" !== n) || - !S(/<\/no(script|embed|frames)/i, e.innerHTML) + !S(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ke && e.nodeType === Q && ((t = e.textContent), @@ -1196,7 +1206,8 @@ t = y(t, e, " "); }), e.textContent !== t && - (f(o.removed, { element: e.cloneNode() }), (e.textContent = t))), + (f(o.removed, { element: e.cloneNode() }), + (e.textContent = t))), Rt(de.afterSanitizeElements, e, null), !1) : (Et(e), !0); @@ -1211,8 +1222,10 @@ (Dt(e) && ((De.tagNameCheck instanceof RegExp && S(De.tagNameCheck, e)) || (De.tagNameCheck instanceof Function && De.tagNameCheck(e))) && - ((De.attributeNameCheck instanceof RegExp && S(De.attributeNameCheck, t)) || - (De.attributeNameCheck instanceof Function && De.attributeNameCheck(t)))) || + ((De.attributeNameCheck instanceof RegExp && + S(De.attributeNameCheck, t)) || + (De.attributeNameCheck instanceof Function && + De.attributeNameCheck(t)))) || ("is" === t && De.allowCustomizedBuiltInElements && ((De.tagNameCheck instanceof RegExp && S(De.tagNameCheck, n)) || @@ -1261,7 +1274,9 @@ (n.forceKeepAttr = void 0), Rt(de.uponSanitizeAttribute, e, n), (f = n.attrValue), - !Ye || ("id" !== s && "name" !== s) || (At(a, e), (f = "user-content-" + f)), + !Ye || + ("id" !== s && "name" !== s) || + (At(a, e), (f = "user-content-" + f)), Ue && S(/((--!?|])>)|<\/(style|title)/i, f)) ) { At(a, e); @@ -1349,7 +1364,8 @@ if (Xe) return e; if (Fe) { if (Be) - for (l = me.call(n.ownerDocument); n.firstChild; ) l.appendChild(n.firstChild); + for (l = me.call(n.ownerDocument); n.firstChild; ) + l.appendChild(n.firstChild); else l = n; return (we.shadowroot || we.shadowrootmode) && (l = fe.call(a, l, !0)), l; } diff --git a/website/swa-cli.config.json b/website/swa-cli.config.json index 84a0104df51c..243ef24131c9 100644 --- a/website/swa-cli.config.json +++ b/website/swa-cli.config.json @@ -1,16 +1,16 @@ { - "$schema": "https://aka.ms/azure/static-web-apps-cli/schema", - "configurations": { - "ff-doc-site": { - "appLocation": ".", - "outputLocation": "./build", - "appBuildCommand": "npm run build", - "run": "npm run serve", - "appDevserverUrl": "http://localhost:3000", - "swaConfigLocation": ".", - "apiLocation": "./api", - "appName": "ff-doc-site", - "resourceGroup": "website" - } - } + "$schema": "https://aka.ms/azure/static-web-apps-cli/schema", + "configurations": { + "ff-doc-site": { + "appLocation": ".", + "outputLocation": "./build", + "appBuildCommand": "npm run build", + "run": "npm run serve", + "appDevserverUrl": "http://localhost:3000", + "swaConfigLocation": ".", + "apiLocation": "./api", + "appName": "ff-doc-site", + "resourceGroup": "website" + } + } } From d185c26d2d7a38c132a7e15d7f9fd9ab99f0397a Mon Sep 17 00:00:00 2001 From: Joshua Smithrud <54606601+Josmithr@users.noreply.github.com> Date: Thu, 4 Jun 2026 23:15:51 +0000 Subject: [PATCH 9/9] fix: Exclude website dir from formatting --- biome.jsonc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biome.jsonc b/biome.jsonc index cffc0733c364..bcffc77c3325 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -127,7 +127,7 @@ // Paths below are outside the client release group and aren't configured for biome. "!**/common/build/**", "!**/common/lib/**", - "!**/docs/**", + "!**/website/**", "!**/server/**", "!**/tools/benchmark/**", "!**/tools/getkeys/**",