Commit Graph

35 Commits

Author SHA1 Message Date
Andrei L d353b279e4 chore(docs): migrate docusaurus config to typescript (#26471)
Convert the docs Docusaurus config files to TypeScript to match the
modern Docusaurus scaffold and give editors correct per-file types:

- docusaurus.config.js -> .ts (typed Config / Preset options, ESM)
- sidebars.js -> .ts (typed SidebarsConfig)
- remark-design-system-links.js -> .ts (typed Transformer<Root>)
- babel.config.js: ESM export, @docusaurus/babel preset (3.x split)
- add docs/tsconfig.json extending @docusaurus/tsconfig (editor-only,
  not used by docusaurus build)
- add @docusaurus/babel, @docusaurus/tsconfig, @types/mdast deps

Also adds "docs" to the root jsconfig.json excludes, since docs is a
standalone Docusaurus project that now owns its own config.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
2026-05-28 14:16:43 +00:00
Ben Irvin 6ed22b5cfa security(deps): upgrade multiple dependencies (#26326)
* chore: upgrade simple-git

* chore: upgrade axios

* chore: upgrade docusaurus

* chore: upgrade docusaurus family

* chore: yarn.lock

* chore: upgrade styled-components

* chore: upgrade yaml

* chore: bump fast-uri in pinned deps

* chore: bump axios in cloud plugin

* chore: remove unnecessary ts error suppression

* chore: align docusaurus packages

* chore: yarn.lock

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Jamie Howard <jhoward1994@gmail.com>
2026-05-15 08:52:31 +01:00
Andrei L b1e385ac24 chore(deps): upgrade typedoc to 0.28.19 and related plugins (#26082)
* chore(deps): upgrade typedoc to 0.28.19 and related plugins

Bumps typedoc 0.25.10 -> 0.28.19 in both docs and packages/core/types,
along with compatible plugin versions (typedoc-plugin-markdown 4.11.0,
typedoc-github-wiki-theme 2.1.0, docusaurus-plugin-typedoc 1.4.2) and
@cmfcmf/docusaurus-search-local 2.0.1.

Config updates required by breaking changes:
- packages/core/types/typedoc.json: drop "theme": "github-wiki" (v2 of
  the theme no longer registers a named theme; it is loaded via plugin
  hook only).
- docs/docusaurus.config.js: remove entryDocument: null (renamed to
  entryFileName in plugin-markdown v4 and no longer accepts null); add
  readme: 'none' to avoid injecting the package README (which contains
  non-MDX-compatible <br> tags) into the generated entry page; change
  out from 'exports' to 'docs/exports' as docusaurus-plugin-typedoc v1
  no longer prefixes the path with docsPath.
2026-05-11 09:43:04 +00:00
Ben Irvin 416f2f138f chore: upgrade contributor docs dependencies (#26073) 2026-04-27 17:57:37 +02:00
Ben Irvin ac6cd0063c chore(deps): bump multiple dependencies (#26103)
dotenv: 16.4.5 → 16.6.1
fs-extra: 11.2.0 → 11.3.4
semver: 7.5.4 → 7.7.4
typescript: 5.4.4 → 5.4.5
esbuild-loader: 4.3.0 → 4.4.3
esbuild-register: 3.5.0 → 3.6.0
grant: ^5.4.8 → 5.4.24 (pinned)
markdown-it: ^13.0.2 → 14.1.1
2026-04-24 13:11:54 +01:00
Ben Irvin bebb8af25d ci: add version compare script and workflow (#25451) 2026-02-18 09:16:43 +01:00
Nico André d882b94b64 fix(docs): enable contributor docs website to build locally (#24878) 2025-11-21 11:30:43 +01:00
Ben Irvin 49ac0f8a70 security: update docusaurus (#23721) 2025-06-11 14:42:35 +02:00
Marc Roig e7d11cb360 chore(deps): upgrade image-size package in docs (#23564) 2025-05-21 13:32:18 +02:00
Bassel Kanso 5314209d20 chore: resolve babel (#23391)
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2025-04-17 16:40:12 +03:00
Ben Irvin 66fd5e4469 chore: upgrade prismjs to 1.30.0 (#23191) 2025-03-21 08:51:45 +01:00
Jean-Sébastien Herbaux 0affac04b6 docs: add strapi/permissions documentation (#23091) 2025-03-12 15:28:24 +01:00
Ben Irvin f91d91eef5 chore: upgrade deps and pinned subdeps for CVEs (#21425) 2024-09-27 15:43:24 +02:00
Josh a3960e1ee5 chore: update react&react-dom to 18.3 (#20316)
* chore: update react&react-dom to 18.3

* chore: TS fix

* chore: update testing packages

* chore: fix lint
2024-05-17 16:00:38 +01:00
Jean-Sébastien Herbaux 2d8197cd02 docs: contributor guide for type system concepts (#20120)
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Hannah Paine <151527179+hanpaine@users.noreply.github.com>
2024-04-19 14:33:41 +02:00
markkaylor 80e532931b chore: merge develop into v5/main (#20126) 2024-04-16 18:06:25 +02:00
Josh 660b779c4c Merge branch 'develop' into v5/main 2024-04-02 10:11:20 +01:00
Ben Irvin 48f5eeadaf docs: upgrade to docusaurus 3.1.1 2024-03-29 18:02:40 +01:00
Josh 585e011c69 chore: begin work on dismantling helper-plugin (#19607)
* chore: remove stories

* docs: add generator from type-doc

* chore!: remove CM functions

* chore!: remove DateTimePicker

* chore!: remove Link and LinkButton
2024-02-27 13:23:04 +00:00
Josh a549feb253 chore: pretty codebase (#18835) 2023-11-17 14:48:05 +00:00
Gustav Hansen ec0f5bc20a Chore: Bump docs dependencies 2023-01-03 11:03:09 +01:00
Alexandre Bodin ae6ff150e2 Init 2022-11-08 10:48:23 +01:00
Alexandre Bodin bae43881b8 chore: update docusaurus version 2022-08-19 13:54:25 +02:00
Alexandre Bodin 101d76e09b Init tech docs 2022-07-06 21:04:48 +02:00
DMehaffy aad1c2fa03 Cleaning up codebase for doc repo move (#8892)
* [WIP] Cleaning up codebase for doc repo move

WIP

* Fix deleted files, add links to doc repo issues

* Add repo note to readme
2020-12-18 15:50:37 +01:00
Jim LAURIE bc16fda42a docs: Add FA icons 2020-10-05 14:40:51 +02:00
Alexandre Bodin 62b2192c95 Update license info
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-20 18:40:52 +02:00
Jim LAURIE f21d36c324 first steps for the new doc 2020-02-10 14:21:18 +01:00
Jim LAURIE 2e6d0c7f41 Add GA in the docs 2019-11-28 11:45:45 +01:00
Jim LAURIE 74b0f2e11e Update files dir 2019-11-07 12:05:39 +01:00
davidkartuzinski 241b1a2884 Add heroku documentation 2019-04-08 10:42:48 +02:00
Pierre Burgy 529f2f81ed Fix documentation build 2018-10-31 09:46:26 +01:00
Martin Muzatko 03fc2e1f0e added docs package lifecycle hooks 2018-09-28 11:26:00 +02:00
Martin Muzatko add86f2597 added sidebar config and custom markdown directives 2018-09-28 10:20:08 +02:00
Martin Muzatko 1873a6f62a Migrated to Vuepress 2018-08-29 12:03:59 +02:00