Skip to content

docs: migrate to nextra@4 #4754

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 29, 2025
Merged

docs: migrate to nextra@4 #4754

merged 8 commits into from
May 29, 2025

Conversation

zettca
Copy link
Member

@zettca zettca commented May 21, 2025

migrate to nextra@4:

  • move /pages -> /content
  • add "use client"; in components that need it
  • inject "use client"; in UI Kit packages in Nextra's config (if we want to explicitly support Next App Router/RSC in UI Kit, we should add these in the packages directly)
  • add Playground features to Header:
    • almost all instances use <Header><Playground> together
    • getComponentData() only needs to be called once
  • change decorator to decoratorClassName to work server-side
  • add new Pagefind search:
    • more docs coverage (includes text in .tsx files)
    • control over what is shown (data-pagefind-ignore)
  • refactor Phosphor icons to use className="i-ph-*" so they can be built fully server-side
  • review global styles (many static classnames were dropped)

@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4754 May 21, 2025 16:00 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4754 May 21, 2025 16:06 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4754 May 21, 2025 18:25 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4754 May 22, 2025 10:19 Destroyed
@zettca zettca force-pushed the docs/nextra branch 2 times, most recently from 26161a3 to d24b783 Compare May 22, 2025 14:46
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4754 May 22, 2025 14:52 Destroyed
@zettca zettca force-pushed the docs/nextra branch 4 times, most recently from 5341f72 to 67d4eff Compare May 22, 2025 17:19
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4754 May 22, 2025 17:23 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4754 May 22, 2025 17:31 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4754 May 22, 2025 18:09 Destroyed
@zettca zettca marked this pull request as ready for review May 23, 2025 09:07
@zettca zettca requested a review from a team as a code owner May 23, 2025 09:07
@zettca zettca requested review from plagoa and francisco-guilherme and removed request for a team May 23, 2025 09:07
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4754 May 23, 2025 12:50 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4754 May 23, 2025 14:42 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4754 May 23, 2025 17:32 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4754 May 27, 2025 17:38 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4754 May 29, 2025 09:04 Destroyed
@zettca zettca merged commit 5d6e78a into master May 29, 2025
13 checks passed
@zettca zettca deleted the docs/nextra branch May 29, 2025 13:35
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.

2 participants