Skip to content

fix(docs): update GitHub Pages site configuration for repository rename#633

Merged
GarthDB merged 1 commit intomainfrom
fix/gh-pages-site-config
Nov 18, 2025
Merged

fix(docs): update GitHub Pages site configuration for repository rename#633
GarthDB merged 1 commit intomainfrom
fix/gh-pages-site-config

Conversation

@GarthDB
Copy link
Member

@GarthDB GarthDB commented Nov 18, 2025

Summary

Fixes font loading and asset path issues on the GitHub Pages site after the repository rename from spectrum-tokens to spectrum-design-data.

Changes

  • Updated Next.js site config: Changed basePath and assetPrefix from /spectrum-tokens/ to /spectrum-design-data/
  • Fixed font loading: Adobe Clean fonts now load correctly instead of falling back to system fonts
  • Updated repository URLs: All docs package.json files now reference the new repository

Affected Packages

  • docs/site (Next.js config + package.json)
  • docs/visualizer (package.json)
  • docs/s2-visualizer (package.json)
  • docs/s2-tokens-viewer (package.json)
  • docs/release-timeline (package.json)

Why Separate PR?

This fix is independent of the larger repository rename changes in #632 and should be merged quickly to fix the currently broken fonts on the live site.

Testing

After merge, the site will rebuild and fonts should load correctly at:

Related: #632, #361

- Updated Next.js site config to use /spectrum-design-data/ base path
- Fixed font and asset loading issues on GitHub Pages
- Updated repository URLs in all docs package.json files:
  - docs/site
  - docs/visualizer
  - docs/s2-visualizer
  - docs/s2-tokens-viewer
  - docs/release-timeline
@changeset-bot
Copy link

changeset-bot bot commented Nov 18, 2025

🦋 Changeset detected

Latest commit: ab64eaa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
site Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@GarthDB
Copy link
Member Author

GarthDB commented Nov 18, 2025

Run report for ab64eaaa

Total time: 28.7s | Comparison time: 41.1s | Estimated savings: 12.4s (30.2% faster)

Action Time Status Info
⬛️ SetupProto(0.51.4) 0ms Skipped
🟩 SyncWorkspace 6.9ms Passed
🟩 SyncProject(s2-visualizer) 0.4ms Passed
🟩 SyncProject(visualizer) 0.4ms Passed
🟩 SyncProject(componentSchemas) 0.5ms Passed
🟩 SyncProject(tokens) 0.4ms Passed
🟩 SyncProject(site) 0.5ms Passed
🟩 SyncProject(viewer) 0.3ms Passed
🟩 RunTask(site:copyTokenTypeSchema) 600ms Passed
🟩 RunTask(site:copyComponentSchema) 627.9ms Passed
🟩 RunTask(viewer:clean) 651.7ms Passed
🟩 RunTask(viewer:export) 191.3ms Passed
⬛️ SetupToolchain(node:~20.12) 1.3s Skipped
🟩 InstallWorkspaceDeps(node:~20.12) 7.8s Passed
🟩 RunTask(site:clean) 327.3ms Passed
🟩 RunTask(s2-visualizer:typescript) 4.3s Passed
🟩 RunTask(visualizer:typescript) 4.5s Passed
🟩 RunTask(s2-visualizer:build) 3.5s Passed
🟩 RunTask(visualizer:build) 3.3s Passed
🟩 RunTask(site:build) 19.5s Passed
And 1 more...
Expanded report
Action Time Status Info
🟩 RunTask(site:export) 105.7ms Passed
Touched files
.changeset/gh-pages-site-fix.md
docs/release-timeline/package.json
docs/s2-tokens-viewer/package.json
docs/s2-visualizer/package.json
docs/site/package.json
docs/visualizer/package.json

@GarthDB GarthDB merged commit 662285a into main Nov 18, 2025
5 checks passed
@GarthDB GarthDB deleted the fix/gh-pages-site-config branch November 18, 2025 22:55
GarthDB added a commit that referenced this pull request Nov 18, 2025
The critical config change from PR #633 was missed. This updates the
production asset paths to fix font loading on GitHub Pages.
GarthDB added a commit that referenced this pull request Nov 18, 2025
The critical config change from PR #633 was missed. This updates the
production asset paths to fix font loading on GitHub Pages.
This was referenced Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant