Update CROSS_REFERENCE_VERIFICATION_REPORT.md with revised link verification results, reflecting an increase in total scanned links and valid links, while reducing broken links and improving the success rate. Enhance DOCUMENTATION_STANDARDS.md with clearer examples for internal and section references. Revise FAQ documents to include more descriptive references for operational guides and examples. Update formatted_book/DBIS_Institutional_Book_Structure.md to improve navigation with added anchor tags for sections. Modify verify_links.py to check for both files and directories, enhancing link verification accuracy.

This commit is contained in:
defiQUG
2025-12-08 03:59:56 -08:00
parent dea76aeec1
commit 13bad3aef2
8 changed files with 390 additions and 160 deletions

View File

@@ -102,8 +102,8 @@ def verify_link(link, project_root):
if resolved_path == 'anchor':
return True, 'anchor', None # Anchor-only links are valid
# Check if file exists
if os.path.isfile(resolved_path):
# Check if file or directory exists
if os.path.isfile(resolved_path) or os.path.isdir(resolved_path):
# If anchor exists, check if it's in the file (simplified check)
if anchor:
try: