christofmuc / KnobKraft-orm

The KnobKraft Orm - The free modern cross-platform MIDI Sysex Librarian
GNU Affero General Public License v3.0
200 stars 25 forks source link

Documentation for users distributed, partly hard to read #235

Open christofmuc opened 1 year ago

christofmuc commented 1 year ago

@Andy2No I think I could produce both, the md version we have right now (which, when downloaded and viewed locally, is very useable!), and a csv version for easy import into Google Docs or Excel if somebody wants to work with the document.

Originally posted by @christofmuc in https://github.com/christofmuc/KnobKraft-orm/issues/208#issuecomment-1435986999

christofmuc commented 1 year ago

We currently have several parts of user documentation, that is potentially hard to find or hard to read:

Many bigger OpenSource projects have their own Project page going beyond a simple github README, maybe we're at a point where this makes sense for us. What tools are there, are they all on github pages?

bboc commented 1 year ago

Most projects I know are on GH pages, because that's the simplest way for setting up a webpage and keeping it in sync with code changes, since a GH page is basically a collection of MD files in a dedicated folder (see setup instructions.

I recommend adding a command to the makefile that takes care of building anything related to documentation, e.g. the table for the adaptation's capabilities.

As for content, I find the readme too large, simply because there is no way of knowing what's in there without browsing il. A couple of links at the top to the sections would help, of course. But once you have those links, they later might as well point to the documentation pages, and then a readme that contains a short explanation, a screenshot and the license might be enough.

If you want to preserve the wiki, just link to it from the list of adaptation. I'm not so sure the wiki will grow much, though, because I expect that once a certain feature set and number of adaptations is available, most users will not have a GH account anyway. So maybe a collection of doc pages for adaptations is enough. Since the wiki is basically a GH page, and it has a separate repo, you can clone it and copy the pages over to the new GH page.

I have some experience in setting up GH pages, so I might be able to help you with that if you wish.

christofmuc commented 1 year ago

This looks interesting, might be overpowered: https://docs.gitbook.com/

This is a node based generator which seems sensible as well: https://vitepress.vuejs.org/guide/configuration

christofmuc commented 1 year ago

Looks quite sensible: https://vitepress.vuejs.org/guide/deploying#github-pages

Everything is there, docs would be written in a directory full of markdown files. Some of them could be generated.

This looks nice and very lightweight: https://docsify.js.org/#/?id=docsify

There is probably a migration path regarding the generator once we decided to use GH pages and markdown. That ecosystem seems to be quite rich in tools.

Sphinx would use rst files. I probably feel more comfortable in md.

So for long term support, something like gitbook.com is bad because they might just go out of business or close down public repos or what ever. The docsify javascript action is probably most robust, because you have apart from that javascript no other dependencies that can go out of date.

I'd probably start off with docsify, and if that turns out to have bad performance we can switch to a site generator like vitepress or any other...

bboc commented 1 year ago

I wouldn't recommend rst if you want other people to contribute to the documentation, Markdown is much simpler and much more widely used these days.

What would you see as added benefit of docsify or vitepress over plain github pages? Jekyll is a pretty powerful site generator, here's one example of a github page that uses a responsive and free theme that might cover all your needs.

christofmuc commented 1 year ago

Ah ok, I though Jekyll to be more heavyweight. I need to read the docs and understand how I can use it, I have no experience with it.

mslinn commented 11 months ago

I use Jekyll, and have written many plugins https://www.mslinn.com/jekyll/index.html

Although I prefer HTML, Jekyll can work with markdown and/or HTML files