Re-platform both microsites onto the new aws website archetype#2
Merged
Merged
Conversation
- thin docusaurus.config.js via createConfig from stackql/docusaurus-config, vendored at build time (yarn vendor-config prestart/prebuild hook; .shared-config gitignored) + provider.js identity module + shared sidebars/src/static from the archetype - Docusaurus ^3.10.1 (faster, plugin-ideal-image, theme-mermaid) with the archetype's overrides/resolutions; sharp pinned ^0.33 on top (0.32 binary download breaks in restricted environments) - monorepo fix: post-mutate projectName + per-site docs editUrl (createConfig derives stackql-provider-anthropicadmin otherwise); slug-derived admin URL is correct as-is - deployment vector unchanged: Netlify per-site netlify.toml retained; CNAME and .nojekyll (Pages artifacts) not carried over - both sites yarn build clean, zero warnings; sitemaps verified Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M5qQSBivc7W458yqJG9i5a
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Applies the new microsite pattern from
stackql-registry/stackql-provider-aws(stackql_aws_provider/website,stackql-providerbranch) to both sites in this repo, per request — deployment vector notwithstanding (this repo stays on Netlify).What changed (both sites)
docusaurus.config.jsis now a small wrapper callingcreateConfigfrom./.shared-config/index.js;stackql/docusaurus-config@mainis shallow-cloned at build time viayarn vendor-config(wired asprestart/prebuild), and.shared-config/is gitignored — never committed.provider.jscarries the site identity (providerName/providerTitle), consumed by both the config andsidebars.js.@docusaurus/faster(future: {v4, faster}),plugin-ideal-image,theme-mermaid, and the archetype'soverrides/resolutionsblock. One addition on top of the archetype: sharp pinned^0.33(plugin-ideal-image resolves sharp 0.32, whose GitHub-releases binary download fails in restricted environments; 0.33+ ships prebuilt npm packages).global.css, TSX footer theme,site.webmanifest, favicon set); the old databricks-derivedsrc/pages/*redirect stubs are gone — the shared config's redirects plugin now provides/providers/*,/install,/blog, etc.createConfigderivesprojectName/editUrlasstackql-provider-<name-sans-underscores>(→stackql-provider-anthropicadmin), which is wrong for this two-provider repo. Both configs post-mutateprojectName = 'stackql-provider-anthropic'and the per-sitedocs.editUrl. The slug-derived site URL (anthropic-admin-provider.stackql.iofromanthropic_admin) is correct as-is.static/CNAMEand.nojekyll(GitHub Pages deployment artifacts); per-sitenetlify.tomlretained.Verification
yarn buildclean (zero warnings); the prebuild vendor-config clone runs as part of the build.https://anthropic-admin-provider.stackql.io./img/stackql-<provider>-provider-featured-image.pngreferences satisfied by aliasingstackql-cover.pngper site.🤖 Generated with Claude Code
https://claude.ai/code/session_01M5qQSBivc7W458yqJG9i5a
Generated by Claude Code