Closed Eeems closed 3 years ago
I have always found https://brew.sh a concise but clear homepage documenting the basic use of this package manager. Especially the section "What Does Homebrew Do?" This could be some inspiration for more user-oriented documentation.
I have always found https://brew.sh a concise but clear homepage documenting the basic use of this package manager. Especially the section "What Does Homebrew Do?" This could be some inspiration for more user-oriented documentation.
I had thought about adding some kind of rendering markdown docs in a static site generator, but only have a little bit of experience in hugo and I'm not sure whether I can find the time. Maybe having a website-style site like brew (maybe in the style of our current repo-view) would be cool. More advanced topics could then just link to github again while giving most users everything they need.
Agreed. I propose we make a user-friendly homepage at https://toltec-dev.org (instead of redirecting it to the README) and save the developer-focused instructions for the repo README. Some topics for the homepage:
Some more advanced topics to save for the README only:
If anyone can think of other useful topics, please add them below!
do people prefer markdown + static site generator? (jekyll is pre-included with github, for example) or static HTML?
Markdown and a static site generator seems more maintainable: you can reuse/include parts of the docs in the repo then.
Writing HTML by hand can get tedious quickly, but since we’re starting with only one page it could be a reasonable option. I personally find that Markdown is a bit limiting and suffers from the lack of an official spec. I prefer alternatives like reStructuredText or AsciiDoc in that regards (supported by the Pelican static site generator or by Jekyll through plugins, for example).
i'm partial to jekyll + it's markdown since it's included with github. it's also easy to make a two column layout in it, for example:
That's actually not bad, really nice! In general I also prefer the power and semantic purity of reStructuredText, but for this purpose Markdown seems perfectly fine.
i'm trying it in rst too
That looks pretty cool indeed. Haven't played with this sw before but it seems really similar to remark. I've used that to make a simple presentation on the spot and it worked beautifully. Having a simple markdown or rst basis that can be juiced up with custom css is the great in my opinion.
doing it in rst isn't too bad either - i like that specifying css class comes before a section instead of after, but links are more awkward than in kramdown.
index.rst
toltec.css
build with rst2html --stylesheet-path=toltec.css index.rst > index.html
EDIT: put this code into a pull request: https://github.com/toltec-dev/toltec/pull/193
We've now heard from several users that the documentation we have for toltec doesn't make it easy to understand for end-users who are not technical what toltec even does.