From eff990711a876802fbf203bdd451c8b012db14d5 Mon Sep 17 00:00:00 2001 From: bidi Date: Fri, 4 Dec 2026 17:11:33 +0200 Subject: [PATCH] updated docs for refactor Signed-off-by: bidi --- AUDIT.md | 510 ++++++++++++++++++ README.md | 5 + docs/book/index.md | 2 +- docs/book/v1/how-tos/create-pages.md | 4 +- docs/book/v1/how-tos/routing.md | 25 +- .../installation/running-the-application.md | 2 + docs/book/v1/introduction/file-structure.md | 4 +- docs/book/v1/introduction/packages.md | 7 +- .../book/v1/introduction/request-lifecycle.md | 9 +- .../v1/introduction/server-requirements.md | 9 +- docs/book/v1/upgrading/UPGRADE-1.6.md | 106 ++++ mkdocs.yml | 1 + 12 files changed, 663 insertions(+), 21 deletions(-) create mode 100644 AUDIT.md create mode 100644 README.md mode change 100644 => 120000 docs/book/index.md create mode 100644 docs/book/v1/upgrading/UPGRADE-1.6.md 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 +![PHP from Packagist](https://img.shields.io/packagist/php-v/dotkernel/light) +``` + +**After:** + +```markdown +![Packagist Dependency Version](https://img.shields.io/packagist/dependency-v/dotkernel/light/php) +``` + +## 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 +[![Continuous Integration](https://github.com/dotkernel/light/actions/workflows/continuous-integration.yml/badge.svg?branch=1.0)](https://github.com/dotkernel/light/actions/workflows/continuous-integration.yml) +[![codecov](https://codecov.io/gh/dotkernel/light/graph/badge.svg?token=UpVJ5ELvfZ)](https://codecov.io/gh/dotkernel/light) +[![Qodana](https://github.com/dotkernel/light/actions/workflows/qodana_code_quality.yml/badge.svg)](https://github.com/dotkernel/light/actions/workflows/qodana_code_quality.yml) +[![PHPStan](https://github.com/dotkernel/light/actions/workflows/static-analysis.yml/badge.svg?branch=1.0)](https://github.com/dotkernel/light/actions/workflows/static-analysis.yml) +``` + +**After:** + +```markdown +[![Continuous Integration](https://github.com/dotkernel/light/actions/workflows/continuous-integration.yml/badge.svg?branch=1.0)](https://github.com/dotkernel/light/actions/workflows/continuous-integration.yml) +[![codecov](https://codecov.io/gh/dotkernel/light/graph/badge.svg?token=UpVJ5ELvfZ)](https://codecov.io/gh/dotkernel/light) +[![Qodana](https://github.com/dotkernel/light/actions/workflows/qodana_code_quality.yml/badge.svg)](https://github.com/dotkernel/light/actions/workflows/qodana_code_quality.yml) +[![Build Assets](https://github.com/dotkernel/light/actions/workflows/build-assets.yml/badge.svg?branch=1.0)](https://github.com/dotkernel/light/actions/workflows/build-assets.yml) + +[![PHPStan](https://github.com/dotkernel/light/actions/workflows/static-analysis.yml/badge.svg?branch=1.0)](https://github.com/dotkernel/light/actions/workflows/static-analysis.yml) +![PHPstan Level](https://img.shields.io/badge/PHPStan-level%208-brightgreen) +``` + +## 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 `