doc structure refactor