Skip to content

chore(docs): migrate documentation to DevHub with GH Pages redirects#382

Draft
pkosiec wants to merge 3 commits into
mainfrom
pkosiec/deprecate-docs-website
Draft

chore(docs): migrate documentation to DevHub with GH Pages redirects#382
pkosiec wants to merge 3 commits into
mainfrom
pkosiec/deprecate-docs-website

Conversation

@pkosiec
Copy link
Copy Markdown
Member

@pkosiec pkosiec commented May 12, 2026

Summary

Migrates AppKit documentation from GitHub Pages to DevHub.

  • All doc links in code now point to DevHub
  • GitHub Pages serves redirects for all existing URLs (post-build script replaces HTML with redirect pages)
  • Static files stay on GH Pages: JSON schemas, llms.txt, .md files (needed for npm packaging and IDE validation)

Testing

Build and serve docs locally:

pnpm docs:build && pnpm docs:serve

Verify these URLs redirect to DevHub:

These should still be served directly (no redirect):

pkosiec added 3 commits May 12, 2026 19:05
Point all documentation links to https://www.databricks.com/devhub/docs/appkit/v0/.
Add a custom Docusaurus postBuild plugin that replaces all generated HTML
with redirect pages pointing to DevHub, while preserving llms.txt, .md files,
and JSON schemas for npm packaging and IDE validation.

Schema $schema/$id URLs remain on GitHub Pages (databricks.github.io/appkit/schemas/).

Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
llms.txt is a static file still served from GH Pages (redirect plugin
only replaces HTML). Schemas are also hosted on GH Pages, not devhub.

Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
The Docusaurus postBuild hooks run in parallel, causing the redirect
plugin to corrupt llms.txt and .md files by replacing HTML before the
llms-txt plugin extracts content. Move redirect logic to a standalone
script that runs after docusaurus build completes.

Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
@pkosiec pkosiec force-pushed the pkosiec/deprecate-docs-website branch from 7c7a0fe to 41ed381 Compare May 12, 2026 19:46
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