Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 3 additions & 25 deletions _config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,33 +451,11 @@ site.ignore(
// the default layout if no other layout is specified
site.data("layout", "doc.tsx");

// Populate lastModified from git history using a single git command
// Populate lastModified from frontmatter `last_modified` field
site.preprocess([".md", ".mdx"], (filteredPages) => {
const result = Deno.spawnAndWaitSync("git", [
"log",
"--pretty=format:%aI",
"--name-only",
"--diff-filter=ACMR",
"HEAD",
]);

const output = new TextDecoder().decode(result.stdout);
const lastModified = new Map<string, string>();
let currentDate = "";

for (const line of output.split("\n")) {
if (!line) continue;
if (line.match(/^\d{4}-/)) {
currentDate = line;
} else if (!lastModified.has(line)) {
lastModified.set(line, currentDate);
}
}

for (const page of filteredPages) {
const src = page.sourcePath?.replace(/^\//, "");
if (src && lastModified.has(src)) {
page.data.lastModified = new Date(lastModified.get(src)!);
if (page.data.last_modified) {
page.data.lastModified = new Date(page.data.last_modified);
}
}
});
Expand Down
1 change: 1 addition & 0 deletions deploy/acceptable_use_policy.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-10-07
title: "Acceptable use policy"
description: "What constitutes acceptable use of Deno Deploy Classic."
oldUrl: /deploy/classic/acceptable-use-policy/
Expand Down
1 change: 1 addition & 0 deletions deploy/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Deno Deploy changelog"
description: "Listing notable progress in the development and evolution of Deno Deploy"
---
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/api/compression.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Compressing response bodies"
oldUrl:
- /deploy/docs/compression/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/api/dynamic-import.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Dynamic import"
oldUrl:
- /deploy/api/dynamic-import/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/api/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "API Reference"
sidebar_title: "Overview"
pagination_next: /deploy/api/runtime-broadcast-channel
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/api/runtime-broadcast-channel.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "BroadcastChannel"
oldUrl:
- /deploy/docs/runtime-broadcast-channel/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/api/runtime-fetch.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "HTTP requests (fetch)"
oldUrl:
- /deploy/docs/runtime-fetch/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/api/runtime-fs.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "File system APIs"
oldUrl:
- /deploy/docs/runtime-fs/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/api/runtime-headers.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "HTTP Headers"
oldUrl:
- /deploy/docs/runtime-headers/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/api/runtime-node.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Node.js built-in APIs"
oldUrl:
- /deploy/docs/runtime-node/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/api/runtime-request.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "HTTP Request"
oldUrl:
- /deploy/docs/runtime-request/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/api/runtime-response.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "HTTP Response"
oldUrl:
- /deploy/docs/response/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/api/runtime-sockets.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "TCP sockets and TLS"
oldUrl:
- /deploy/docs/sockets/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/ci_github.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "CI and GitHub Actions"
oldUrl:
- /deploy/docs/project/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/cron.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Scheduling cron tasks"
oldUrl:
- /kv/manual/cron/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/custom-domains.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Custom domains"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/deployctl.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Using deployctl on the command line"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/deployments.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Deployments"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/dynamodb.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Connect to DynamoDB"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/edge_cache.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Edge Cache"
oldUrl:
- /deploy/classic/edge-cache/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/environment-variables.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Environment variables"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/firebase.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Connect to Firebase"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/how-to-deploy.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Deploy with GitHub integration"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Deploy Classic"
oldUrl:
- /deploy/docs/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/kv_on_deploy.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "KV on Deno Deploy"
oldUrl:
- /deploy/manual/kv/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/logs.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Application logging"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/middleware.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Reverse proxy middleware"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/neon-postgres.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Connect to Neon Postgres"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/organizations.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Organizations"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/playgrounds.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Playgrounds"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/postgres.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Connect to Postgres"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/prisma-postgres.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Connect to Prisma Postgres"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/queues.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Using Queues"
oldUrl:
- /kv/manual/queue_overview/
Expand Down
1 change: 1 addition & 0 deletions deploy/classic/regions.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Regions"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/classic/running-scripts-locally.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Local development"
---

Expand Down
1 change: 1 addition & 0 deletions deploy/fulfillment_policy.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-10-07
title: "Fulfillment Policy"
description: "Our policies regarding refunds and cancellations for Deno Deploy."
oldUrl: /deploy/classic/fulfillment-policy/
Expand Down
1 change: 1 addition & 0 deletions deploy/getting_started.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-26
title: "Getting started"
description: "Step-by-step guide to creating and configuring your first Deno Deploy application, including organization setup, build configuration, environment variables, and deployment monitoring."
---
Expand Down
1 change: 1 addition & 0 deletions deploy/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-20
title: "About Deno Deploy"
description: "Guide to Deno Deploy features, comparison with Deploy Classic, and getting started instructions for deployment."
---
Expand Down
1 change: 1 addition & 0 deletions deploy/kv/backup.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Backups"
oldUrl:
- /kv/manual/backup/
Expand Down
1 change: 1 addition & 0 deletions deploy/kv/data_modeling_typescript.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-10-07
title: "Data Modeling in TypeScript"
oldUrl:
- /kv/manual/data_modeling_typescript/
Expand Down
1 change: 1 addition & 0 deletions deploy/kv/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-26
title: "Deno KV Quick Start"
oldUrl:
- /kv/
Expand Down
1 change: 1 addition & 0 deletions deploy/kv/key_expiration.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-10-07
title: "Key Expiration (TTL for keys)"
oldUrl:
- /kv/manual/key_expiration/
Expand Down
1 change: 1 addition & 0 deletions deploy/kv/key_space.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-10-07
title: "Key Space"
oldUrl:
- /runtime/manual/runtime/kv/key_space/
Expand Down
1 change: 1 addition & 0 deletions deploy/kv/node.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Using KV in Node.js"
oldUrl:
- /kv/manual/node/
Expand Down
1 change: 1 addition & 0 deletions deploy/kv/operations.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-10-07
title: "Operations"
oldUrl:
- /runtime/manual/runtime/kv/operations/
Expand Down
1 change: 1 addition & 0 deletions deploy/kv/secondary_indexes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-10-23
title: "Secondary Indexes"
oldUrl:
- /runtime/manual/runtime/kv/secondary_indexes
Expand Down
1 change: 1 addition & 0 deletions deploy/kv/transactions.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-10-07
title: "Transactions"
oldUrl:
- /runtime/manual/runtime/kv/transactions/
Expand Down
1 change: 1 addition & 0 deletions deploy/migration_guide.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: "Migrating from Deploy Classic to Deno Deploy"
description: "Guide to migrating your applications from Deno Deploy Classic (dash.deno.com) to the new Deno Deploy (console.deno.com), including subhosting API migration."
---
Expand Down
1 change: 1 addition & 0 deletions deploy/pricing_and_limits.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-10-07
title: "Pricing and limitations"
description: "Important limitations, service level expectations, and terms of use for Deno Deploy."
oldUrl: /deploy/classic/pricing-and-limits/
Expand Down
1 change: 1 addition & 0 deletions deploy/privacy_policy.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-10-07
title: "Privacy Policy"
description: "Deno's Privacy Policy"
oldUrl: /deploy/classic/privacy-policy
Expand Down
1 change: 1 addition & 0 deletions deploy/reference/accounts.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-12-08
title: Accounts
description: "Information about user accounts, authentication via GitHub, and managing your profile in Deno Deploy."
---
Expand Down
1 change: 1 addition & 0 deletions deploy/reference/apps.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-19
title: Applications
description: "Guide to managing applications in Deno Deploy, including app creation, configuration, GitHub integration, and deployment options."
---
Expand Down
1 change: 1 addition & 0 deletions deploy/reference/builds.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-02-25
title: Builds
description: "Detailed explanation of the build process in Deno Deploy, covering build triggers, stages, configuration options, caching, and the build environment."
---
Expand Down
1 change: 1 addition & 0 deletions deploy/reference/button.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-12-18
title: Deploy Button
description: "Help users quickly and easily clone code and deploy it to Deno Deploy with the click of a button"
---
Expand Down
1 change: 1 addition & 0 deletions deploy/reference/caching.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-02-27
title: CDN and caching
description: "HTTP caching in Deno Deploy: cache control headers, cache tags, invalidation API, and best practices for edge caching."
---
Expand Down
1 change: 1 addition & 0 deletions deploy/reference/cloud_connections.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-10-07
title: Cloud Connections
description: Learn how to connect Deno Deploy to cloud providers like AWS and Google Cloud Platform without needing to manage credentials.
oldUrl: /deploy/reference/cloud-connections
Expand Down
1 change: 1 addition & 0 deletions deploy/reference/cron.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-03-02
title: Cron
description: "Scheduling and managing cron jobs in Deno Deploy, including defining cron jobs in code, execution lifecycle, retries, and observability."
---
Expand Down
1 change: 1 addition & 0 deletions deploy/reference/databases.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-02-10
title: Databases
description: Connect to external database instances and integrate your applications and their environments seamlessly.
---
Expand Down
1 change: 1 addition & 0 deletions deploy/reference/deno_kv.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2026-02-13
title: Deno KV
description: Use Deno KV in your applications with a dedicated database per timeline
oldUrl: /deploy/reference/deno-kv/
Expand Down
1 change: 1 addition & 0 deletions deploy/reference/domains.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
last_modified: 2025-10-15
title: Domains
description: "Complete guide to domain management in Deno Deploy, including organization domains, custom domains, DNS configuration, TLS certificates, and domain assignments."
---
Expand Down
Loading
Loading