Open kalinon opened 4 years ago
Back then, I chose the README as main documentation hub (Along the TEMPLATE.yml) for four reasons:
A source of inspiration was the README of https://github.com/sinatra/sinatra, which may be longer than the bible (Haven't checked). Still, using Ctrl+F I can quickly find what I was looking for, both online and offline. Has been a few years so don't remember anymore, but I once saw a talk on YouTube where the talker explicitly used Sinatra as example.
This is not to dissuade anyone of proposing against these points, just what my reasons were back then.
@Papierkorb all good reasons! Perhaps a table of contents at the top? Its great documentation so wanted to make sure its easily accessible and we can identify any places that need updating easily as well.
Ah sure, a TOC would be splendid
Added ToC to the README using a script from "github-markdown-toc" repository.
For TEMPLATE.yml, to suit everyone's preferences it looks like we'd need three versions of it:
1) Just the documentation, extracted into some standard documentation format (e.g. Markdown) 2) TEMPLATE.yml, unchanged, as it is currently 3) TEMPLATE.yml, containing only example config (no documentation, or at least not longer that 1-2 lines per section)
And again/also with the ToC added to the first one (or two) items from the list.
I am going to see how easy/convenient it would be to write a script that produces all this from ideally a single format (maybe from the current TEMPLATE.yml or similar).
(@kalinon if you had a preference/intention to work on this yourself, let me know of course.)
I changed the title to more reflect what we are thinking. @docelic you are good, it was more of a thought i had. I will use github-markdown-toc for some of my other projects tho!
I've tried converting the documentation from TEMPLATE.yml into Markdown. The results are good and I plan to add this as file CONFIGURATION.md
.
An example can be seen here: https://github.com/docelic/bindgen/blob/master/CONFIGURATION.md
At least for now I've given up on trying to automate this as I think these things will rarely change, and "normal", elaborate documentation is a necessity for any project.
(We can still keep all the comments in TEMPLATE.yml of course; these ideas are not in conflict.)
I like it!
On Thu, May 28, 2020 at 5:39 PM Davor Ocelic notifications@github.com wrote:
I've tried converting the documentation from TEMPLATE.yml into Markdown. The results are good and I plan to add this as file CONFIGURATION.md.
An example can be seen here: https://github.com/docelic/bindgen/blob/master/CONFIGURATION.md
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Papierkorb/bindgen/issues/55#issuecomment-635622576, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABK6J3CONUWEYAZIYITVHRDRT3KYZANCNFSM4NMLICFA .
--
Holden Omans
What the title says. There is a lot of great documentation all in the one README file. perhaps we can break it up into smaller sections and use the wiki?