Closed gampleman closed 3 years ago
When doing this, let's please move away from gitbooks. The reasons are as follows:
Some gitbook alternatives:
So, to recap a bit, we have the following desires:
Looking at the tools above, each fails in some of these requirements:
I also thought of building this ourselves as we already have a nicely themed web app. In my mind the parts that would take some effort are 1 (as we would either need to figure out how to do this server side or have a build step generating a lunr index) and 3 (where build a markdown to PDF tool is pretty doable, but hammering out the corner cases would take some effort).
Either way, I don't think I've found a solution that is a clear win over what we have unfortunately :(
IF we go with build-our-own we could use the built in full text search functionality of SQLite too. It's fast and good from what I know.
I am fine with dropping the support for offline docs (i.e 100% happy dropping support for stuff other than PDFs, and 80% OK with dropping support for generating PDFs).
Being the most promising I spent some time trying to set it up and it seems rather inflexible, in that we might need to restructure our docs to fit the tool.
Could you please elaborate a bit on what would need to change to fit the docsify ?
https://github.com/rust-lang/mdBook fails in 3 (partially, it has suboptimal Epub support) and 4.
The samples look really ugly, but aside from that maybe it's the best option at the moment?
I also feel mdBook might be our best shot and it is the most similar to gitbook, so the migration might be straightforward.
Could you please elaborate a bit on what would need to change to fit the docsify ?
So far it seems:
/docs/deployment.html
would turn into /docs#deployment
. This is annoying, since all links to our documentation would be broken.Nothing I feel is a real dealbreaker, but it is annoying.
I'm absolutely loving docsify. It has plugins for so many things!
index.html
where we can configure everything_sidebar.md
file support for custom sidebar_footer.md
file for custom footer with branding etc.index.html
file. We can also inject scripts and such.The only minus is that it has no
Edit: this also works https://docsify.js.org/#/embed-files{% include %}
support. There's a plugin for that but I'm not sure if it works with search.
We may need some restructuring to get it running properly, but I got a basic setup running in 20 minutes. There's 3 or 4 %include
calls so it won't be too difficult.
If there are no objections I'll try a PoC implementation.
If there are no objections I'll try a PoC implementation.
Go for it!
For most technical products, the documentation is a pretty important piece of marketing: when seeing if a certain product will be suitable for my needs I judge the documentation quite early on - as it can tell me the actual technical details that often make the difference between something useful and useless.
However our documentation, while content-wise is quite good, leaves a lot to be desired in its presentation. The theme is boring and stock. There are no convenient links to get back to the product/website. It hardly says Aircloak on it at all (it does but in a barely readable gray-on-gray font).