feat(docs): guided adoption IA — theme, hubs, section folders, and redirects#121
Merged
Conversation
…ilds Switch the docs theme to sphinx-immaterial with Databricks styling, a landing/quick-start IA, and the native version dropdown. Build each version from that ref's own conf/source so historical RTD docs stay intact, emit a shared superset versions.json for both selectors, and extend 0.x selection back to 0.12 (latest patch per minor).
Keep historical docs on main's conf so the version selector survives old tags, fix immaterial version_json resolution, and standardize feature pages with Overview sections, titled Databricks Docs links, and soft brand metadata badges.
Replace the flat/nested Framework parent with nine top-level Features sections, collapse inactive sidebar branches, and keep an A–Z index for lookup. Checkpoint before comparing hub layout E.
…rome Replace the split deploy pages with a Deploy hub (before you deploy, local, CI/CD), promote Samples and Architecture in top nav, and reorder Build (spec reference before patterns, Deploy after Build). Fix scroll-spy header title swap so the site name and version selector stay visible; drop the orchestration stub and retired deploy entry points.
Hub-based Deploy and Contributors sections, split framework vs pipeline local deploy guides, and contributor env/workflow/docs rewrites. Refresh home landing (nav-aligned cards, tagline, onboarding layout) and align What is with two-bundle and wheel/contrib messaging. Merge main for package namespace (#87), tpch sample rebuild, and unit tests. Bump VERSION to v0.21.0.
Drop duplicate ADR-0008 for docs information architecture; package ADR-0008 remains the canonical 0008 decision record.
Refresh the docs information architecture ahead of the planned site-wide move to folder/index hubs and post-build redirects: Features hub copy, category hub renames, schema management split, SDP flows and target catalog/schema terminology, shared inline architecture diagram, Quick Start RST migration, and sphinx-immaterial theme and navigation updates.
Move flat Sphinx sources into topic folders (get-started, architecture, build, deploy, features, contributors, samples) and update navigation, cross-references, and conf wiring. Add redirect YAML and post-build HTML stubs so legacy URLs keep working for current and local previews. Also refresh guided-adoption content: streamline CI/CD page layout, align Quick Start and samples README with deploy steps, and update the platform features hub intro.
Replace PNG topology diagrams with Mermaid flowcharts on pattern pages, drop the legacy PNG comparison blocks, and update Change Flow wording to auto CDC flow terminology. Restructure Example Data Flow sections from nested bullet lists to headings so sample tables no longer render as blockquotes, and extend lf-content-table CSS for raw HTML tables. Use absolute :doc: paths across build, deploy, features, contributors, get-started, and samples docs so links resolve reliably after the IA folder move. Remove a duplicate empty toctree from the site index and ignore docs/build/ in .gitignore.
…er logo Restructure Build > Patterns into a catalog hub with Base Patterns and Advanced composition stubs, plus standalone scaling and mix-and-match pages. Replace static pattern PNGs with lf-arch-styled Mermaid flowcharts, client-side rendering via mermaid-zoom.js, and legacy URL redirects. Fix immaterial search on flat builds by gating version_dropdown and normalizing stopwords in language_data.js. Update the header logo to the agreed block LFF monogram at nav-friendly scale on #EB1600.
CI installs docs deps with --require-hashes --no-deps from the lockfile. sphinx-immaterial was listed in requirements-docs.txt but missing from the lock, so conf.py failed to import the theme in GitHub Actions.
Load sphinx-immaterial mermaid and task-list directives during spelling builds, stop orphaning Mermaid source as spell-checked text, and skip non-prose diagram/raw nodes. Extend spelling_wordlist.txt with framework and docs vocabulary flagged by the checker.
Use main conf for current and tags >= v0.21.0 while keeping v0.20.0 conf for older release tags so legacy RTD layouts still build after IA rebrand.
Raise the header inner bar above sticky in-header tabs when the version dropdown is open, and override visited/hover link colors so preview and release links stay readable in dark mode. Also retitle the deploy local guide to “Deploy pipeline bundles”.
Convert UK spellings across docs and ADRs to US forms and update the spelling wordlist accordingly. Add a “Why teams use it” bullet on the What is page for centralized framework configuration inheritance at runtime.
haillew
approved these changes
Jul 13, 2026
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.
Summary
Redesigns the Lakeflow Framework documentation for guided adoption — moving from reference-heavy pages to a hub-based, step-oriented experience aligned with how teams deploy and build (Closes #119).
sphinx_immaterialwith Databricks-branded CSS, LFF logo, WAF-style hero landing, and nav-aligned home cards (Architecture · Samples · Build · Deploy · Features)docs/source/*.rstinto topic folders (get-started/,architecture/,build/,deploy/,features/,contributors/,samples/) withindex.rsthubs and kebab-case page namesdocs/redirects/*.yamlanddocs/scripts/write_redirects.py; post-build HTML stubs preserve legacy URLs forcurrentandlocal-branch-previewbuildscontributors/dev-docs.rstdocuments section-folder layout and redirect YAML maintenance.. task-list::prerequisites on Quick Start, CI/CD, and local deploy pages; copy buttons onlf-command-blockcommand snippets; Mermaid deploy-order diagram on before-you-deploylakeflow-frameworkwheel, and optionalcontrib; Quick Start andsamples/README.mdaligned on deploy stepsVERSIONtov0.21.0; harden multiversion docs build (select_versions.py,build_versioned_docs.py); addsphinx-immaterialtorequirements-docs.txtHow to preview this branch (recommended)
This PR changes theme, navigation, and folder layout — use the multiversion preview build, not plain
make html, so the version switcher and redirect stubs are exercised.Check out this branch (must not be
mainor detached HEAD — preview builds the current branch aslocal-branch-preview):Build the versioned site with branch preview:
currentis built frommainlocal-branch-preview(includes uncommitted working-tree edits if any)Serve the built site locally (required for the version dropdown — do not rely on
file://):cd docs/build/html python3 -m http.server 8000Open the site root and select this branch in the version menu:
local-branch-previewcurrent(main)Spot-check key paths under
local-branch-preview:local-branch-preview/quick_start.htmland confirm redirect toget-started/quick-start.htmlOptional quick iteration (single-version, no switcher):
make -C docs html→ opendocs/build/html/index.html(layout only; no version menu).Navigation (before → after)
docs/source/*.rstfilenamesindex.rstpagesKey new / restructured pages
_landing.rst, architecture diagramget-started/quick-start.rst,get-started/what-is-lakeflow-framework.rstdeploy/index.rst,deploy/before-you-deploy.rst,deploy/framework/*,deploy/pipeline-bundle/local.rst,deploy/ci-cd.rstbuild/index.rst,build/spec-reference/*,build/patterns/*features/*/index.rstcategory hubs,features/a-z.rstcontributors/index.rsthub + rewrittencontributors/dev-*.rstdocs/redirects/*.yaml,docs/scripts/write_redirects.pyRemoved / retired
deploy_local.rst(split into framework vs pipeline guides)deploy_framework_bundle.rst,deploy_pipeline_bundle.rstpipeline_execution.rst(stub removed from nav)orchestration.rstremoved from top navdocs/_templates/)0008-docs-ia-home-architecture.md)Other changes
docs/conf.py— immaterial theme, nav patching for section-index pages, nested hub wiring, copy-button and mermaid hooks, SEO/canonical preserveddocs/source/_static/databricks-theme.css— header/tabs/cards/hub grid/landing onboarding stylessamples/README.md— deploy cross-links, task-list prerequisites, logical-environment admonitiontests/test_select_versions.py— coverage for version selection logicNotes for reviewers
.. include::anchors). Build succeeds; not introduced by the folder restructure.Test plan
make -C docs html-multiversion-previewon this branch — completes without errorscd docs/build/html && python3 -m http.server 8000— serve site over HTTPlocal-branch-previewin the version menu — confirms branch IA/theme (notcurrent)local-branch-preview(e.g.quick_start.html→get-started/quick-start.html)make -C docs spelling— passes:doc:links from Quick Start, What is, and samples READMEVersion
v0.20.0→v0.21.0Related
lakeflow_frameworknamespace, wheel deploy docs)