diff --git a/AUDIT.md b/AUDIT.md new file mode 100644 index 0000000..d370d8d --- /dev/null +++ b/AUDIT.md @@ -0,0 +1,510 @@ +# Content Audit: docs/book/v1 and dotkernel.com/light.md vs. dotkernel/light + +This audit compares the content of `docs/book/v1` in this repository, and of +`/var/www/html/dotkernel/dotkernel.com/public/light.md`, against the source of truth: +the default branch (`1.0`) of [dotkernel/light](https://github.com/dotkernel/light), +cloned at commit `aad9c16aa4151593a57039e837827da07c567b33` (2026-09-18), which sits one +merge commit ahead of tag `1.5.0`. + +No files were changed as part of this audit. Each item below lists the current +(`Before`) content and the proposed (`After`) content. + +## 1. `docs/book/v1/introduction.md` — page title capitalization + +The official product name is capitalized "Dotkernel Light" everywhere in the source +of truth (README title, `light.md` title, `composer.json` description), but this +page's H1 lowercases "light". + +**Before:** + +```markdown +# Dotkernel light +``` + +**After:** + +```markdown +# Dotkernel Light +``` + +## 2. `docs/book/v1/introduction.md` — mismatched PHP version badge + +The PR that unpinned this badge from release `1.2.0` (`d878817`) kept it on the +`packagist/php-v` endpoint. `README.md` in the source of truth has since moved to a +different endpoint, `packagist/dependency-v/.../php`, so the two badges no longer +point at the same shields.io image. + +**Before:** + +```markdown + +``` + +**After:** + +```markdown + +``` + +## 3. `docs/book/v1/introduction.md` — missing badges present in README + +`README.md` carries two badges this page does not: the "Build Assets" workflow +badge, and the static "PHPStan level 8" badge. + +**Before:** + +```markdown +[](https://github.com/dotkernel/light/actions/workflows/continuous-integration.yml) +[](https://codecov.io/gh/dotkernel/light) +[](https://github.com/dotkernel/light/actions/workflows/qodana_code_quality.yml) +[](https://github.com/dotkernel/light/actions/workflows/static-analysis.yml) +``` + +**After:** + +```markdown +[](https://github.com/dotkernel/light/actions/workflows/continuous-integration.yml) +[](https://codecov.io/gh/dotkernel/light) +[](https://github.com/dotkernel/light/actions/workflows/qodana_code_quality.yml) +[](https://github.com/dotkernel/light/actions/workflows/build-assets.yml) + +[](https://github.com/dotkernel/light/actions/workflows/static-analysis.yml) + +``` + +## 4. `docs/book/v1/how-tos/routing.md` — brand name capitalization + +The product is spelled "Dotkernel" (one capital letter) everywhere else in both +this documentation set and the source of truth. This page camel-cases it. + +**Before:** + +```markdown +In our current implementation we are using request handlers instead of controllers in order for DotKernel to comply with the PSR-15 standard. +``` + +**After:** + +```markdown +In our current implementation we are using request handlers instead of controllers in order for Dotkernel to comply with the PSR-15 standard. +``` + +## 5. `docs/book/v1/how-tos/edit-top-menu.md` — wrong wrapper element for the top menu + +The example wraps the `navbarHeader` menu in a `