Skip to content

docs: update nextjs documentation #24

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 2 commits into from
May 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/update-docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- docs/update-translations
- docs/sync-nextjs-documentation

jobs:
translate:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-en-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Check if PR branch exists
id: check_branch
run: |
if git ls-remote --heads origin "docs-update-nextjs-documentation" | grep -q "docs-update-nextjs-documentation"; then
if git ls-remote --heads origin "docs/sync-nextjs-documentation" | grep -q "docs/sync-nextjs-documentation"; then
echo "Branch already exists, skipping update"
echo "branch_exists=true" >> $GITHUB_OUTPUT
else
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
- Updates from `canary` branch to `apps/docs/content/en/docs`
- Updates from `v14.2.28` branch to `apps/docs/content/en/docs/14`
- Updates from `v13.5.11` branch to `apps/docs/content/en/docs/13`
branch: docs-update-nextjs-documentation
branch: docs/sync-nextjs-documentation
delete-branch: true
base: main
add-paths: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ CSS Modules locally scope CSS by generating unique class names. This allows you

To start using CSS Modules, create a new file with the extension `.module.css` and import it into any component inside the `app` directory:

```css filename="app/blog/styles.module.css"
```css filename="app/blog/blog.module.css"
.blog {
padding: 24px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ export default function ViewCount({ initialViews }: { initialViews: number }) {
const [isPending, startTransition] = useTransition()

useEffect(() => {
starTransition(async () => {
startTransition(async () => {
const updatedViews = await incrementViews()
setViews(updatedViews)
})
Expand Down