Commit graph

45 commits

Author SHA1 Message Date
Colby M. White
b4697aa180
dx: use a single git cmd for lastmod calc (#26722)
* dx: use a single git cmd for lastmod calc

* fix: use commiter date for lastmod
2025-11-24 14:40:19 -06:00
Matt Kane
4d95086199
dx: Optimise sitemap creation (#26710) 2025-11-24 13:19:50 -06:00
Colby M. White
be9611d332
feat: only add lastmod during prod build (#26361)
* feat: only add lastmod during prod build

* refactor: use casing for constant

* fix: enable on prod builds, not pr-to-prod builds
2025-11-07 13:07:26 -06:00
Daniel Walsh
74f07e803f
Set the sitemap modified on date to the last mod date in git (#26271) 2025-11-04 14:00:28 +00:00
Kody Jackson
513a810f0c
[Starlight] Add scroll to top button (#25886) 2025-10-16 14:09:31 -05:00
Kody Jackson
613cd935e2
[Chore] Rename products to directory (#24417)
* [Chore] Rename products to directory

* updated component name
2025-08-15 08:12:56 -05:00
Kody Jackson
fb7d4835da
[Bug] Fix broken link references (#23697)
* [Bug] Fix broken link references

* Update
2025-07-15 20:37:13 +00:00
Kian
b6943c5953
[Style Guide] AI consumability in How we docs (#23673)
* [Style Guide] AI consumability in How we docs

* unused imports

* ignore index.md/markdown.zip links

* links

* image & tokens comparison

* Update src/content/docs/style-guide/how-we-docs/ai-consumability.mdx

Co-authored-by: Kody Jackson <kody@cloudflare.com>

---------

Co-authored-by: Kody Jackson <kody@cloudflare.com>
2025-07-15 20:33:41 +01:00
Kian
757cabb63c
[Docs Site] Fix sitemap filter (#23603) 2025-07-11 16:18:46 +00:00
Kian
b54039d0b5
[Docs Site] Exclude 404 pages from sitemap (#23602) 2025-07-11 15:58:16 +00:00
Kian
705e1fa781
[Docs Site] Make per-product 404 pages and link to SERP/llms.txt (#23587)
* [Docs Site] Make per-product 404 pages and link to SERP/llms.txt

* route to 404 via worker

* update test
2025-07-11 14:14:20 +01:00
Kian
aaacc3c3c2
[Docs Site] Enforce and transform frontmatter tags (#22836)
* [Docs Site] Enforce and transform frontmatter tags

* remove KV tags

* other content updates

* update tags docs and error

---------

Co-authored-by: kodster28 <kody@cloudflare.com>
2025-06-03 12:27:06 -05:00
Kian
fdeaadcfa9
[Docs Site] Add remark plugin to validate images exist (#22820)
* [Docs Site] Add remark plugin to validate images exist

* Remove relative path support
2025-06-02 09:29:57 -05:00
Kian
d76adb1de9
[Docs Site] Remove Container API usage from changelog (#22591)
* [Docs Site] Remove Container API usage from changelog

* dont use style prop
2025-05-22 13:52:46 +01:00
Greg Brimble
d16cfc4aa4
Pages banner (#22134)
* Add sparkles to migration guide and support dismissible banner

* Add banner to Pages
2025-05-09 12:32:11 -05:00
Kian
1f18b07985
[Docs Site] Upgrade to Tailwind v4 (#21744)
* [Docs Site] Upgrade to Tailwind v4

* delete learning-paths/index.mdx

* update deps

* include css in class scanning

* fix ts errors

* make tailwind.css the first customCss file

* fix formatting

* fix learning paths line height

* changelog header border

* bump deps
2025-04-28 16:52:02 +01:00
dependabot[bot]
7c536470c9
[Docs Site] Bump starlight-links-validator from 0.14.3 to 0.16.0 (#21695)
* [Docs Site] Bump starlight-links-validator from 0.14.3 to 0.16.0

Bumps [starlight-links-validator](https://github.com/HiDeoo/starlight-links-validator/tree/HEAD/packages/starlight-links-validator) from 0.14.3 to 0.16.0.
- [Release notes](https://github.com/HiDeoo/starlight-links-validator/releases)
- [Changelog](https://github.com/HiDeoo/starlight-links-validator/blob/main/packages/starlight-links-validator/CHANGELOG.md)
- [Commits](https://github.com/HiDeoo/starlight-links-validator/commits/starlight-links-validator@0.16.0/packages/starlight-links-validator)

---
updated-dependencies:
- dependency-name: starlight-links-validator
  dependency-version: 0.16.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix glob

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kian Newman-Hazel <kian@cloudflare.com>
2025-04-16 21:17:22 +01:00
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
Matt Silverlock
0a3b4d800d
fix (#21064) 2025-03-22 15:29:00 -04:00
Kody Jackson
249682e6b6
[Astro] Update link linting for changelog (#20878) 2025-03-17 14:43:57 +00:00
Kian
c2b5e2244f
[Docs Site] Adopt new header styling (#20630) 2025-03-10 11:34:36 +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
979e220d63
[Docs Site] Adopt new sidebar and breadcrumb styling (#20375) 2025-02-27 20:50:14 +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
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
Kian
94d19f9208
[Docs Site] Always use current origin in search results (#19600) 2025-02-03 10:37:18 +00:00
Kian
df4cf11a96
[Docs Site] Upgrade to Astro 5 (#19496)
* [Docs Site] Upgrade to Astro 5

* redisable pagination

* fix homepage link

* move to Page.astro override, enable pagination

* delete learning path landing pages

* fix astro check errors

* sidebar current fix

* update learning path links

* fix index link order and remove debug log

* upgrade astro
2025-01-31 09:20:50 +00:00
Kian
9511926724
[Docs Site] Exclude Style Guide from sitemap (#19530) 2025-01-29 19:36:58 +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
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
9bb4905e5c
[Docs Site] Shrink codeblock buttons on mobile to desktop size (#19334)
* [Docs Site] Shrink codeblock buttons on mobile to desktop size

* Update src/code.css

* Update src/code.css

Co-authored-by: Kian <kian@kian.org.uk>

---------

Co-authored-by: Daniel Walsh <walshy@cloudflare.com>
2025-01-21 21:28:32 +00:00
Pedro Sousa
0d12d09b00
[Ruleset Engine] New fields reference (#19214)
---------

Co-authored-by: Kian Newman-Hazel <kian@cloudflare.com>
2025-01-17 12:22:49 +00:00
Kian
24e9d533dc
[Docs Site] Fix fetch-depth and last updated on pages with updated fm (#19070) 2025-01-08 14:49:06 +00:00
Kian
4b0d155700
[Docs Site] Enable last updated times on docs pages (#19026) 2025-01-06 18:22:12 +00:00
Jacob Bednarz
077b67ab1d
ci: skip all /api/ links for the validation (#18788)
The CI step gives a false positive that these URLs are invalid despite them being correct; they just live outside of the developer docs
2024-12-17 12:52:52 +11:00
Kian
c5d31c3dae
[Docs Site] Use new Algolia index (#18754)
* [Docs Site] Use new Algolia index

* enable insights, clean-up runLinkCheck
2024-12-16 15:22:37 +00:00
Kian
d4c0b0df73
[Docs Site] Add feedback prompt (#18129)
* [Docs Site] Add feedback prompt

* Fix min width, add the rest of the values

* max not min

* fix min-width unit, add additional info into payload

* rename other-answer to info

* Update src/components/FeedbackPrompt.astro
2024-11-15 16:27:23 +00:00
Kian
f7b66cb355
[Docs Site] Disable smartypants processing (#18201) 2024-11-15 15:05:18 +00:00
dependabot[bot]
5e0d1bf66d
[Docs Site] Bump starlight-links-validator from 0.12.4 to 0.13.0 (#17979)
* [Docs Site] Bump starlight-links-validator from 0.12.4 to 0.13.0

Bumps [starlight-links-validator](https://github.com/HiDeoo/starlight-links-validator) from 0.12.4 to 0.13.0.
- [Release notes](https://github.com/HiDeoo/starlight-links-validator/releases)
- [Commits](https://github.com/HiDeoo/starlight-links-validator/compare/v0.12.4...v0.13.0)

---
updated-dependencies:
- dependency-name: starlight-links-validator
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* errorOnLocalLinks false

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kian Newman-Hazel <kian@cloudflare.com>
2024-11-06 12:03:04 +00: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
Kian
35c065de21
[Docs Site] Upgrade Astro to 4.16.4, Starlight to 0.28.3 (#17536)
* [Docs Site] Upgrade Astro to 4.16.4, Starlight to 0.28.3

* Remove SiteTitle override

* fix package.json
2024-10-16 15:42:32 +01:00
Kian
93af489897
[Docs Site] Add hashes back into entrypoint filenames, disable hoisting. (#17429) 2024-10-09 14:43:22 +01:00
Kian
a528d9b761
[Docs Site] Use Tippy.js for footnotes (#17357)
* [Docs Site] Use Tippy.js for footnotes

* tabindex/hover cutoff fixes

* update style guide link to lib

* new fnref styling
2024-10-09 10:06:44 +01:00
James Ross
30b3bfd33f
[Docs Site] Optimize SVGs (#17350) 2024-10-07 09:58:00 +01:00
Renamed from astro.config.mjs (Browse further)