From 4d791e4208dacdf24f7129a98cc372da6850465d Mon Sep 17 00:00:00 2001 From: Morgan Roderick Date: Fri, 3 Apr 2026 21:33:17 +0200 Subject: [PATCH 1/2] feat: add sitemap generation with lastmod support --- .vitepress/config.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vitepress/config.mjs b/.vitepress/config.mjs index 4b47347..34f8e72 100644 --- a/.vitepress/config.mjs +++ b/.vitepress/config.mjs @@ -6,6 +6,10 @@ export default defineConfig({ title: "idempot.dev", description: "Idempotency middlewares for resilient APIs", + sitemap: { + hostname: "https://idempot.dev/" + }, + head: [ [ "script", @@ -22,6 +26,7 @@ export default defineConfig({ ], themeConfig: { + lastUpdated: true, nav: [ { text: "Home", link: "/" }, { text: "Why Idempotency", link: "/why-idempotency" }, From e44bb04add4232bbc247a95e674b587837bef2c6 Mon Sep 17 00:00:00 2001 From: Morgan Roderick Date: Fri, 3 Apr 2026 21:35:07 +0200 Subject: [PATCH 2/2] chore: format files --- CODE_OF_CONDUCT.md | 22 +++++++++++----------- package-lock.json | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index f6f5244..98c2d33 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community. Examples of behavior that contributes to a positive environment for our community include: -* Demonstrating empathy and kindness toward other people -* Being respectful of differing opinions, viewpoints, and experiences -* Giving and gracefully accepting constructive feedback -* Accepting responsibility and apologizing to those affected by our mistakes, +- Demonstrating empathy and kindness toward other people +- Being respectful of differing opinions, viewpoints, and experiences +- Giving and gracefully accepting constructive feedback +- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience -* Focusing on what is best not just for us as individuals, but for the +- Focusing on what is best not just for us as individuals, but for the overall community Examples of unacceptable behavior include: -* The use of sexualized language or imagery, and sexual attention or +- The use of sexualized language or imagery, and sexual attention or advances of any kind -* Trolling, insulting or derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or email +- Trolling, insulting or derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or email address, without their explicit permission -* Other conduct which could reasonably be considered inappropriate in a +- Other conduct which could reasonably be considered inappropriate in a professional setting ## Enforcement Responsibilities @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban. ### 4. Permanent Ban **Community Impact**: Demonstrating a pattern of violation of community -standards, including sustained inappropriate behavior, harassment of an +standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. **Consequence**: A permanent ban from any sort of public interaction within diff --git a/package-lock.json b/package-lock.json index f279ad2..a832ac1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "website", + "name": "sitemap", "lockfileVersion": 3, "requires": true, "packages": {