Skip to content

refactor: AsciiDoc linter integration and semantic definition lists#76

Merged
raifdmueller merged 2 commits intoLLM-Coding:mainfrom
raifdmueller:main
Feb 13, 2026
Merged

refactor: AsciiDoc linter integration and semantic definition lists#76
raifdmueller merged 2 commits intoLLM-Coding:mainfrom
raifdmueller:main

Conversation

@raifdmueller
Copy link
Contributor

Summary

Complete AsciiDoc linter integration with semantic restructuring of all anchor files.

Changes

AsciiDoc Linter Integration 🔍

  • Installed AsciiDoc linter from docToolchain
  • 1011 → 0 linter violations across all anchor files
  • All 92 anchor files now pass validation

Semantic Restructuring 📝

Before (non-semantic bullet lists):

*Core Concepts*:
* *Lightweight documentation*: Short, focused records
* *Immutability*: ADRs are never deleted

After (semantic definition lists):

*Core Concepts*:

Lightweight documentation:: Short, focused records

Immutability:: ADRs are never deleted

Specific Improvements

  • Convert bullet lists with bold labels to definition lists (Label::)
  • Use nested definition lists (Label:::) for hierarchical structures
  • Fix explicit numbering (1. 2. 3.) to auto-numbering (. . .)
  • Remove excessive blank lines
  • Update template with correct structure

Additional Fixes

  • Router: Handle /anchor/:id deep links (shared links now open modal)
  • AsciiDoc quality: All files follow semantic best practices

Benefits

  • Cleaner structure: Definition lists are semantically correct
  • Better rendering: Many tools render definition lists with better formatting
  • Consistency: All anchors follow the same pattern
  • Maintainability: Linter ensures quality standards

Testing

  • All 92 files pass asciidoc-linter validation
  • Template updated with correct patterns
  • Deep links tested and working

🤖 Generated with Claude Code

raifdmueller and others added 2 commits February 13, 2026 19:29
Router fix:
- Add handler for /anchor/:id routes
- Open anchor modal when navigating to direct anchor link
- Reset URL to home when modal is closed
- Fixes shared/copied anchor links not opening the modal

AsciiDoc linter fix:
- Convert non-semantic bold labels (*Label*:) to definition lists (Label::)
- Reduces linter errors from 1011 to 789
- Remaining errors are nested lists, will fix in follow-up

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Convert 1011 linter violations to proper AsciiDoc syntax
- Use definition lists (Label::) instead of bullet lists with bold
- Use nested definition lists (:::) for hierarchical structures
- Fix explicit numbering (1. 2. 3.) to auto-numbering (. . .)
- Remove excessive blank lines
- Update template with correct structure

All 92 anchor files now pass asciidoc-linter validation.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@raifdmueller raifdmueller merged commit 5411d7b into LLM-Coding:main Feb 13, 2026
1 of 2 checks passed
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