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
7 changes: 5 additions & 2 deletions web/scripts/lint-docs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ function checkFile(file, raw) {
continue;
}

// Inline code may deliberately name an authoring marker, as migration guidance
// does with `TODO(cratis-codemod)`. Only prose should trigger marker errors.
const prose = line.replace(/`[^`]*`/g, '');

// Errors
for (const re of NONDESCRIPTIVE) {
if (re.test(line)) { console.error(` [link-text] ${at} ${line.trim()}`); errors++; }
Expand All @@ -100,11 +104,10 @@ function checkFile(file, raw) {
if (re.test(line)) { console.error(` [docfx] ${at} ${line.trim()}`); errors++; }
}
for (const re of AUTHORING_MARKERS) {
if (re.test(line)) { console.error(` [marker] ${at} ${line.trim()}`); errors++; }
if (re.test(prose)) { console.error(` [marker] ${at} ${line.trim()}`); errors++; }
}

// Warnings (style guide) — skip inline-code spans so `simply` in `code` is ignored.
const prose = line.replace(/`[^`]*`/g, '');
// Heading end-punctuation: check the original line (entities decoded), NOT the
// code-stripped `prose`. A heading like `## Convenience: `[EventLog]`` ends in a
// code span, not punctuation — stripping the code first would leave a phantom
Expand Down
5 changes: 5 additions & 0 deletions web/src/content/docs/compare-event-sourcing-dotnet.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
title: "Event sourcing in .NET: KurrentDB, Marten, and Cratis Chronicle"
description: "Compare KurrentDB 26.0, Marten 9.30.0, and Cratis Chronicle 16.42.0 for .NET event sourcing, with versioned sources and architectural trade-offs."
head:
- tag: meta
attrs:
name: keywords
content: "event sourcing .NET comparison, event sourcing C#, .NET event store comparison, KurrentDB vs Marten vs Cratis Chronicle, Marten vs Cratis Chronicle, EventStoreDB alternatives, KurrentDB alternatives, choosing an event sourcing framework for .NET, event sourcing database .NET"
---

import { Aside } from '@astrojs/starlight/components';
Expand Down
5 changes: 5 additions & 0 deletions web/src/content/docs/compare-event-sourcing-jvm.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
title: "Event sourcing on the JVM: Axon, KurrentDB, and Cratis Chronicle"
description: "Compare Axon Framework 5.3.1, KurrentDB 26.0, and Cratis Chronicle 16.42.0 for Java and Kotlin event sourcing, with versioned sources and trade-offs."
head:
- tag: meta
attrs:
name: keywords
content: "event sourcing JVM comparison, event sourcing Kotlin, event sourcing Java, Axon Framework vs KurrentDB vs Cratis Chronicle, Axon Framework alternatives, event store Java comparison, Kotlin event sourcing framework, Spring Boot event sourcing, choosing an event sourcing framework for the JVM, event sourcing database Java"
---

import { Aside } from '@astrojs/starlight/components';
Expand Down
Loading