Commit graph

83 commits

Author SHA1 Message Date
Kian
936de7ea5f
[Docs Site] Generate index.md for all index.html files (#20988)
* [Docs Site] Generate index.md for all index.html files

* remove redundant head config

* charset
2025-03-31 15:01:11 +01:00
Maddy
6ed50c13f8
[Style Guide] Update usage of we (#20986) 2025-03-20 21:27:24 +00:00
hyperlint-ai[bot]
170cb2ca75
Hyperlint Automation: Meta Description Fixes (#20137)
* Fix issue: WorkspaceTaskSubType.META_DESCRIPTION

* Update src/content/docs/style-guide/index.mdx

---------

Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
Co-authored-by: Kody Jackson <kody@cloudflare.com>
2025-03-17 16:33:30 +00:00
Kody Jackson
1d93d62745
Added curl / apirequest to curl examples (#20801) 2025-03-13 14:10:10 -05:00
Kian
6658812186
[Style Guide] Generate custom frontmatter docs (#20718) 2025-03-11 17:12:27 +00:00
Kody Jackson
de25ea044d
[Style guide] Added property (#20693) 2025-03-11 08:10:38 -05:00
Kian
cbac3a20ce
[Docs Site] Surface tags and which pages use them in style guide (#20598)
* [Docs Site] Surface tags and which pages use them in style guide

* link from components
2025-03-06 21:11:46 +00:00
Kian
2cb8146e57
[Docs Site] Track component usage in style guide (#20596) 2025-03-06 14:33:22 -06:00
Kian
8081dda0ba
[Docs Site] Support FormData in APIRequest (#20583) 2025-03-06 14:15:53 +00:00
Kian
ea1ddc3f42
[Docs Site] Support parameter substitution in APIRequest (#20501) 2025-03-05 09:52:27 +00:00
Kian
f5cba13a25
[Docs Site] Add APIRequest and CURL components (#20469)
* [Docs Site] Add APIRequest and CURL components

* permissions dropdown

* use summary as title

* use long flags

* remove demo
2025-03-03 17:09:45 +00:00
Kian
fa8ee1a0ae
[Docs Site] Overhaul Stream component and add chapters (#20475)
* [Docs Site] Overhaul Stream component and add chapters

* update demo video
2025-03-03 16:27:50 +00:00
Kian
b974306bd0
[Docs Site] Add SubtractIPCalculator component (#20333) 2025-03-03 14:28:27 +00:00
Kian
ec2cfc20ed
[Docs Site] Add preview_image property to frontmatter for custom images (#20319)
* [Docs Site] Add cover property to frontmatter for custom images

* Use Astro.url for base, add to changelog schema

* Support changelog entries

* changelog default image

* Remove example that doesn't make sense

* fix type import

* move to new file

* Add test image to R2 entry

* Update property name

* Add style guide entry

---------

Co-authored-by: Kody Jackson <kody@cloudflare.com>
2025-02-27 10:26:55 -06:00
Kian
42b7de5994
[Docs Site] Support EC props in GitHubCode and TypeScriptExample (#20267)
* [Docs Site] Support EC props in GitHubCode and TypeScriptExample

* fix file usage
2025-02-25 16:53:02 +00:00
Kian
f4097ff76c
[Docs Site] Refactor partials property validation and docs (#19887)
* [Docs Site] Refactor partials property validation and docs

* update partial examples

* fix partials that would fail validation

* fix partial
2025-02-24 13:27:18 +00:00
Pedro Sousa
b0a5aa8ef7
[Style Guide] Update links to Starlight docs (#20215) 2025-02-24 12:12:40 +00:00
Kian
d8805bb6af
[Docs Site] Use dedent in Markdown component (#20129)
* [Docs Site] Use dedent in Markdown component

* Add warning about MDX and Astro functionality
2025-02-20 18:12:42 +00:00
Kian
114602a34a
[Docs Site] Rename changelog collection to release-notes (#19969)
* [Docs Site] Rename changelog collection to release-notes

* fix redirects

* assert entry is inside a product folder
2025-02-13 19:35:19 +00:00
Kian
72e44eeb78
[Docs Site] Improve resources-by-selector docs (#19897) 2025-02-12 16:51:17 +00:00
emily-shen
98fcddbe70
[wrangler] replace mentions of wrangler.json with wrangler.json(c) (#19764)
* update references of wrangler.json to wrangler.json(c)

* change to wrangler config file with link

* Update src/content/partials/workers/secrets-in-dev.mdx

---------

Co-authored-by: Jun Lee <junlee@cloudflare.com>
2025-02-12 13:41:31 +00:00
Kian
186c01b81f
Revert "[Docs Site] Refactor partials property validation and docs (#19721)" (#19880)
This reverts commit b393f388bd.
2025-02-10 19:27:45 +00:00
Kian
b393f388bd
[Docs Site] Refactor partials property validation and docs (#19721)
* [Docs Site] Refactor partials property validation and docs

* update partial examples

* update anchor in markdown component aside
2025-02-10 17:46:57 +00:00
Kody Jackson
23af8212b8
[Chore] Align with public stats component (#19828)
* [Chore] Align with public stats component

* Apply suggestions from code review

Co-authored-by: marciocloudflare <83226960+marciocloudflare@users.noreply.github.com>

---------

Co-authored-by: marciocloudflare <83226960+marciocloudflare@users.noreply.github.com>
2025-02-07 16:05:44 +00:00
Piotr Idzik
4405b8044e
[Style guide] Fix typo (#19636) 2025-02-03 17:52:40 +00:00
Piotr Idzik
486552c021
[Style guide] Fix typo (#19569) 2025-01-30 18:49:25 +00:00
Jun Lee
d9f03c0d79
[All] Cleaning up references to wrangler.toml. (#19403)
* Cleaning up references to wrangler.toml.

* Removing erroneous import line.

* Making sure all imports are at the top of the page.

* Catching more instances of wrangler.toml.

* Fixing typo

* Update src/content/docs/workers/platform/pricing.mdx

Co-authored-by: marciocloudflare <83226960+marciocloudflare@users.noreply.github.com>

* Update src/content/docs/workers/languages/python/index.mdx

Co-authored-by: marciocloudflare <83226960+marciocloudflare@users.noreply.github.com>

* Syntax formatting and edit for accuracy.

* Updating language to `wrangler.toml / wrangler.json`

---------

Co-authored-by: marciocloudflare <83226960+marciocloudflare@users.noreply.github.com>
2025-01-29 12:28:42 +00:00
Kian
e012d1704c
[Docs Site] Adopt Cloudflare styling for badge component (#19390)
* [Docs Site] Adopt Cloudflare styling for badge component

* add variant styling

* remove variant note

* remove gray class in inline badge docs

* add caution variant to workers ai beta badge
2025-01-24 18:12:47 +00:00
ranbel
1d0e119d70
API placeholder guidelines (#19387) 2025-01-23 17:52:00 +00:00
Kian
8e70246b87
[Docs Site] Refactor rehype plugins (#19360)
* [Docs Site] Refactor rehype plugins

* fix closing tag in anchorheading
2025-01-23 17:42:52 +00:00
Kian
5c4750ab7c
[Docs Site] Add CompatibilityFlag component (#19376) 2025-01-23 16:25:44 +00:00
Kian
a1bf485920
[Docs Site] Adopt eslint (#19263)
* [Docs Site] Adopt eslint

* Demonstrate a fixable suggestion, add VSCode plugin and package.json script

* Fix slice in ModelCatalog

* Remove test error in AnchorHeading

* recreate package-lock.json

* update new .jsx components to .tsx

* amend deps, fix react types, organise ec plugins

* another attempt at fixing platform-specific deps

* fix FieldCatalog filters, remove test block from code.mdx

* use opacity instead of brightness for ruleid

* fix lockfile

* amend ruleid opacity styling

* test onetrust

* enable prefer const rule, remove onetrust test

* add save-dev
2025-01-21 18:28:16 +00:00
Kian
1603a96c21
[Docs Site] Add collapsible plugin to code blocks (#19041) 2025-01-07 16:46:51 +00:00
joslyn-cf
806045091d
Update get-started.mdx title (#18839)
* Update get-started.mdx title

Changing title to avoid confusion by customers looking for actual product Get Started guides

* Update get-started.mdx title

* Update src/content/docs/style-guide/documentation-content-strategy/content-types/get-started.mdx

---------

Co-authored-by: Claire W <78226508+crwaters16@users.noreply.github.com>
2025-01-03 21:35:51 +00:00
joslyn-cf
4e11bd4e5f
Update how-to.mdx page title (#18838)
* Update how-to.mdx page title

* Update how-to.mdx title

* Update src/content/docs/style-guide/documentation-content-strategy/content-types/how-to.mdx

---------

Co-authored-by: Claire W <78226508+crwaters16@users.noreply.github.com>
2025-01-03 21:34:57 +00:00
joslyn-cf
b5a1163346
Update implementation-guide.mdx page title (#18837)
* Update implementation-guide.mdx

Need to retitle this page so it doesn't come up or accidentally be referenced by customers searching for 'implementation guide' when they're looking for actual product implementation guides.

* Update implementation-guide.mdx

title update

* Update implementation-guide.mdx

* Update src/content/docs/style-guide/documentation-content-strategy/content-types/implementation-guide.mdx

---------

Co-authored-by: Claire W <78226508+crwaters16@users.noreply.github.com>
2025-01-03 15:23:13 -06:00
Rebecca Tamachiro
f5290a686a
[Style Guide] DNS record types formatting (#18938)
* Remove DNS records from table of monospaced items

* Create specific guidance for DNS record types formatting

* Revert "Create specific guidance for DNS record types formatting"

This reverts commit 0d8f467e89.

* Add exception to DNS records entry in monospace examples list

* Apply suggestion from code review

Co-authored-by: Jun Lee <junlee@cloudflare.com>

---------

Co-authored-by: Jun Lee <junlee@cloudflare.com>
2025-01-02 16:01:36 +00:00
Haley C.
320cfbfc2e
Added suggested changes to overview.mdx (#18776)
Added suggested changes to overview.mdx
2024-12-16 13:59:19 -06:00
Haley C.
9a80df7d8e
Update overview.mdx (#18772)
Updated to reflect changes to the Overview pages in Astro vs. Hugo.
2024-12-16 17:12:02 +00:00
Kian
19d1e262c3
[Docs Site] Remove docs-tag lines from rendered output in GitHubCode (#18570) 2024-12-12 14:45:45 +00:00
marciocloudflare
2812630e67
[Style guide] Updated keyboard shortcut style (#18606)
* updated keyboard shortcut style

* refined title
2024-12-06 15:20:42 +00:00
jason-cf
dcb4bb53d3
Video Style Guide (#18482)
* video style guide draft

* updates

* updates

* New version

* updates

* link suggestions

Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>

* updates

* updating bitrate

* updates

* removing unused photos

* sidebar tweaks

* Claire's updates

Co-authored-by: Claire W <78226508+crwaters16@users.noreply.github.com>

* updates

* final edits

Co-authored-by: Maddy <130055405+Maddy-Cloudflare@users.noreply.github.com>

---------

Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
Co-authored-by: Claire Waters <cwaters@cloudflare.com>
Co-authored-by: Claire W <78226508+crwaters16@users.noreply.github.com>
Co-authored-by: Maddy <130055405+Maddy-Cloudflare@users.noreply.github.com>
2024-12-06 14:40:22 +00:00
Rebecca Tamachiro
ae8b809855
[Chore] Fix links and broken anchor and update Style Guide (#18381)
* Remove broken anchor

* Clean up /inline-errata/ from EDNS RFC links

* Update Style Guide with note about not using inline-errata RFC
2024-11-25 12:22:44 +00:00
Max Phillips
db729c9cc9
[Style Guide] Fix broken links (#18194) 2024-11-14 22:58:16 +00:00
Kian
a11a000ee9
[Docs Site] Add GitHubCode component (#17919) 2024-11-01 13:55:16 +00:00
Kian
5882dc01d4
[Docs Site] Add Flex component for responsive image layouts (#17466) 2024-10-23 11:33:57 +01:00
Pedro Sousa
8b2b5792f0
[Style guide] Remove old recommendation for numbered lists (#17715) 2024-10-23 09:14:53 +00:00
jason-cf
e8201edd59
Adding a new tutorial about AI Image generation. Updating the Stream … (#17601)
* Adding a new tutorial about AI Image generation. Updating the Stream component so it supports full URL thumbnails. Updating the parameter so it's intuitive.

* code update
2024-10-22 15:36:09 +01:00
Jun Lee
71ace8ce2b
Adding info to Style Guide about default behaviour of Details component. (#17674) 2024-10-21 18:08:40 +01:00
Kian
ba2881ba42
[Docs Site] Support custom heading IDs with MDX comments (#17551)
* [Docs Site] Support custom heading IDs with MDX comments

* Amend AnchorHeading usage guidance

* include rehype-slug behaviour, move to individual file
2024-10-16 17:25:21 +01:00