XWiki
XWiki is a Java wiki platform built for organisations that need a knowledge base, a collaborative intranet, or light business applications rather than a simple document dump. It offers structured data and in-page scripting so pages can hold live tables and small apps, plus version history, rights management, LDAP, comments, and a REST API.
Teams use it for internal documentation, onboarding material, and collaborative processes.
The service can it on your own infrastructure, where internal documentation stays away from third-party SaaS and the knowledge base grows without per-user charges.