For your documentation to be clear with proper hierarchy and navigation, you can categorize it all within Notion.
In an empty knowledge base page database, each new page you create is a new category. With that page, you can create another database to create a sub-category or just fill in your info directly depending on your data simplicity.
You can create as many sub-categories and divisions with a category by simply creating pages in a database and databases within those pages, easy, isn’t it?