Fix documents cleanup (code manager, path rules, section page function)
Fix path rules generation and indexation