Skip to content
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

Nextra 2 #390

Merged
merged 21 commits into from
Feb 11, 2023
Merged

Nextra 2 #390

merged 21 commits into from
Feb 11, 2023

Conversation

promer94
Copy link
Contributor

@promer94 promer94 commented Dec 9, 2022

Description

  • Adding new page
  • Updating existing documentation
  • Other updates

Upgrade Nextra to V2

@vercel
Copy link

vercel bot commented Dec 9, 2022

@promer94 is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@promer94 promer94 marked this pull request as ready for review December 31, 2022 08:59
pages/_meta.en-US.json Outdated Show resolved Hide resolved
pages/_meta.es-ES.json Outdated Show resolved Hide resolved
pages/_meta.ja.json Outdated Show resolved Hide resolved
pages/_meta.ko.json Outdated Show resolved Hide resolved
pages/_meta.pt-BR.json Outdated Show resolved Hide resolved
pages/_meta.ru.json Outdated Show resolved Hide resolved
pages/_meta.zh-CN.json Outdated Show resolved Hide resolved
@promer94
Copy link
Contributor Author

promer94 commented Dec 31, 2022

I have to remove the changelog page here and use github link to replace them here.

Since Nextra v2 removed some default style for markdown elements https://github.com/shuding/nextra/blob/8c87fc03121fe50fef9766983185ce295705b563/packages/nextra-theme-docs/src/styles.css#L394-L584

@vercel
Copy link

vercel bot commented Jan 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
swr-site ✅ Ready (Inspect) Visit Preview Jan 9, 2023 at 8:36AM (UTC)

@shuding
Copy link
Member

shuding commented Jan 9, 2023

I guess that some classes are now missing as we have the nx- prefix:

image

* fix index and blog page h1 style
* fix blog read more link style

{
// wrapped with {} to mark it as javascript so mdx will not put it under a p tag
}
{<h1 className="text-center font-extrabold md:text-5xl mt-8">SWR</h1>}
{<h1 className="text-center text-4xl tracking-tighter font-extrabold md:text-5xl mt-8">SWR</h1>}
Copy link
Contributor Author

@promer94 promer94 Jan 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shuding shuding merged commit 1c31961 into vercel:main Feb 11, 2023
@promer94 promer94 deleted the nextra-2 branch February 11, 2023 15:26
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