Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Cron guide#625

Merged
gvdongen merged 9 commits intomainfrom
cron_guide
Jun 9, 2025
Merged

Cron guide#625
gvdongen merged 9 commits intomainfrom
cron_guide

Conversation

@gvdongen
Copy link
Contributor

@gvdongen gvdongen commented Jun 6, 2025

This pull request introduces a new guide on implementing cron jobs with Restate, along with several UI and styling updates. The key changes include the addition of the cron jobs guide, updates to the CopyButton component, CSS adjustments for better styling, and a minor update to the site's color palette.

New Guide Addition:

  • Added a comprehensive guide on implementing cron jobs with Restate, including examples in TypeScript and Java, detailed steps for running the example, and visual aids. The guide explains how to use Restate features like durable timers, task control, and key-value state to build a cron service. (docs/guides/cron.mdx, docs/guides/cron.mdxR1-R167)
  • Added the new guide to the guides list in src/data/guides.tsx with metadata and preview image. (src/data/guides.tsx, src/data/guides.tsxR69-R76)

UI Enhancements:

  • Updated the CopyButton component to improve accessibility and design by modifying the GitHub link icon and the copy-to-clipboard button with new dimensions, colors, and alt text. (src/components/code/copy-button.tsx, [1] [2]

CSS Updates:

  • Commented out unused .ch-code-button styling rules for better maintainability and added minor adjustments to margins and alignment for GitHub link icons. (src/css/codehike-styling.css, [1] [2] [3]
  • Updated the secondary light color in the custom CSS to improve the visual contrast of UI elements. (src/css/custom.css, src/css/custom.cssL16-R16)

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jun 6, 2025

Deploying documentation with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9097d32
Status: ✅  Deploy successful!
Preview URL: https://cc2fbc1e.documentation-beg.pages.dev
Branch Preview URL: https://cron-guide.documentation-beg.pages.dev

View logs

@gvdongen gvdongen merged commit 548c854 into main Jun 9, 2025
9 checks passed
@gvdongen gvdongen deleted the cron_guide branch June 9, 2025 10:41
@github-actions github-actions bot locked and limited conversation to collaborators Jun 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant