Skip to content

fix(docs): use kebab-case slugs for helper page links - #5766

Merged
DenysKuchma merged 1 commit into
codeceptjs:4.xfrom
mirao:fix/helper-docs-kebab-case-links-5765
Oct 22, 2026
Merged

DenysKuchma merged 1 commit into
codeceptjs:4.xfrom
mirao:fix/helper-docs-kebab-case-links-5765

Conversation

@mirao

@mirao mirao commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Fixes #5765

Problem

Docs link to helper pages with PascalCase URLs (e.g. /helpers/Playwright#makeApiRequest on https://codecept.io/playwright), which return 404. The site serves helper pages under lowercase kebab-case slugs (/helpers/playwright, /helpers/web-driver, /helpers/json-response).

Changes

  • Bunoshfile.js: add helperSlug() (acronym-aware: GraphQL → graph-ql, JSONResponse → json-response) and use it for all helper permalinks.
  • Hand-written links in docs/*.md and README.md updated to the slugs.
  • Helper JSDoc links in lib/helper/*.js updated; docs/helpers/*.md regenerated.
  • Anchors in helper links lowercased (#makeApiRequest → #makeapirequest) to match the site's heading ids.
  • docs/playwright.md: fix the malformed [GraphQL](<(/helpers/GraphQL)>) link.

Verification

Follow-up

Once this and #5764 are merged, pluginSlug and helperSlug can be merged into a single function.

🤖 Generated with Claude Code

The website serves helper pages under lowercase kebab-case slugs
(/helpers/web-driver, /helpers/json-response), so links like
/helpers/WebDriver returned 404. Generate kebab-case helper
permalinks and update hand-written links in docs, README and
helper JSDoc. Anchors in helper links are lowercased to match
the site's heading ids.

Fixes codeceptjs#5765

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DenysKuchma
DenysKuchma merged commit 9096da6 into codeceptjs:4.x Oct 22, 2026
15 checks passed
@DenysKuchma

Copy link
Copy Markdown
Collaborator

Hi, thanks a lot for this PR, aprove

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.

Docs: helper links return 404 (PascalCase vs kebab-case slugs)

2 participants