Remove obsolete documentation files including ALL_TASKS_COMPLETE.md, COMPLETION_REPORT.md, COMPREHENSIVE_FINAL_REPORT.md, FAQ_Compliance.md, FAQ_General.md, FAQ_Operational.md, FAQ_Technical.md, FINAL_COMPLETION_SUMMARY.md, IMPLEMENTATION_STATUS.md, IMPLEMENTATION_TASK_LIST.md, NEXT_STEPS_EXECUTION_SUMMARY.md, PHASE_1_COMPLETION_SUMMARY.md, PHASE_2_PLANNING.md, PHASE_2_QUICK_START.md, PROJECT_COMPLETE_SUMMARY.md, PROJECT_STATUS.md, and related templates. This cleanup streamlines the repository by eliminating outdated content, ensuring focus on current documentation and enhancing overall maintainability.

This commit is contained in:
defiQUG
2025-12-08 06:24:28 -08:00
parent 0e4be6446a
commit d13eca034d
112 changed files with 14024 additions and 159 deletions

View File

@@ -36,9 +36,17 @@ def extract_links(content, file_path):
# Pattern: [text](path) or [text](path#anchor)
pattern = r'\[([^\]]+)\]\(([^)]+)\)'
for match in re.finditer(pattern, content):
# Remove code blocks to avoid detecting links in examples
# Split by code blocks (``` or `)
code_block_pattern = r'```[^`]*```|`[^`]+`'
content_without_code = re.sub(code_block_pattern, '', content)
for match in re.finditer(pattern, content_without_code):
link_text = match.group(1)
link_path = match.group(2)
# Skip example/placeholder links
if any(placeholder in link_path for placeholder in ['relative/path/to/', 'document.md', 'path/to/directory/', 'path/to/file.md']):
continue
links.append({
'text': link_text,
'path': link_path,