Skip to content

docs: remove unintended rendered line breaks - #25

Merged
DecisionNerd merged 2 commits into
stagingfrom
feature/fix-ddd-line-break
Jul 14, 2026
Merged

docs: remove unintended rendered line breaks#25
DecisionNerd merged 2 commits into
stagingfrom
feature/fix-ddd-line-break

Conversation

@DecisionNerd

@DecisionNerd DecisionNerd commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • reflow published prose and list items so Docmd does not turn source wrapping into visible <br> elements
  • fix the reported homepage break in “DocSlime uses Domain Driven Design lightly”
  • clean the same issue from Homepage, Product, Design, Experience, Strategy, Requirements, Lifecycle, Skills, and Engineering pages
  • preserve the intentional light/dark hero-wordmark break and all Docmd directive boundaries
  • make the site build fail when an unintended rendered <br> appears again

Verification

  • npm run build (16 pages)
  • build-time rendered-line-break check passes across every generated HTML page
  • generated Homepage contains only the one intentional wordmark-image <br>
  • generated Design and Experience pages contain zero <br> elements
  • word-level review confirms prose content is unchanged; the broad docs diff is formatting-only
  • git diff --check

Note

Add build-time check for unintended line breaks in rendered documentation

  • Adds scripts/check-rendered-line-breaks.mjs, a Node.js script that scans built HTML files for source-wrapped prose and exits with code 1 if any are found.
  • Integrates the check into the build npm script in package.json so it runs automatically after docmd build.
  • Reflowed all prose in the docs/ directory from multi-line wraps into single lines and normalized Markdown table separators to eliminate existing violations.

Macroscope summarized 5337409.

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docslime Ready Ready Preview, Comment Jul 14, 2026 6:32pm

Request Review

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: dcc1bfb8-e9ed-4000-b818-15bec5a6400f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/fix-ddd-line-break

Comment @coderabbitai help to get the list of available commands.

@DecisionNerd DecisionNerd changed the title docs: fix DDD sentence line break docs: remove unintended rendered line breaks Jul 14, 2026
@DecisionNerd
DecisionNerd merged commit dba132b into staging Jul 14, 2026
14 checks passed
@DecisionNerd
DecisionNerd deleted the feature/fix-ddd-line-break branch July 14, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant