Skip to content

Comments

docs!: rename filename from camel to kebab#705

Merged
9aoy merged 2 commits intomainfrom
docs/rename
Nov 19, 2025
Merged

docs!: rename filename from camel to kebab#705
9aoy merged 2 commits intomainfrom
docs/rename

Conversation

@9aoy
Copy link
Collaborator

@9aoy 9aoy commented Nov 19, 2025

Summary

rename filename from camel to kebab.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings November 19, 2025 04:15
@netlify
Copy link

netlify bot commented Nov 19, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit b1f0195
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/691d4448b936b9000892aea0
😎 Deploy Preview https://deploy-preview-705--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request systematically renames documentation files and their references from camelCase to kebab-case naming convention, improving consistency and following common URL conventions for documentation websites.

Key Changes:

  • Implemented a camelToKebab helper function in ConfigOverview.tsx to dynamically convert camelCase configuration names to kebab-case URLs
  • Renamed all config/test and api/rstest documentation files from camelCase to kebab-case (e.g., setupFiles.mdxsetup-files.mdx)
  • Updated all internal documentation links to reference the new kebab-case filenames
  • Updated _meta.json files to reflect the new kebab-case structure

Reviewed Changes

Copilot reviewed 29 out of 67 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
website/theme/components/ConfigOverview.tsx Added camelToKebab function to dynamically convert config names to kebab-case URLs
website/docs/zh/guide/start/quick-start.mdx Updated link from /config/test/includeSource to /config/test/include-source
website/docs/zh/guide/start/features.mdx Updated links from camelCase to kebab-case format
website/docs/zh/guide/migration/jest.mdx Updated setupFiles link to kebab-case
website/docs/zh/guide/basic/test-filter.mdx Updated testNamePattern link to kebab-case
website/docs/zh/guide/basic/cli.mdx Updated multiple CLI parameter documentation links to kebab-case
website/docs/zh/config/test/*.mdx (19 files) Created new kebab-case documentation files for test configuration options
website/docs/zh/config/test/_meta.json Updated file list from camelCase to kebab-case
website/docs/zh/api/rstest/*.mdx (4 files) Created new kebab-case documentation files for rstest API
website/docs/zh/api/rstest/_meta.json Updated file list from camelCase to kebab-case
website/docs/en/guide/start/quick-start.mdx Updated link from /config/test/includeSource to /config/test/include-source
website/docs/en/guide/start/features.mdx Updated links from camelCase to kebab-case format
website/docs/en/guide/migration/jest.mdx Updated setupFiles link to kebab-case
website/docs/en/guide/basic/test-filter.mdx Updated testNamePattern link to kebab-case
website/docs/en/guide/basic/cli.mdx Updated multiple CLI parameter documentation links to kebab-case
website/docs/en/config/test/*.mdx (19 files) Created new kebab-case documentation files for test configuration options
website/docs/en/config/test/_meta.json Updated file list from camelCase to kebab-case
website/docs/en/api/rstest/*.mdx (4 files) Created new kebab-case documentation files for rstest API
website/docs/en/api/rstest/_meta.json Updated file list from camelCase to kebab-case

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@9aoy 9aoy requested a review from SoonIter November 19, 2025 04:17
@9aoy 9aoy merged commit 2e16e3c into main Nov 19, 2025
23 checks passed
@SoonIter
Copy link
Member

The sooner you unify to use the hyphen style, the better, as it will also make collaboration smoother for everyone.

越早改越好,大家都大一统用连字符,url 都是一致的,爽死了

20251119-122151

@9aoy 9aoy deleted the docs/rename branch November 19, 2025 04:22
@9aoy 9aoy mentioned this pull request Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants