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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user