Skip to content

Conversation

@pwizla
Copy link
Collaborator

@pwizla pwizla commented Nov 20, 2025

This PR adds a minimal TypeScript example parallel to the JavaScript example in the Theme extension documentation.

@vercel
Copy link

vercel bot commented Nov 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
documentation Ready Ready Preview Comment Nov 20, 2025 9:14pm

@strapi-cla
Copy link

strapi-cla commented Nov 20, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions github-actions bot added pr: updated content PRs updating existing documentation content source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo internal PRs created by the Strapi core team labels Nov 20, 2025
@pwizla pwizla changed the title [experimental] Docs theme extension add ts example [experimental] Add TypeScript example to Theme extension documentation Nov 20, 2025
@pwizla pwizla self-assigned this Nov 20, 2025
@pwizla pwizla added this to the 6.12.1 milestone Nov 20, 2025
@pwizla pwizla changed the title [experimental] Add TypeScript example to Theme extension documentation Add example to Theme extension documentation Nov 20, 2025
@pwizla pwizla marked this pull request as ready for review November 20, 2025 21:14
@pwizla pwizla merged commit 31299f9 into main Nov 20, 2025
2 of 4 checks passed
@pwizla pwizla deleted the repo/docs-theme-extension-add-ts-example branch November 20, 2025 21:14
pwizla added a commit that referenced this pull request Nov 20, 2025
* docs(backend): correct TypeScript code fences in TS tabs (controllers, services, middlewares, routes)

* docs(bundlers): clarify webpack config example rename and JS/TS filenames

* docs(routes): add guidance to prefer fully-qualified handler names in custom routers

* docs(api-tokens): add concise security tip (least privilege, rotation, secrets manager)

* docs(controllers): add caution about validateQuery/sanitizeQuery/sanitizeOutput when overriding actions

* docs(policies): clarify scoped policy folders and fix example path

* docs(webhooks): add signature verification tip and fix TS config path

* docs(theme-extension): add minimal TS example for theme.light and theme.dark overrides

* Limit PR scope based on title; keep only intended doc(s); revert unrelated files

* Refactor example into Docusaurus Tabs with JS and TS; remove extra H3 heading (PR #2850)

* Theme extension docs: fix JS example to quote color hex strings (keep ESM export)

* Theme extension docs: add one-sentence intro above JS/TS example (PR #2850)

* Fix intro sentence placement outside frontmatter; position above Tabs (PR #2850)

* Place example intro sentence after Strapi callout and before Tabs (PR #2850)

* Fix frontmatter formatting: remove blank line after tags (PR #2850)

* Theme extension docs: remove explicit 'both JavaScript and TypeScript' wording; Tabs already indicate languages (PR #2850)

* Theme extension: link to Admin panel configuration and use full wording (PR #2850)

* Theme extension: fix internal Markdown link syntax to /cms/configurations/admin-panel (PR #2850)

---------

Co-authored-by: GitHub Actions <noreply@github.com>
pwizla added a commit that referenced this pull request Nov 20, 2025
* docs(backend): correct TypeScript code fences in TS tabs (controllers, services, middlewares, routes)

* docs(bundlers): clarify webpack config example rename and JS/TS filenames

* docs(routes): add guidance to prefer fully-qualified handler names in custom routers

* docs(api-tokens): add concise security tip (least privilege, rotation, secrets manager)

* docs(controllers): add caution about validateQuery/sanitizeQuery/sanitizeOutput when overriding actions

* docs(policies): clarify scoped policy folders and fix example path

* docs(webhooks): add signature verification tip and fix TS config path

* docs(theme-extension): add minimal TS example for theme.light and theme.dark overrides

* Limit PR scope based on title; keep only intended doc(s); revert unrelated files

* Refactor example into Docusaurus Tabs with JS and TS; remove extra H3 heading (PR #2850)

* Theme extension docs: fix JS example to quote color hex strings (keep ESM export)

* Theme extension docs: add one-sentence intro above JS/TS example (PR #2850)

* Fix intro sentence placement outside frontmatter; position above Tabs (PR #2850)

* Place example intro sentence after Strapi callout and before Tabs (PR #2850)

* Fix frontmatter formatting: remove blank line after tags (PR #2850)

* Theme extension docs: remove explicit 'both JavaScript and TypeScript' wording; Tabs already indicate languages (PR #2850)

* Theme extension: link to Admin panel configuration and use full wording (PR #2850)

* Theme extension: fix internal Markdown link syntax to /cms/configurations/admin-panel (PR #2850)

---------

Co-authored-by: GitHub Actions <noreply@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal PRs created by the Strapi core team pr: updated content PRs updating existing documentation content source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants