Joplin - an open source note taking and to-do application with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
I'd also check Joplin, there is a desktop application and you can sync with a webdav server (NextCloud for example).
A platform to create documentation/wiki content built with PHP & Laravel
I personally love to use BookStack for these things since I found it a few years ago. It's basically what you are looking for. You can take notes of everything, order them in a hierarchical structure (shelves > books > chapter > pages) and export them to PDF. There is markdown editor for experienced users or a normal WYSIWYG editor with some useful shortcuts. I like to use it as my personal wiki and a quick reference handbook for all the difficult problems that I already solved. The fulltext search is quite fast which was an important requirement for myself.
Managed Cloud Hosting Platform. Cloudways leverages advanced technology and powerful servers. Cloudways is a one-click managed cloud hosting platform that provides cloud application and server management solutions.
Ask HN: Do you have a personal wiki?
2 projects | news.ycombinator.com | 1 Jul 2021
How do you maintain personnal technical understandable documentation through time ?
3 projects | reddit.com/r/homelab | 23 Feb 2021
Zero-Day Exploitation of Atlassian Confluence
1 project | news.ycombinator.com | 3 Jun 2022
Internal Wiki Help
3 projects | reddit.com/r/sysadmin | 28 May 2022
atlassian's pricing model
6 projects | reddit.com/r/sysadmin | 27 May 2022